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

Mirroring Setup Expand / Collapse
Author
Message
Posted Tuesday, October 9, 2012 11:30 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Tuesday, May 20, 2014 12:19 AM
Points: 19, Visits: 334

I want to implement database mirroring, but can't afford downtime for a full backup, copy to mirror and restore....
I need to know if after I switch on mirroring if the mirror will "catch up" the 3 hours worth of data that came in on the principal while I did the initial restore on the mirror?

Sorry if I sound confusing. I hope someone that has done something similar can offer some advice..

Post #1370682
Posted Tuesday, October 9, 2012 11:52 PM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Thursday, July 17, 2014 6:40 AM
Points: 2,567, Visits: 3,799
I dont know the downtime you are taking about. You mean to say your mirror DB is using currently??

The data will catch up for sure.
Post #1370687
Posted Wednesday, October 10, 2012 12:31 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Tuesday, May 20, 2014 12:19 AM
Points: 19, Visits: 334
Thanks for the quick reply!

By downtime I meant must I stop all my insert adapters so that there is no activity on my principal for the time it takes me to do the restore on the mirror, and then start them again when I'm done with the restore and ready to start mirroring.

But I think it makes sense that I don't need to do that and that the data will just catch up?

Post #1370706
Posted Wednesday, October 10, 2012 1:14 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 11:27 PM
Points: 6,162, Visits: 13,303
You don't need any downtime for the full and log backup\restore from the principal to initialise the mirror.


Terence Keys (10/10/2012)
But I think it makes sense that I don't need to do that and that the data will just catch up?

Yes it will, although network connectivity may have a latent effect.


-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs"
Post #1370725
Posted Wednesday, October 10, 2012 1:40 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 1:14 AM
Points: 42,412, Visits: 35,479
Providing you've taken no log backups between the backups that got copied and the configuring of the mirror, yes it will catch up. If you have, all those log backups need to also be copied and restored on the mirror before you can start the mirroring.


Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1370740
Posted Wednesday, October 10, 2012 3:27 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Tuesday, May 20, 2014 12:19 AM
Points: 19, Visits: 334


Thanks for the help everyone.

I created a test db, backed it up restored it on the mirror while making changes on the principal and it caught up fine on the mirror after switching it on.

Going live tomorrow morning.. (holding thumbs.. )


Cheers
Post #1370787
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse