Remove
テ Summarize this article for me This article describes how to remove log shipping in SQL Server by using SQL Server Management Studio or Transact-SQL. 1.
テ
This article describes how to remove log shipping in SQL Server by using SQL Server
Management Studio or Transact-SQL.
- Connect to the instance of SQL Server that is currently the log shipping primary server,
and expand that instance.
- Expand
, right-click the log shipping primary database, and then select.
- Under
, select.
- Clear the
check box.
- Select
to remove log shipping from this primary database.
- On the log shipping primary server, execute
sp_delete_log_shipping_primary_secondary
to delete the information about the secondary database from the primary server.
- On the log shipping secondary server, execute
sp_delete_log_shipping_secondary_database
to delete the secondary database.
- On the log shipping primary server, execute
to
delete information about the log shipping configuration from the primary server. This
also deletes the backup job.
7
Note
If there are no other secondary databases with the same secondary ID,
is invoked from
and deletes the entry for the secondary
ID and the copy and restore jobs.
sp_delete_log_shipping_primary_database sp_delete_log_shipping_secondary_primary sp_delete_log_shipping_secondary_database