SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Mirroring Setup


Mirroring Setup

Author
Message
Terence Keys
Terence Keys
SSC Veteran
SSC Veteran (203 reputation)SSC Veteran (203 reputation)SSC Veteran (203 reputation)SSC Veteran (203 reputation)SSC Veteran (203 reputation)SSC Veteran (203 reputation)SSC Veteran (203 reputation)SSC Veteran (203 reputation)

Group: General Forum Members
Points: 203 Visits: 573
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..
VastSQL
VastSQL
SSCrazy Eights
SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)

Group: General Forum Members
Points: 9702 Visits: 5308
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.
Terence Keys
Terence Keys
SSC Veteran
SSC Veteran (203 reputation)SSC Veteran (203 reputation)SSC Veteran (203 reputation)SSC Veteran (203 reputation)SSC Veteran (203 reputation)SSC Veteran (203 reputation)SSC Veteran (203 reputation)SSC Veteran (203 reputation)

Group: General Forum Members
Points: 203 Visits: 573
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?
Perry Whittle
Perry Whittle
SSC Guru
SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)

Group: General Forum Members
Points: 54971 Visits: 17694
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" ;-)
GilaMonster
GilaMonster
SSC Guru
SSC Guru (228K reputation)SSC Guru (228K reputation)SSC Guru (228K reputation)SSC Guru (228K reputation)SSC Guru (228K reputation)SSC Guru (228K reputation)SSC Guru (228K reputation)SSC Guru (228K reputation)

Group: General Forum Members
Points: 228127 Visits: 46339
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

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


Terence Keys
Terence Keys
SSC Veteran
SSC Veteran (203 reputation)SSC Veteran (203 reputation)SSC Veteran (203 reputation)SSC Veteran (203 reputation)SSC Veteran (203 reputation)SSC Veteran (203 reputation)SSC Veteran (203 reputation)SSC Veteran (203 reputation)

Group: General Forum Members
Points: 203 Visits: 573
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
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search