Corrupted differential backup?
meastland
Posts: 47
I am occasionally having trouble restoring from a differential backup created by SQL Backup 6.4.
Here are the symptoms:
I am using the LATEST_ALL functionality to restore a given database. The FULL backup set restores fine. When process tries to restore from the DIFFERENTIAL backup set, it goes immediately to something like 98% complete and hangs indefinitely until the process times out.
When I execute the verification commands against the same differential backup file (RESTORE...VERIFYONLY, RESTORE...FILELISTONLY, RESTORE...SQBHEADERONLY), everything comes back clean. Is there any other way to check for corruption of the differential backup? If not, what else am I missing?
Thanks in advance for any response.
Regards,
-Mike Eastland
Here are the symptoms:
I am using the LATEST_ALL functionality to restore a given database. The FULL backup set restores fine. When process tries to restore from the DIFFERENTIAL backup set, it goes immediately to something like 98% complete and hangs indefinitely until the process times out.
When I execute the verification commands against the same differential backup file (RESTORE...VERIFYONLY, RESTORE...FILELISTONLY, RESTORE...SQBHEADERONLY), everything comes back clean. Is there any other way to check for corruption of the differential backup? If not, what else am I missing?
Thanks in advance for any response.
Regards,
-Mike Eastland
Comments
I attempted to convert the DIFFERENTIAL backup set into the native backup format, and I'm seeing the same behavior when trying to restore from the converted backup set.
Here is the error message that results after the process is finally killed:
4/18/2011 11:54:25 AM: Thread 0 error:
Process terminated unexpectedly. Error code: -2139684861 (The api was waiting and the timeout interval had elapsed.)
4/18/2011 11:54:25 AM:
4/18/2011 11:54:25 AM: Thread 1 error:
Process terminated unexpectedly. Error code: -2139684861 (The api was waiting and the timeout interval had elapsed.)
4/18/2011 11:54:25 AM:
4/18/2011 11:54:25 AM: Thread 2 error:
Process terminated unexpectedly. Error code: -2139684861 (The api was waiting and the timeout interval had elapsed.)
4/18/2011 11:54:25 AM:
4/18/2011 11:54:25 AM: Thread 3 error:
Process terminated unexpectedly. Error code: -2139684861 (The api was waiting and the timeout interval had elapsed.)
4/18/2011 11:54:25 AM:
4/18/2011 1:08:46 PM: SQL error 3013: SQL error 3013: RESTORE DATABASE is terminating abnormally.
4/18/2011 1:08:46 PM: SQL error 3203: SQL error 3203: Read on "SQLBACKUP_8B2CA8C7-096B-4367-B2E5-62828678140001" failed: 995(The I/O operation has been aborted because of either a thread exit or an application request.)
Looking forward to some input. Thanks.
when the restore hangs? This generates a stack trace of all active threads in a file named SQBCoreService_<instance name>_bugreport.txt, and is located in 'C:\Documents and Settings\All Users\Application Data\Red Gate\SQL Backup\Log\' on Windows 2003 and older, and 'C:\ProgramData\Red Gate\SQL Backup\Log\' on Windows Vista and newer. Could you please send me that file?
Thanks.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
I'm not really sure where we go from here, other than I can try to run the trace command if I run into the issue again in the future.
Thanks anyway for the reply.