Mediaset families missing after conversion from SQB

Compresses, encrypts, secures and monitors SQL Server backups.

Moderators: Chris Auckland, eddie davis, Colin Millerchip, Brian Harris, james.billings, RBA, petey

Mediaset families missing after conversion from SQB

Postby reinisb » Fri Mar 15, 2013 5:47 pm

Hi,

I have an SQB backup that I converted back to a .BAK so I could restore through the SQL Server native GUI.

During the conversion the SQB was extracted to 23 seperate BAK files. If I understand correctly, this is because the THREADCOUNT parameter in the SQL Backup command is 23.

However, when I select all the backup files in the SQL Server GUI, set the file locations, etc. and try to execute the backup, SQL Server gives me the following error:

Restore failed for Server 'LAXNODE\\LAXInstance'. (Microsoft.SqlServer.SmoExtended)

............................

The media set has 23 media families but only 1 are provided. All members must be provided.
RESTORE DATABASE is terminating abnormally. (Microsoft SQL Server, Error: 3132)


Looking online that error usually means you created a backup using two different files in the first place, so my guess is that because of the threadcount parameter SQL Backup creates it with 23 different backup files initially before it compresses it into a single SQB.

How do I get this backup to restore correctly? I have selected all the files available, so I would think it would work.

Does anyone have any solutions?

Thanks,

Reinis
reinisb
 
Posts: 13
Joined: Thu Jul 05, 2012 4:31 pm

Postby petey » Sat Mar 16, 2013 8:23 am

If use SQL Profiler to trace the restore command that SQL Server is using, is it trying to restore using all 23 bak files, or only a single bak file?
Peter Yeoh
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 7
petey
 
Posts: 2233
Joined: Sun Apr 24, 2005 12:34 pm

Postby reinisb » Tue Mar 19, 2013 3:50 pm

Thanks Petey for the response.

I tried it again and it worked. It's possible I was being a doofus and trying to restore files and filegroups instead of database (it was friday afternoon after all :roll: ), but I'm not sure.

I will go to Profiler quicker next time!

Thanks.

Reinis
reinisb
 
Posts: 13
Joined: Thu Jul 05, 2012 4:31 pm


Return to SQL Backup 6

Who is online

Users browsing this forum: No registered users and 0 guests