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

  • 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.

  • 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

  • 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