I am going to begin transitioning several of our databases to FULL recovery from SIMPLE. I asked a question last week regarding deployment strategies and I have one additional question.
Consider this:
- Sunday (midnight) – Run FULL backup
- Monday-Saturday (midnight) – Run differentials
- Hourly – Transaction log backup
Are the differential backups basically eliminating the need for the transaction logs for that day?
So, if we have a catastrophic failure at 10pm on Tuesday, we would:
- Run tail log backup on affected DB(s)
- Restore FULL backup from Sunday night
- Restore DIFF backup from Monday night
- Restore using log chain from the day on Tuesday up to disaster time.
If this is the case, then could we simply remove the transaction log backups from Monday as part of the maintenance plan, since we have a differential from Monday night? Would it be smarter to keep them for redundancy in case the DIFF backup fails?
Best Answer
There are multiple ways to get to the intended target recovery point with your setup.
A few things:
I would not stop taking log backups but you could put into place an aging mechanism in your backup software or process to eliminate files that are no longer needed.
Using your example, you have many paths but the basis is as such:
Always take a tail of the log backup first
This is more flexible as a corrupt backup file (say a log file) could be spanned by a differential or a corrupt full could be spanned by differentials, etc.
I would not change how your strategy is currently, but I would make sure it meets your RPO and RTO requirements.