Having a valid and up to data backup is most important for any organization. Backup should be the first step while planning for disaster recovery. It is the foundation of your disaster recovery plan. Today I will talk about the best practices for maintaining SQL Server backup.
- Don't store your backup on the same computer on which your database file is stored. If your system crashes due to hardware failure or any other reason then you will lose the backup also.
- Your backup plan should be according to your business needs. If your database changes frequently then take regular backups.
- Make a plan that will be helpful in recovering from all kind of disasters like hardware failure, power failure, human error etc.
- Disaster recovery plan should cover the three most basic database requirements such as performance, security and scalability.
- If your database remains active all the time then perform transaction log backup every hour.
- Perform differential backup every day and full backup every week.
- Test your backup by restoring data on a server and see if it is working properly. You should run your database backup regularly with all the options and conditions that can occur during disaster.
- Use RESTORE VERIFYONLY command to test backup files.
- Schedule your backup operation when you are not performing any database activity.
- Physically secure your backup media.
- Use advance backup features like BACKUP CHECKSUM to detect problem in backup itself.
- Store backup data on disk rather than tapes.
- Compress backup files before transferring it to tape or any long term storage device.
- For long run storage, backup your data on tapes and for short run use disk.
- You should also check the size and speed of your backup. If it is taking too long to restore then you may need to use backup compression software.
No comments:
Post a Comment