Expand Minimize
4 out of 5 rated this helpful - Rate this topic

How to: Resume a Database Mirroring Session (Transact-SQL)

SQL Server 2005

At any time, the database owner can resume a suspended database mirroring session.

ms191125.note(en-US,SQL.90).gifImportant:
Following a forced service, when the original principal server reconnects mirroring is suspended. Resuming mirroring in this situation could possibly cause data loss on the original principal server. For information about managing the potential data loss, see Forced Service (with Possible Data Loss).

  1. Connect to either partner.

  2. Issue the following Transact-SQL statement:

    ALTER DATABASE <database_name> SET PARTNER RESUME

    where <database_name> is the mirrored database whose session you want to resume.

    ms191125.note(en-US,SQL.90).gifNote:
    Resuming database mirroring places the mirror database in the SYNCHRONIZING state. If the safety level is FULL, the mirror catches up with the principal and the mirror database enters the SYNCHRONIZED state. At this point, failover becomes possible. If the witness is present and ON, automatic failover is possible. In the absence of a witness, manual failover is possible.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.