Home Forums SQL Server 2005 Backups SQL server 2005 Backup & restoration size RE: SQL server 2005 Backup & restoration size

  • pankushmehta (8/31/2010)


    pankushmehta (8/31/2010)


    If your database is in full recovery mode, you can backup the Transaction log and then shrink the file.

    If your database is in simple recovery mode, you can just shrink the log file.

    However, also keep track of the size of the transaction log file initial size value. if this is set to too high, you will not be able to shrink your file below this size. you should reduce this limit first.

    I agree, however the question posted was

    My question is , There is no more space in the server and If I create same db with another name its occupying same size what i have mentioned above. How to reduce tran. log file to solve this issue ?

    I think Wayne has hit the answer. You're in full recovery and you're not running log backups. I'd fix that first. Then, you can shrink the log file to a more appropriate size, take a backup and then restore.

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning