장애 상황별로 복구 시나리오를 작성하려고 하는데요..
장애상황은 master 파일을 삭제한 경우입니다.
실제로 sql server을 종료하고 master 파일 삭제한 후 단일 사용자 모드로 sql sever 시작하였는데 다음과 오류가 발생합니다.
2016-10-04 10:21:41.23 Server Error: 17113, Severity: 16, State: 1.
2016-10-04 10:21:41.23 Server Error 2(The system cannot find the file specified.) occurred while opening file 'C:\Program Files (x86)\Microsoft SQL Server Second\MSSQL12.RECOVERY_TEST\MSSQL\DATA\master.mdf' to obtain configuration information at startup. An invalid startup option might have caused the error. Verify your startup options, and correct or remove them if necessary.
2016-10-04 10:21:41.23 Server SQL Server shutdown has been initiated
참고로 단일자 사용자 모드 실행 시 다음과 같은 명령어를 사용했습니다.
1번 방법으로 안돼서 2번 방법으로도 시도 해 봤는데 동일한 오류가 발생하네요...
1. net start MSSQL$RECOVERY_TEST /m
2. sqlservr.exe -m -sRECOVERY_TEST
그럼 조언 부탁드립니다.
감사합니다.