|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Wednesday, May 15, 2013 6:52 AM
Points: 14,
Visits: 271
|
|
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..
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Thursday, May 16, 2013 3:21 AM
Points: 2,415,
Visits: 3,370
|
|
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.
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Wednesday, May 15, 2013 6:52 AM
Points: 14,
Visits: 271
|
|
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?
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Yesterday @ 2:33 PM
Points: 5,201,
Visits: 11,150
|
|
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"
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 4:15 PM
Points: 37,651,
Visits: 29,903
|
|
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
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Wednesday, May 15, 2013 6:52 AM
Points: 14,
Visits: 271
|
|
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
|
|
|
|