Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4689

SQL Server 2012 restore excluding filestream

$
0
0

I have a SQL Server 2008 database which has filestream.

I need to backup this database excluding filestream and restore the database on SQL Server 2012.

I use file group = 'primary' in my backup script.

This works when I am backing up the database without filestream and restoring on to SQL Server 2008, as per instructions of the URL.

However, when I run the scripts to restore to 2012, i get the following errors:

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 65537in 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 filein filegroup 'FileStreamFileGroup' because the filegroup isnot online.
Msg 3013, Level 16, State 1, Line 3RESTOREDATABASEis terminating abnormally.

I think it has something to do with SQL upgrading the database from 2008 to 2012.

Any ideas? Any help would be much appreciated.


Viewing all articles
Browse latest Browse all 4689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>