October 9, 2012 at 11:30 pm
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..
October 9, 2012 at 11:52 pm
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.
October 10, 2012 at 12:31 am
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?
October 10, 2012 at 1:14 am
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" 😉
October 10, 2012 at 1:40 am
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, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
October 10, 2012 at 3:27 am
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
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply