2013-03-14 2 views
1

파일 스트림이있는 SQL Server 2008 데이터베이스가 있습니다. 나는 데이터베이스를 백업하고 때SQL Server 2012 복원 제외 파일 스트림

http://social.msdn.microsoft.com/Forums/en-US/sqldisasterrecovery/thread/bcd5dddf-5a66-42a9-acf4-a63136f3658a

이 작동 :

나는 파일 스트림을 제외하고 나는이 연구되고 발견 2012 년

SQL Server의 데이터베이스를 복원 백업이 데이터베이스를 필요 파일 스트림없이 URL의 지침에 따라 SQL Server 2008로 복원 할 수 있습니다. 그러나

, 나는 2012 년에 복원 스크립트를 실행하면, 다음과 같은 오류를 얻을 :

Msg 3634, Level 16, State 1, Line 3 
The operating system returned the error '3(The system cannot find the path specified.)' while attempting 'FindFirstFile' on X 

Msg 5520, Level 16, State 1, Line 3 
Upgrade of FILESTREAM container ID 65537 in the database ID 10 failed because of container size recalculation error. Examine the previous errorlog entries for errors, and take the appropriate corrective actions. 

Msg 5056, Level 16, State 6, Line 3 
Cannot add, remove, or modify a file in filegroup 'FileStreamFileGroup' because the filegroup is not online. 
Msg 3013, Level 16, State 1, Line 3 
RESTORE DATABASE is terminating abnormally. 

내가 그것을 2012 년

-2008에서 데이터베이스를 업그레이드 SQL 함께 할 수있는 뭔가가 생각을 어떤 아이디어? 어떤 도움이라도 대단히 감사 할 것입니다.

답변

1

동일한 문제가 있으며 Smo 라이브러리를 사용하여 백업 및 복원 방법을 다시 작성하여 해결했습니다.

예 : 그런데
Backup Example
Restore Example

나는 다음과 같은 경우 부분 백업을 수행하거나 복원하고 있습니다.

if (partial) 
    { 
    sqlRestore.Partial = true; 
    sqlRestore.ContinueAfterError = true; 
    } 

이 정보가 도움이되기를 바랍니다.

~ 바삼