Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Database Mirroring - Database Backups after Mirroring is establised Expand / Collapse
Author
Message
Posted Thursday, January 17, 2008 6:54 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, May 10, 2012 4:42 PM
Points: 13, Visits: 80
Just wondering, after configuring a High Protection database mirror between a principal and mirrored server, is it possible to perform full backups of the database on the Principal server or will that interfere with the mirroring process ie. the transaction log backup numbers will be out of synch.

I raise this question in case of the scenario that both the principal and mirrored servers were to suffer a hardware issue that required a rebuild of both. How do you restore the backup of your database on a new server if you couldn't use a backup file of the database.

So if you wanted to perform a weekly full backup of the database, would you need to pause mirroring on the principal, backup the database/log and restore to the mirror server before resuming mirroring between the two servers to make sure both the database and mirror are completely in synch?



Post #444688
Posted Thursday, January 17, 2008 8:01 PM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Tuesday, May 07, 2013 11:02 AM
Points: 1,073, Visits: 6,321
Yes, it's possible. In fact it's no less important to perform backups the same as if mirroring weren't enabled since the database is in the FULL recovery model. No changes have to be made to perform the backups.

Mirroring doesn't change the LSN's either. It only looks at them to make sure the principal and mirror are in synch.

I haven't tried this but I understand you can even mix a log shipping configuration with mirroring if you wanted a standby server in addition to the mirror/principal.

Have a look at this article for more detail:http://www.microsoft.com/technet/prodtechnol/sql/2005/dbmirror.mspx
Post #444703
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse