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 2000 Forums
 SQL Server Administration (2000)
 Truncate Log from Log shipping Primary

Author  Topic 

sandesh_moghe
Constraint Violating Yak Guru

310 Posts

Posted - 2004-04-10 : 16:53:12
Hi,
Can we truncate/shrink log of log shipping primary database?

Thanks in advance.

---------------------------
Sandesh - The Messanger

nr
SQLTeam MVY

12543 Posts

Posted - 2004-04-10 : 17:07:23
You can't truncate the log without breaking the log shipping.
You need to have the log backups available for the shipping. A truncate will remove the data.
Don't think you can even do it in full recovery mode.

Shrinking the log file should be OK though as this will leave any active entries.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -