방법: 중단된 복원 작업 다시 시작(Transact-SQL)

이 항목에서는 인터럽트된 복원 작업을 다시 시작하는 방법에 대해 설명합니다.

중단된 복원 작업을 다시 시작하려면

  • 인터럽트된 RESTORE 문을 다시 실행합니다. 이때 다음을 지정합니다.

    • 원래 RESTORE 문에 사용한 것과 동일한 절

    • RESTART 절

다음은 중단된 복원 작업을 다시 시작하는 예제입니다.

-- Restore a full database backup of the AdventureWorks2008R2 database.
RESTORE DATABASE AdventureWorks2008R2
   FROM DISK = 'C:\AdventureWorks2008R2.bck'
GO
-- The restore operation halted prematurely.
-- Repeat the original RESTORE statement specifying WITH RESTART.
RESTORE DATABASE AdventureWorks2008R2 
   FROM DISK = 'C:\AdventureWorks2008R2.bck'
   WITH RESTART
GO