Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Backup failed Expand / Collapse
Author
Message
Posted Thursday, November 28, 2013 11:16 AM


SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Friday, September 5, 2014 6:58 AM
Points: 807, Visits: 1,441
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.
Post #1518393
Posted Wednesday, December 4, 2013 8:01 PM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Wednesday, September 10, 2014 1:06 PM
Points: 2,829, Visits: 8,479
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.


Post #1519846
Posted Wednesday, December 4, 2013 8:07 PM


SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Friday, September 5, 2014 6:58 AM
Points: 807, Visits: 1,441
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
Post #1519848
Posted Wednesday, December 4, 2013 8:19 PM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Wednesday, September 10, 2014 1:06 PM
Points: 2,829, Visits: 8,479
What is the backup command you are using ?


Post #1519849
Posted Wednesday, December 4, 2013 8:22 PM


SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Friday, September 5, 2014 6:58 AM
Points: 807, Visits: 1,441
never back it up, don't understand why it prevented me
Post #1519850
Posted Wednesday, December 4, 2013 8:28 PM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Wednesday, September 10, 2014 1:06 PM
Points: 2,829, Visits: 8,479
What is the backup command you tried to use ?


Post #1519851
Posted Wednesday, December 4, 2013 8:34 PM


SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Friday, September 5, 2014 6:58 AM
Points: 807, Visits: 1,441
I didn't use command, I was using SSMS, forget it, never mind.
Post #1519853
Posted Wednesday, December 4, 2013 8:59 PM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Wednesday, September 10, 2014 1:06 PM
Points: 2,829, Visits: 8,479
Don't use a backupset. Just backup to a new file each time.

Do a search for an articles on database backups



Post #1519854
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse