| Author |
Topic |
|
tmack
Starting Member
6 Posts |
Posted - 2007-06-29 : 18:44:03
|
| I recently made a move to a new server, and I made a backup of all my databases which all work except one.This is the error I get:TITLE: Microsoft SQL Server Management Studio Express------------------------------Restore failed for Server '64.85.163.93,1433'. (Microsoft.SqlServer.Express.Smo)For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.2047.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Restore+Server&LinkId=20476------------------------------ADDITIONAL INFORMATION:System.Data.SqlClient.SqlError: The media set has 2 media families but only 1 are provided. All members must be provided. (Microsoft.SqlServer.Express.Smo)For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.2047.00&LinkId=20476------------------------------BUTTONS:OK------------------------------Headeronly:Backup Name: CMS-Full Database BackupBackup Desc: NULLBackup Type: 1 Expir Date: NULLCompressed: 0 Position: 1DeviceType: 2USername: saDB Name: CMS DB Ver: 611BackupSize: 5521408First LSN:75000000044600037Last LSN:75000000046400001Checkpoint LSN:75000000044600037Backup DB LSN: 0Sort Order: 52CodePage: 0Unicode Locale ID: 1033Unicdoe Comparision Style: 196609Compatibility Level: 90Software Vendor ID: 4608Software Ver: 9Flags: 512BindingID: 669064E1-617C-4C90-9CA0-4B7DDF772F99Recovery Fork ID: 552CCBF1-AF5C-4A35-AF63-E4AE854B4CB2Collation: SQL_Latin1_General_CP1_CI_ASFamilyGUID: 552CCBF1-AF5C-4A35-AF63-E4AE854B4CB2HasBulkLoggeddata: 0IsSnapshot: 0IsReadOnly: 0IsSingleUser: 0HasBackupChecksums: 0IsDamaged: 0BeginsLogChain: 0HasIncompleteMetaData: 0IsForceOffline: 0IsCopyOnly 0FirstRecoveryForkID: 552CCBF1-AF5C-4A35-AF63-E4AE854B4CB2ForkPoint: NULLRecoveryModel: FULLDifferentialBaseLSN: NULL|| BaseGUID: NULLBackuptype Desc: DBBackupsetguid: 97743B90-FABB-4296-9198-8FECB7B5DE07LabelOnly: MediaName: NullMediaSetID:1D4A6421-D6FC-4940-878E-3DF0E4EBF179FamilyCount: 2FamilySequenceNumber: 2MediaFamilyId: 9085DAC7-0000-0000-0000-000000000000MediaSequenceNumber: 1MediaLabelPresent: 0Media Desc: NULLSoftwareName: Microsoft SQL ServerSoftware Vendor ID: 4608MediaDate: 2007-06-06 21:06:50.000MirrorCount: 1Based on what I read I need two files, however I can't seem to find a second file. I don't know why it would need one as I backed it up the same way as the other 30 databases! This is my most important database and is hurting me by the day! Is there anyway I can remove the familyCount, or ignore the error? Thanks |
|
|
Kristen
Test
22859 Posts |
Posted - 2007-06-30 : 05:19:37
|
| Sounds like the original was a striped backup, in which case you need to two (or maybe more!) files to make the restore.Alternatively make a new, manual, backup of the source database using a single file.Kristen |
 |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2007-06-30 : 20:54:36
|
| How did you backup dbs? |
 |
|
|
tmack
Starting Member
6 Posts |
Posted - 2007-06-30 : 22:35:13
|
| The old data is gone, I CANNOT make a new backup.I backed up the DBs using Microsoft SQL Server Management Studio. I did not stripe the data, I don't know why it did that. Is there anyway to make it work by modifying the file? It's not the data I'm worried about, it's the tables and stored procedures.. |
 |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2007-06-30 : 23:38:22
|
| If you did that in gui, can go back to that backup page to find out where the db backed up to. |
 |
|
|
tmack
Starting Member
6 Posts |
Posted - 2007-07-01 : 07:39:36
|
| I don't have the old server anymore, no. |
 |
|
|
Kristen
Test
22859 Posts |
Posted - 2007-07-01 : 16:38:03
|
| Do you have a backup of the [raw] MDF/LDF? (Would probably need to be from when the SQL Service was stopped)Kristen |
 |
|
|
tmack
Starting Member
6 Posts |
Posted - 2007-07-01 : 17:10:25
|
| Nope. I only made backup files, I wish I did. I think this is a bug in SQL, because FILELISTONLY is only showing 1 file... Are there any programs that can rewrite a backup file? Or anyway to rewrite the backup file with TSQL? |
 |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2007-07-01 : 20:26:14
|
| It lists source db files in 'restore filelistonly'. If you need backup info, should use 'restore headeronly'. |
 |
|
|
Kristen
Test
22859 Posts |
|
|
tmack
Starting Member
6 Posts |
Posted - 2007-07-05 : 18:56:08
|
| Nope, all restore commands give me the same error. |
 |
|
|
Kristen
Test
22859 Posts |
Posted - 2007-07-06 : 02:36:09
|
| This error presumably?"The media set has 2 media families but only 1 are provided"If so can't think of anything else to try, sorry.Kristen |
 |
|
|
|