Jump to content

Log shipping

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by OverlordQ (talk | contribs) at 09:35, 11 March 2009 (Reverted edits by 130.214.64.6 to last revision by XLinkBot (HG)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.


Log shipping is the process of automating the backup of database and transaction log files on a production SQL server, and then restoring them onto a standby server[1]. Similar to replication [2], the primary purpose of log shipping is to increase availability of the production server by maintaining a backup server that can be failed-over to quickly. This failover however is a manual process.

Although the actual failover mechanism in log shipping is manual, businesses often choose this implementation due to its low cost in human and server resources, and ease of implementation. As comparison, using SQL server clusters enables automatic failover but is expensive to implement due to server and license costs. Compared to replication, log shipping does not provide as much reporting capabilities but is much more suitable for failover due to the fact that log shipping also backs up system tables, and the standby server is locked from editing by users in general.[2] A replicated server, on the other hand, can be modified (e.g. views) and therefore not suitable for failover purposes.

References

  1. ^ How to Perform SQL Server Log Shipping, "What is Log Shipping". Retrieved on 2008-12-16.
  2. ^ a b Log Shipping vs. Replication Retrieved on 2008-12-16.