Error while restoring database in SQLServer 2000

  • I am getting an error that says MS SQL-DMO (ODBC SQL State: 42000) - An internal consistency error occured. Restore db is terminated abnormally.

    I have even try deleteing the database, re-creating it and restoring again but still the same issue.

  • Sounds like you have a corrupted backup. Do you have another sql instance you can test the restore on?

  • Not really. I just thiught it might be something am doing wrong. Will try historic other backup if available

  • Please let us know if this is the case. Might help others or we can give you other suggestions. I think it's probably corrupt, but you never know.

  • yes, the file was corrupted even though that same file was used in the past for restoring data.

    I ran another backup from out live server and was able to restore that data on the test server.

    Thanks for you help/suggestion.

  • You can use RESTORE HEADERONLY and also RESTORE VERIFYONLY which

    Verifies the backup.If the backup set is complete and that all volumes are readable.

    Please check the BOL for more information.

    Minaz

    "More Green More Oxygen !! Plant a tree today"

  • Yes, first use RESTORE HEADERONLY to ensure that the backup returning header information of the backup file. If needed use RESTORE VERIFYONLY, because it may take more time to verify the complete backup sets and all volumes are readable and the duration will depend on your database size.

Viewing 7 posts - 1 through 6 (of 6 total)

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