To restore the master database
Important The system administrator restoring the database backup must be the only person currently using the database to be restored.
This example restores the master database backup from tape without using a permanent (named) backup device.
USE master
GO
RESTORE DATABASE master
FROM TAPE = '\\.\Tape0'
GO
RESTORE | Restoring the master Database from a Current Backup |
How to start SQL Server in single-user mode (Command Prompt) |