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

Enable back Database Mirroring Expand / Collapse
Author
Message
Posted Monday, April 8, 2013 10:34 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, October 29, 2013 2:17 AM
Points: 8, Visits: 41
Hi Everyone,

I Have disabled database mirroring on principal server using below command for restoring database over a mirrored database because it was not allowing me to restore.

ALTER DATABASE AdventureWorks2012 SET PARTNER OFF;

after executing above command i was able to restore the database , now i want to enable back database mirroring
can some please help me with the steps.

Thank you in advance for looking into my post.
Post #1440139
Posted Tuesday, April 9, 2013 5:51 AM


Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Wednesday, April 16, 2014 5:44 AM
Points: 66, Visits: 437
You need to restore the princple database and log to the mirror db to get them back in sync(with noecovery). You can then re-establish the mirror session.
Post #1440280
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse