November 28, 2013 at 11:16 am
Hi all,
I attempted to perform a backup and ended up with error message:
TITLE: Microsoft SQL Server Management Studio
------------------------------
Backup failed for Server '10.40.1.57'. (Microsoft.SqlServer.SmoExtended)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.2500.0+((KJ_PCU_Main).110617-0038+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Backup+Server&LinkId=20476
------------------------------
ADDITIONAL INFORMATION:
System.Data.SqlClient.SqlError: The backup data at the end of "C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\GSH.bak" is incorrectly formatted. Backup sets on the media might be damaged and unusable. To determine the backup sets on the media, use RESTORE HEADERONLY. To determine the usability of the backup sets, run RESTORE VERIFYONLY. If all of the backup sets are incomplete, reformat the media using BACKUP WITH FORMAT, which destroys all the backup sets. (Microsoft.SqlServer.Smo)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.2500.0+((KJ_PCU_Main).110617-0038+)&LinkId=20476
------------------------------
BUTTONS:
OK
As the message suggests to run RESTORE VERIFYONLY, I run the following query:
restore verifyonly from DISK='C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\GSH.bak'
And I got error:
Msg 3241, Level 16, State 7, Line 1
The media family on device 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\GSH.bak' is incorrectly formed. SQL Server cannot process this media family.
Msg 3013, Level 16, State 1, Line 1
VERIFY DATABASE is terminating abnormally.
Do I have to RESTORE VERIFYONLY? Or delete the backup file? Why this happened to this DB? Occasionally I used RedGate's products on it but I don't think that should make any damage to the DB's backup.
Thanks for your input. Any clue is appreciated.
December 4, 2013 at 8:01 pm
Are you appending backups to existing backup sets ? I much prefer to backup databases to separate .BAK files each time. Much easier to keep track of what you have.
December 4, 2013 at 8:07 pm
as it is a very new and still under development database, I rebuild the db without back up the old one.
Thank you for your reply
December 4, 2013 at 8:19 pm
What is the backup command you are using ?
December 4, 2013 at 8:22 pm
never back it up, don't understand why it prevented me
December 4, 2013 at 8:28 pm
What is the backup command you tried to use ?
December 4, 2013 at 8:34 pm
I didn't use command, I was using SSMS, forget it, never mind.
December 4, 2013 at 8:59 pm
Don't use a backupset. Just backup to a new file each time.
Do a search for an articles on database backups
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply