本主题介绍如何重启中断的还原操作。
重启中断的还原操作
再次执行中断的 RESTORE 语句,并指定:
在原始 RESTORE 语句中使用的相同条款。
RESTART 子句。
示例:
此示例重启中断的还原作。
-- 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