December 16, 2013 at 12:14 am
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.
December 16, 2013 at 2:48 am
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
December 16, 2013 at 7:22 am
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" 😉
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply