Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Need to disable log shipping but secondary server is not physically exists. Expand / Collapse
Author
Message
Posted Monday, December 16, 2013 12:14 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, January 13, 2014 3:25 AM
Points: 4, Visits: 18
Hi All,

I want to disable the log shipping in SQL Server 2005, but in my case secondary server is no more exists, when I am going to disable log shipping from primary server it gives error as unable to connect to secondary server.
So it is possible to disable log shipping without secondary server.
Post #1523100
Posted Monday, December 16, 2013 2:48 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Yesterday @ 7:33 AM
Points: 1,361, Visits: 15,264
The SSMS route will fail when connecting to the remote server. I would look at using TSQL as this is controllable and you can pick the required steps for the primary server.

Microsofts answer
http://technet.microsoft.com/en-us/library/ms189071.aspx

Google search and Blog answer (I could find detail on the author).
http://auoracle.blogspot.ie/2009/11/manually-remove-log-shipping-using-t.html

Post #1523130
Posted Monday, December 16, 2013 7:22 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 4:09 PM
Points: 6,163, Visits: 13,306
Sagar Akhare (12/16/2013)
Hi All,

I want to disable the log shipping in SQL Server 2005, but in my case secondary server is no more exists, when I am going to disable log shipping from primary server it gives error as unable to connect to secondary server.
So it is possible to disable log shipping without secondary server.

Use the following against the primary server

USE Master
exec sp_delete_log_shipping_primary_secondary
@primary_database = 'primary_database',
@secondary_server = 'secondary_server',
@secondary_database = 'secondary_database'


exec sp_delete_log_shipping_primary_database
@database = 'database'






-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs"
Post #1523214
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse