Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

deleting log history tables for log shipping

Status
Not open for further replies.
Jun 27, 2001
837
US
I am running log shipping to 2 different servers. Server A is my primary, Server B is a failover and the monitoring server, and Server C is my second failover at a remote site. I run the following script to keep the log history table from becoming bloated

declare @date datetime
set @date = dateadd(day,-30 ,convert(datetime,convert(char(10),getdate(),101)))
exec sp_delete_backuphistory @date

I run this on the primary server, should I also run it on the failover servers?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top