Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
456 views
in Technique[技术] by (71.8m points)

sql server 2008 - Any other solutions for SQL's "The media set has 2 media families but only 1 are provided. All members must be provided." error?

I am trying to restore a 200mb database into SQL 2008 and I am getting this error "The media set has 2 media families but only 1 are provided. All members must be provided.". I did some research and found out that this happens when two destination files was specified during the backup process. I obviously didn't specify two file destinations while I was backing up, but I am not sure with that coz most people say this happens by accident (facepalm). I did some more googling for possible solutions but all were pointing out that the only solution is to redo the backup process or find the other file, which are both not possible in my situation because the server has already been shutdown and I have already deleted all my files from that server (who knew my .bak file would fail?). But I really need to restore the database in my local machine for some data that we need for the remaining transactions that we have in our site before we shut it down.

Anyone?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Codeguy007 is pretty much correct. This error occurs if you specify two different backup locations in your INITIAL backup and then attempt to restore from only one of the two backup files that are created during the backup process. If your server is already down and wiped then you are hosed. But for future reference, you need to:

  1. Begin the backup wizard process
  2. Ensure that only one backup location is specified
  3. On the options page, click on 'Back up to a new media set...' and specify a new name and description

All future restores from this location should work just fine.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...