SQL Mirroring w/o witness: Principal server is not accesible. what's next?

  • If the principal server failed and totally not accessible I would like the mirror to be accesible and not in restoring mode.

    How can I do that??? any comment is appreciated.

    thanks!:)

  • USE MASTER

    GO

    RESTORE DATABASE MYDB

    WITH RECOVERY

  • Thank you!

    I found out I have to stop the mirroring 1st.

    Use master

    -- Stop mirroring

    ALTER DATABASE [Database]

    SET PARTNER off

    -- Set to recovery

    Restore Database DBMirror

    with recovery

  • I found out I have to stop the mirroring 1st.

    Use master

    -- Stop mirroring

    ALTER DATABASE [Database]

    SET PARTNER off

    Good to know that!

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply