RESTORE REWINDONLY (Transact-SQL)
Rewinds and closes specified tape devices that were left open by BACKUP or RESTORE statements executed with the NOREWIND option. This command is supported only for tape devices.
<backup_device> ::=
Specifies the logical or physical backup devices to use for the restore operation.
Note |
|---|
When restoring a backup from a mirrored media set, you can specify only a single mirror for each media family. In the presence of errors, however, having the other mirror(s) enables some restore problems to be resolved quickly. You can substitute a damaged media volume with the corresponding volume from another mirror. Note that for offline restores you can restore from fewer devices than media families, but each family is processed only once. |
WITH Options
RESTORE REWINDONLY is an alternative to RESTORE LABELONLY FROM TAPE = <name> WITH REWIND. You can get a list of opened tape drives from the sys.dm_io_backup_tapes dynamic management view.