Chapter 18

SQL Server 2012 Log Shipping


  • Overview of Log Shipping
  • Practical Usage Scenarios
  • Log Shipping Architecture
  • Log Shipping Deployment
  • Role Changing within Log Shipping
  • Monitoring and Troubleshooting

Log shipping is a low-cost, efficient, and simple SQL Server technique that became available many releases ago and has been vital to organizations for their business continuity. In log shipping, the database transaction log from one SQL Server is backed up and restored onto a secondary SQL Server, where it is often deployed for high-availability, reporting, and disaster-recovery scenarios. Beginning with SQL Server 2005, log shipping delivers business continuity and is one of the high-availability solutions to maintain a warm standby and, with a secondary server, used for failover.

This chapter covers log-shipping architecture and deployment scenarios and discusses how to configure log shipping and the various scenarios for switching roles between the primary and secondary servers. You also learn how to troubleshoot your log-shipping setup and how to integrate log shipping with other high-availability solutions.


SQL Server 2008 Enterprise Edition only supports backup compression. Since SQL Server 2008 R2 both Standard Edition and Enterprise Edition support backup compression.


Log shipping takes advantage of the transaction-log ...

Get Professional Microsoft SQL Server 2012 Administration now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.