sql server restoring back up error

断了今生、忘了曾经 提交于 2019-11-29 10:33:15

问题


I have backed up a database I had created on an other machine running SQL server 2012 express edition and I wanted to restore it on my machine, which is running the same. I have ticked the checkbox overwriting existing one, and got this error:

Backup mediaset is not complete. Files: D:\question.bak. Family count:2. Missing family sequence number:1   

回答1:


This happens if, when you made the backup, you had multiple files listed in the backup destination textbox. Go back to your source server and create the backup again; this time, make sure there's only one destination file listed.

If you had more than one file listed as the backup destination, the backup is striped across them; you'll need all the files to perform the restore.

You can verify this by performing a RESTORE LABELONLY against the single file you copied to your destination server.




回答2:


Sandra Walter's Answer provides an accurate description of what has happened, but I found the answer a bit lacking.

To make a backup which isn't striped (which is what has occurred in this situation), go back to the window where you setup the backup of your database. At the bottom is a list of paths where the different stripes will go to.

Go to each of the listed paths and delete the stripe of the backup.

Then remove all but one of the paths from the list in the window. And click the "OK" button. Your unstriped backup will be created at that one path.

Hope that helps.




回答3:


My backup was scheduled on two different locations. once I selected both options during restoration its worked for me.



来源:https://stackoverflow.com/questions/15889197/sql-server-restoring-back-up-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!