15. Implementing Log Shipping

FULL recovery model

Log monitor server plus backup share

sp_add_log_shipping_primary_database
sp_add_schedule
sp_attach_schedule
sp_update_job

sp_add_log_shipping_primary_secondary

sp_add_log_shipping_secondary_primary
sp_add_schedule --copy
sp_attach_schedule
sp_add_schedule --restore
sp_attach_schedule
sp_update_job /* to enable both copy and restore jobs */
sp_add_log_shipping_secondary_database
sp_process log shipping monitor secondary

Failover:

Switch roles

sp_change_log_shipping_secondary_database
sp_change_log_shipping_primary_database
sp_help_log_shipping_monitor

Log STANDBY uncommitted transaction on Transaction Undo File