MSSQL Restore

Restore

ALTER DATABASE YourDatabase SET SINGLE_USER WITH ROLLBACK IMMEDIATE

In SSMS...

Restore from multiple file backup

RESTORE DATABASE myDatabase

FROM DISK=N'G:\SQL Backups\myDatabase\myDatabase_Full_1.bak',

     DISK=N'H:\SQL Backups\myDatabase\myDatabase_Full_2.bak',

     DISK=N'I:\SQL Backups\myDatabase\myDatabase_Full_3.bak',

     DISK=N'J:\SQL Backups\myDatabase\myDatabase_Full_4.bak'

WITH NORECOVERY;


RESTORE DATABASE myDatabase

WITH RECOVERY;

Restore AdventureWorks

Assumes the AdventureWorks backup has been transferred to the backup location on your server.

SQL2012 - Restore AdventureWorks to empty instance...

Check Files and Options are correct before pressing OK (but defaults should be fine)
Defaults should be fine
Defaults should be fine

Bibliography