SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Need to disable log shipping but secondary server is not physically exists.


Need to disable log shipping but secondary server is not physically exists.

Author
Message
Sagar Akhare
Sagar Akhare
Forum Newbie
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: General Forum Members
Points: 4 Visits: 20
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.
MysteryJimbo
MysteryJimbo
SSCrazy
SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)

Group: General Forum Members
Points: 2299 Visits: 15346
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
Perry Whittle
Perry Whittle
SSC-Insane
SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)

Group: General Forum Members
Points: 21015 Visits: 17246
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" ;-)
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search