Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Backup and shrink Trans Logs??

Author  Topic 

patshaw
Posting Yak Master

177 Posts

Posted - 2008-05-30 : 12:57:11
Hi,

I am in the process of migrating databases from a SQL Server 2000 server to a 2005 server.

I have taken full backups and restored without recovery on the 2005 server. I now need to take transaction log backups and restore with recovery tonight to complete the operation. My question is this:

Some of the transaction logs have grown very large. Is it safe practice to perform a backup tran with truncate only and then run dbcc shrinkfile to reduce the size before I back up? This would make the process much quicker.

Thanks.

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-05-30 : 15:47:41
If you do that, you are breaking log chain.
Go to Top of Page
   

- Advertisement -