Add a secondary database
テ Summarize this article for me This article describes how to add a secondary database to an existing log shipping configuration in SQL Server by using SQL Server Managemen
テ
This article describes how to add a secondary database to an existing log shipping
configuration in SQL Server by using SQL Server Management Studio or Transact-SQL.
- Right-click the database you want to use as your primary database in the log shipping
configuration, and then select.
- Under
, select.
- Under
, select.
- Select
and connect to the instance of SQL Server that you want to use as your
secondary server.
- In the
box, choose a database from the list or type the name of the
database you want to create.
- On the
tab, choose the option that you want to use to
initialize the secondary database.
- On the
, in the
box, type the path of the
folder into which the transaction logs backups should be copied. This folder is often
located on the secondary server.
- Note the copy schedule listed in the
box under. If you want to
customize the schedule for your installation, select
and then adjust the SQL
Server Agent schedule as needed. This schedule should approximate the backup
schedule.
- On the
tab, under
, choose the
or
option.
- If you chose the
option, choose if you want to disconnect users from the
secondary database while the restore operation is underway.