| title | Restart an Interrupted Restore Operation (Transact-SQL) | Microsoft Docs | ||||||
|---|---|---|---|---|---|---|---|
| ms.custom | |||||||
| ms.date | 03/06/2017 | ||||||
| ms.prod | sql-server-2016 | ||||||
| ms.reviewer | |||||||
| ms.suite | |||||||
| ms.technology |
|
||||||
| ms.tgt_pltfrm | |||||||
| ms.topic | article | ||||||
| helpviewer_keywords |
|
||||||
| ms.assetid | 6413a07d-fd90-448d-8f29-12c5a1972618 | ||||||
| caps.latest.revision | 24 | ||||||
| author | JennieHubbard | ||||||
| ms.author | jhubbard | ||||||
| manager | jhubbard |
This topic explains how to restart an interrupted restore operation.
-
Execute the interrupted RESTORE statement again, specifying:
-
The same clauses used in the original RESTORE statement.
-
The RESTART clause.
-
This example restarts an interrupted restore operation.
-- Restore a full database backup of the AdventureWorks database.
RESTORE DATABASE AdventureWorks
FROM DISK = 'C:\AdventureWorks.bck'
GO
-- The restore operation halted prematurely.
-- Repeat the original RESTORE statement specifying WITH RESTART.
RESTORE DATABASE AdventureWorks
FROM DISK = 'C:\AdventureWorks.bck'
WITH RESTART
GO Complete Database Restores (Full Recovery Model)
Complete Database Restores (Simple Recovery Model)
RESTORE (Transact-SQL)