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
 General SQL Server Forums
 New to SQL Server Administration
 How to delete Applied logs at BCP- log shipping

Author  Topic 

sunsanvin
Master Smack Fu Yak Hacker

1274 Posts

Posted - 2010-09-16 : 04:14:14
Hi Experts,
there is a space constraint in my BCp server. i want to delete the log backups soon after restore at secondary server. can someone provide me a good script for this.

Thanks in Advance

Arnav
Even you learn 1%, Learn it with 100% confidence.

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2010-09-16 : 12:28:13
See my blog for the backup stored procedure, and then grab the delete code from it.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -