Export (0) Print
Expand All

Resume a Database Mirroring Session (Transact-SQL)

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

Important note Important

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 (Database Mirroring).

To resume a database mirroring session

  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.

    Note Note

    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.

Show:
© 2014 Microsoft