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.
Temporarily pauses software mirroring for the SQL Server device. Often this is useful when large nonlogged operations are occurring against the database and when a database backup (using the DUMP statement) will be performed after the nonlogged operations are completed.
DISK UNMIRROR
NAME = 'logical_name'
[, SIDE = {PRIMARY | SECONDARY}]
[, MODE = {RETAIN | REMOVE}]
where
RETAIN is the default. RETAIN mimics what happens when failover is activated automatically. Failover occurs when the other device of the mirrored pair takes over. Set RETAIN when you plan to remirror the database device later in the same configuration.
If set to REMOVE, the following conditions are true:
Note REMOVE does not remove an operating-system file that had been used as a mirror device.
DISK UNMIRROR permission defaults to the system administrator and is not transferable.