
Explanation/Reference:
Explanation:
Note: Before you configure log shipping, you must create a share to make the transaction log backups
available to the secondary server.
SQL Server Log shipping allows you to automatically send transaction log backups from a primary
database on a primary server instance to one or more secondary databases on separate secondary server
instances. The transaction log backups are applied to each of the secondary databases individually. An
optional third server instance, known as the monitor server, records the history and status of backup and
restore operations and, optionally, raises alerts if these operations fail to occur as scheduled.
Box 1: Primary server instance.
The primary server instance runs the backup job to back up the transaction log on the primary database.
backup job: A SQL Server Agent job that performs the backup operation, logs history to the local server
and the monitor server, and deletes old backup files and history information. When log shipping is enabled,
the job category "Log Shipping Backup" is created on the primary server instance.
Box 2: Secondary server instance
Each of the three secondary server instances runs its own copy job to copy the primary log-backup file to
its own local destination folder.
copy job: A SQL Server Agent job that copies the backup files from the primary server to a configurable
destination on the secondary server and logs history on the secondary server and the monitor server.
When log shipping is enabled on a database, the job category "Log Shipping Copy" is created on each
secondary server in a log shipping configuration.
Box 3: Secondary server instance.
Each secondary server instance runs its own restore job to restore the log backup from the local
destination folder onto the local secondary database.
restore job: A SQL Server Agent job that restores the copied backup files to the secondary databases. It
logs history on the local server and the monitor server, and deletes old files and old history information.
When log shipping is enabled on a database, the job category "Log Shipping Restore" is created on the
secondary server instance.
References:https://docs.microsoft.com/en-us/sql/database-engine/log-shipping/about-log-shipping-sql-
server