다음을 통해 공유


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

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

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

  1. 인터럽트된 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  

참고 항목

전체 데이터베이스 복원(전체 복구 모델)
전체 데이터베이스 복원(단순 복구 모델)
RESTORE(Transact-SQL)