SQL Server Performance Forum – Threads Archive
Restore Database Terminating
Hi Guys,I’m trying to restore a database copy in my environment.
It gives an error: The media set for database ‘devdaily’ has 2 family members but only 1 are provided. All members must be provided.
RESTORE DATABSE is terminating abnormally. What is going wrong here [xx(]
Run RESTORE FILELISTONLY to see the files during backup. Satya SKJ
Moderator
http://www.SQL-Server-Performance.Com/forum
This posting is provided “AS IS†with no rights for the sake of knowledge sharing.
Your back up spanned two tapes (or other media). You need both to restore the data.
This was discussed in
http://www.sql-server-performance.com/forum/topic.asp?TOPIC_ID=10477 —————————————-
Cast your vote
http://www.geocities.com/dineshasanka/sqlserver05.html http://spaces.msn.com/members/dineshasanka
Hi,
I’m using EM to restore the backup.
It is just one file.
What is the syntax example to use as BOL is mentioning many parameters.
The backup i took on USB HDD and copied to server’s local HDD and now that USB disk is not connected.
Is it something to do with that.
Please give some example to use restore options as i’m not used to this.
I’m using EM but with ur help can swith to QA.
hi, i ran this
RESTORE filelistonly
from disk=’f:dev3_daily’
and gives resultset with two rows. one mdf and one ldf file details.
What next guys.
How to use restore with replace statement.
Try
RESTORE DATABASE [DBName ] FROM DISK = N’\servernamepathdbname.BAK’ WITH FILE = 1, NOUNLOAD ,
STATS = 10, RECOVERY , REPLACE , MOVE N’DB_Datafile_Data’ TO N’\servernamepathdbname_data.NDF’
Satya SKJ
Moderator
http://www.SQL-Server-Performance.Com/forum
This posting is provided “AS IS†with no rights for the sake of knowledge sharing.
Hi, EXEC sp_addumpdevice ‘disk’, ‘mydiskdump’, ‘f:dev3_daily’ RESTORE DATABASE yourdb
FROM Mydiskdump
replace Or RESTORE DATABASE yourDB
FROM DISK = ‘f:dev3_daily’
WITH MOVE ‘yrdb’ TO ‘x:databasesyrdbnameyrdb.mdf’,
MOVE ‘yrdb_log’ TO ‘x:databasesyrdbnameyrdb.ldf’
Hemantgiri S. Goswami
[email protected]
"Humans don’t have Caliber to PASS TIME , Time it self Pass or Fail Humans" – by Hemantgiri Goswami
Hi Satya & Hemant,
I tried both solutions but still gives that same error.
Hi,
would you post the error message ! Regards
Hemantgiri S. Goswami
[email protected]
"Humans don’t have Caliber to PASS TIME , Time it self Pass or Fail Humans" – by Hemantgiri Goswami
If you’re having problems because you believe the drive is different, use subst to allow the local disk to be called using a different drive letter. I.e. you have local disks C and D, and backed up to a removable disk E. You have copied the backup file to D. 1 subst E: D:
2 do your work 3 subst E: /D
quote:Originally posted by ghemant
Hi,
would you post the error message ! Regards
Hemantgiri S. Goswami
[email protected]
"Humans don’t have Caliber to PASS TIME , Time it self Pass or Fail Humans" – by Hemantgiri Goswami
would you post the error message ! Regards
Hemantgiri S. Goswami
[email protected]
"Humans don’t have Caliber to PASS TIME , Time it self Pass or Fail Humans" – by Hemantgiri Goswami
Hi Hemant I’ve posted the error in my first post. The media set for database ‘devdaily’ has 2 family members but only 1 are provided. All members must be provided.
RESTORE DATABSE is terminating abnormally
and ill try mulhall ur advice.
Hi,
when i run
RESTORE filelistonly
from disk=’f:dev3_daily’
i get LogicalName PhysicalName Type FileGroupName Size MaxSize
uat_nv_daily d

uat_nv_daily_LOG d

from disk=’f:dev3_daily’
i get this output.
MediaName MediaSetId FamilyCount FamilySequenceNumber MediaFamilyId MediaSequenceNumber MediaLabelPresent MediaDescriptionSoftwareVendorId MediaDate
NULL {C477099A-7619-4E72-8D1E-7E3A14E0DAE5} 2 2 {390AF160-0000-0000-0000-000000000000} 1 0 NULL Microsoft SQL Server 4608 2005-09-16 09:48:15.000
(1 row(s) affected) After this when i run restore database dev3_nv_daily
from disk=’f:dev3_daily’
WITH
FILE = 1, NOUNLOAD , STATS = 10, RECOVERY, replace ,
move N’uat_nv_daily’ TO N’f:dev3_nv_dailydev3_nv_daily.ndf’ — , move N’uat_nv_daily_LOG’ TO N’f:dev3_nv_dailydev3_nv_daily_log.ldf’
go
i get the error.
The media set for database ‘devdaily’ has 2 family members but only 1 are provided. All members must be provided.
RESTORE DATABSE is terminating abnormally.
Any comments guys on this …
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by ranjitjain</i><br /><br />Hi,<br />when i run <br />RESTORE filelistonly<br />from disk=’f:dev3_daily'<br />i get <br /><br />LogicalName PhysicalName Type FileGroupName Size MaxSize <br />uat_nv_daily d



Hi,
I got a similar error and was able to solve it. I have compiled the main points of the solution here-
http://manojagarwal.livejournal.com/2007/10/16/
]]>