Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Open source or low cost "log shipping" program

I have written a log shipping program a number of times. It is a simple program that is used to maintain a warm fail over box for SQL Server.

It has two pieces. On the live dB server it:

  • Does full and transaction backups and removes old files

On the backup server it:

  • Copies the backups from the live box
  • Restores the backups or trans into databases that are set to recovery
  • zips the backups
  • deletes them based on retention

If there is a failure, the program can go through each database on the backup server and set them to active.

I am looking for an open source or low cost program that does this.

like image 212
Peter Avatar asked Sep 08 '08 14:09

Peter


People also ask

What is difference between log shipping and mirroring?

Log Shipping::It provides a warm standby solution that has multiple copies of a database and require a manual failover. Mirroring::When a database mirroring session is synchronized, database mirroring provides a hot standby server that supports rapid failover without a loss of data from committed transactions.

What is the disadvantage of using log shipping between servers?

Some of the problems with log shipping include: + Log shipping failover is not automatic. The DBA must still manually failover the server, which means the DBA must be present when the failover occurs. + The users will experience some downtime.

Does Azure SQL managed instance support log shipping?

No, log shipping to Managed Instance is not possible; it only supports the restore of full backups.


1 Answers

MS SQL server 2005 and 2008 already support this.

http://technet.microsoft.com/en-us/library/ms188698.aspx

http://technet.microsoft.com/en-us/library/ms188698(SQL.90).aspx

like image 61
Tony BenBrahim Avatar answered Sep 22 '22 07:09

Tony BenBrahim