Note In the future, support for SQL Server device mirroring may be discontinued. It is recommended that you use either the mirroring functionality of the Microsoft Windows NT operating system, or hardware-based mirroring if your hardware supports it. For more information about Windows NT mirroring, see the Microsoft Windows NT operating system documentation in the What's New for SQL Server 6.5.
Resumes software mirroring for the SQL Server device.
DISK REMIRROR
NAME = 'logical_name'
where
When a mirrored device is remirrored, it begins by copying all pages from the source device to the mirror device. For large devices, this may take quite some time to complete.
DISK REMIRROR permission defaults to the system administrator and is not transferable.
This example creates a software mirror for the database device DEVICE8.
In this example, the mirror is written to a file on different logical drive (for better data recoverability, this should also be a separate physical drive).
DISK MIRROR NAME = 'DEVICE8', MIRROR = 'g:\sqlimage\device8.mir'
This example suspends software mirroring for DEVICE8.
DISK UNMIRROR NAME = 'DEVICE8'
This example resumes software mirroring for DEVICE8.
DISK REMIRROR NAME = 'DEVICE8'
CREATE DATABASE | sp_helpdevice |
DISK INIT | sqlservr command-line Executable |