ZLib Decompression Error (5.3.0.178)
howarthcd
Posts: 70 Bronze 3
Yesterday we experienced what I would consider to be a serious error that has made us lose confidence in SQL Backup.
We take a full database backup every night, followed by regular log backups during the day - all backups are made directly to a network share.
As a test we restored the full database backup, no problem, however when restoring the first log backup a 'ZLib Decompression Error' was returned. When restoring the second log backup an error was returned that the first LSN in the (second) log file was too recent to be applied to the database.
I'm guessing that there was a brief network outage whilst the compressed file was being written to the share, and that SQL Server had already received notification from the SQL Backup service that the log backup had been completed and duly truncated the database's log.
This seems to be pretty serious to me as none of our subsequent log backups were restorable due to the error that occurred when taking the first log backup. If we lost the database during the day we would not have been able to restore to a point in time close to the failure.
Is this a known issue with SQL Backup? Is there a workaround? We have now reverted to native backups as we can't afford to lose our data.
Thanks
Chris
We take a full database backup every night, followed by regular log backups during the day - all backups are made directly to a network share.
As a test we restored the full database backup, no problem, however when restoring the first log backup a 'ZLib Decompression Error' was returned. When restoring the second log backup an error was returned that the first LSN in the (second) log file was too recent to be applied to the database.
I'm guessing that there was a brief network outage whilst the compressed file was being written to the share, and that SQL Server had already received notification from the SQL Backup service that the log backup had been completed and duly truncated the database's log.
This seems to be pretty serious to me as none of our subsequent log backups were restorable due to the error that occurred when taking the first log backup. If we lost the database during the day we would not have been able to restore to a point in time close to the failure.
Is this a known issue with SQL Backup? Is there a workaround? We have now reverted to native backups as we can't afford to lose our data.
Thanks
Chris
Comments
Chris
Red-Gate's response:
<Reply sent by me included the failed backup's log file>
Red-Gate's response:
So it seems that the issue is being caused by an inadequacy inherent in SQL Server's VDI and that most, if not all, 3rd party compression products that rely on the VDI (there is at least one that doesn't) may be open to the same issue.
In order to help mitigate the risk I think that we may move to SQL Server 2008's native compression feature when we upgrade. This is unfortunate for Red-Gate as their product is otherwise superb, but we can't afford to risk this happening again.
Chris
That's not the best news to hear.
Chris
Sorry you've had this problem. We've done some digging into the VDI and we think we found a way to fix this. We're locking down version 5.5 in a few days time and so if it works we will put this in before then.
Thanks for the update - this does sound promising. We're looking forward to seeing this fixed in a future release.
Thanks
Chris