SQL database recovery from corrupt database file!

  • Last week I backed up my SQL Server by using BE 2012. I named the file "SQL Server BAK" which contained copies of my SQL Server databases. A few days ago I lost some part of my data due to accidental deletion. I backed it up, so I tried to restore the database from the .bkf file. The problem comes here, when I try to to restore my .bkf file, it becomes inaccessible.

    Does anyone know what causes this? I'm suspecting corruption here (it's just a suspicion as I'm not sure). Please help me. The copies of my databases are very crucial.

    Many thanks in advance.

  • chengchong36 (7/9/2014)


    Last week I backed up my SQL Server by using BE 2012. I named the file "SQL Server BAK" which contained copies of my SQL Server databases. A few days ago I lost some part of my data due to accidental deletion. I backed it up, so I tried to restore the database from the .bkf file. The problem comes here, when I try to to restore my .bkf file, it becomes inaccessible.

    Does anyone know what causes this? I'm suspecting corruption here (it's just a suspicion as I'm not sure). Please help me. The copies of my databases are very crucial.

    Many thanks in advance.

    We can't help you without knowing the step(s) you take and the error(s) you receive. Details please.

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • This was removed by the editor as SPAM

  • chengchong36 (7/9/2014)


    Last week I backed up my SQL Server by using BE 2012. I named the file "SQL Server BAK" which contained copies of my SQL Server databases. A few days ago I lost some part of my data due to accidental deletion. I backed it up, so I tried to restore the database from the .bkf file. The problem comes here, when I try to to restore my .bkf file, it becomes inaccessible.

    Does anyone know what causes this? I'm suspecting corruption here (it's just a suspicion as I'm not sure). Please help me. The copies of my databases are very crucial.

    Many thanks in advance.

    After backup, have you checked the backup consitenency or verify backup?

    Please check backup with: RESTORE VERIFYONLY - http://msdn.microsoft.com/en-IN/library/ms188902.aspx

    Thanks

  • Don't ever append backups to the same file. If you do and there's damage to the header, you can lose all of the backups. Backups should go to individual files, preferably time-stamped with the date as part of the file header.

    You should test your backups, make sure they restore. RESTORE VERIFYONLY is near-useless unless you take backups WITH CHECKSUM. It's not perfect even if you do.

    What happens if you try to restore that backup (to a new database) WITH CONTINUE_AFTER_ERROR?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • I don't think he's using native SQL backups here--isn't BE Backup Exec? The reference to a .bkf file suggests that as well. That being the case, definitely need more information on any errors reported during the restore process.

  • chengchong36 (7/9/2014)


    Last week I backed up my SQL Server by using BE 2012. I named the file "SQL Server BAK" which contained copies of my SQL Server databases. A few days ago I lost some part of my data due to accidental deletion. I backed it up, so I tried to restore the database from the .bkf file. The problem comes here, when I try to to restore my .bkf file, it becomes inaccessible.

    Does anyone know what causes this? I'm suspecting corruption here (it's just a suspicion as I'm not sure). Please help me. The copies of my databases are very crucial.

    Many thanks in advance.

    More than likely the backup media that Backup Exec wrote to is not catalogued or online. Consult your backup admin for more help

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • Have a look here http://www.en.repairsqlserver.net/[/url] . It is a professional SQL Database recovery application that can fix damaged SQL database. May be it helpful for others.

  • chengchong36 (7/9/2014)


    Last week I backed up my SQL Server by using BE 2012. I named the file "SQL Server BAK" which contained copies of my SQL Server databases. A few days ago I lost some part of my data due to accidental deletion. I backed it up, so I tried to restore the database from the .bkf file. The problem comes here, when I try to to restore my .bkf file, it becomes inaccessible.

    Does anyone know what causes this? I'm suspecting corruption here (it's just a suspicion as I'm not sure). Please help me. The copies of my databases are very crucial.

    Many thanks in advance.

    Microsoft SQL Server has no relation with Backup Exec. It's very clear that the backup is corrupt. As per my knowledge, I'm not aware of any free tool or manual trick to fix corruption from backup files. You should consult a data recovery expert which can perform recovery from corrupt backup. Or you can try a professional backup recovery tool to perform recovery by your own. You can download free demo version Backup Exec BKF Repair Pro tool. It supports SQL database recovery from corrupt backup files. I found this product on CNET - http://download.cnet.com/SysInfoTools-Backup-Exec-BKF-Repair-Pro/3000-2242_4-76150110.html

    I hope it would be helpful here.

    Regards.

  • This thread is over 2 years old!!

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • This was removed by the editor as SPAM

  • This was removed by the editor as SPAM

Viewing 12 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic. Login to reply