![]() |
|
|
By: Jeremy Kadlec | Read Comments | Print Jeremy is the CTO @ Edgewood Solutions, co-founder of MSSQLTips.com and SQL Server MVP since 2009. Related Tips: More |
|
Problem
As a best practice we issue full SQL Server database, differential and transaction log backups. We have setup a process to backup to local disks and then also copy the files to a centralized set of storage. On a weekly basis the centralized file system is backed up to a tape backup device. The tapes are rotated on a weekly basis in order to maintain 4 weeks of data on the tapes stored off site. I know I can get data off of the tapes, but that process is time consuming, not well tested from my perspective and I am not in control of the overall process. Can you offer some recommendations from a SQL Server backup retention perspective?
Solution
SQL Server backups are absolutely critical for disaster recovery, point in time recovery and researching critical data issues. Without the backups the opportunity to recover is impossible, but backups are worthless if they cannot be restored. In many respects issuing database backups can be considered mundane, but the recovery process at times can be intense if you run into issues while trying to answer a question from an executive three pay grades above you. As such, let's take a look at the SQL Server backup retention situation from these perspectives:
Legal Requirements
In some industries three or seven years of backups are required for legal\compliance purposes. If you work in a health care, legal, financial, government, etc. organization then many of these requirements are established for you. As such, familiarize yourself with the requirements and be sure you are meeting the minimum requirements. If the minimum requirements, do do not meet best practices, you have the opportunity to show your team how you are exceeding the requirements providing a higher level of service.
The big item to keep in mind over the three or seven year period are all of the components necessary to recover the data. Think about the hardware (tapes, tape libraries, tape drives, available storage, etc.), software (Windows, backup software, SQL Server, service packs, etc.), passwords, etc. needed for recovery. This means that you need to maintain an environment to support the recovery or be able to setup an environment for recovery purposes.
Recovery Reasons
If you do not have legal\compliance requirements, then take a good hard look at your business to determine what you would need to recover from under a reasonable set of circumstances. Some of these items may include:
Another data point to consider is the rate of data change on a per database basis. If you have relatively stagnant data as compared to transactional data then backup and retention requirements would vary greatly. As such, evaluate your environment to have your backup, recovery and retention plan are in sync.
Another approach would be to rewind the last twelve to eighteen months of SQL Server database recoveries to serve as a guide for the types of needs in your organization. If you have not been able to meet all of the needs or if you have had failed recoveries, then another approach may be needed. Take a step back and figure it out what is required.
General Best Practices
Although an absolute set of rules do not exist, the reality is that at some level SQL Server backups are needed for recovery purposes. As such, it is critical to build a database backup plan as well as a database recovery plan. Once defined, then it time to build the scripts and processes to make the plan a reality. In addition, depending on the time and costs, third party products may offer a variety of benefits over native features.
Below outlines a base set of considerations for determining your retention period decision:
Next Steps
| Share: | Share | Tweet |
|
![]() |
|
|
Free SQL Server Learning |
|
privacy | disclaimer | copyright | advertise | about authors | contribute | feedback | giveaways | user groups Some names and products listed are the registered trademarks of their respective owners. Edgewood Solutions LLC | MSSharePointTips.com | MSSQLTips.com |