How to Pause a SQL Server Database Mirroring Session

Transact-SQL:
To pause a SQL Server database mirroring session, and to place the database in a SUSPENDED state using T-SQL, run this code from either database mirroring partner:

database_suspend_pause_mirroring

ALTER DATABASE [Database_Name] SET PARTNER SUSPEND

This will pause database mirroring and place the database in a SUSPENDED state:

database_suspended_pause_mirroring

SQL Server Management Studio:
To pause a SQL Server database mirroring session, and to place the database in a SUSPENDED state from SQL Server Management Studio:

Connect to the principal server instance -> Right-click the database -> select Tasks -> click Mirror:

database_tasks_mirror

Click 'Pause':

database_suspended_pause_mirroring_ssms

Click 'Yes' to confirm:

database_suspended_pause_mirroring_ssms_confirm

If the post helped you, please share it:
Pin It

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">