In this session, you’ll gain invaluable guidance for optimizing your backup and recovery efforts. Richard Douglas will show you how to dramatically accelerate backups, perform faster recoveries, and ensure your organization’s critical data is always protected. Plus, you’ll learn tricks and tips to master database monitoring and benchmarking to achieve peak system performance.
4. Agenda
• Why do we need backups?
• Backups available in SQL Server
• Backup Strategy vs Restore Strategy
• How to make your backups faster
• How to make your restores faster
4
Backups
6. Your host
• Richard Douglas
• Systems Consultant
• SQL Server MCITPro
• Maidenhead SQL User Group Leader
• Blog: http://SQL.RichardDouglas.co.uk
• Twitter: @SQLRich
• Email: Richard.Douglas@Software.Dell.com
6
Backups
8. Why do we need backups?
• Protect valuable data
• Provides the potential to return to a “point in time”
• Confusion between Disaster Recovery and High Availability
• Backup Myths
Image backups are sufficient
Snapshots are sufficient
Differential backups are incremental
System databases only need to be backed up once a week
Only need to keep my last backup
Buffer pool usage
8
Backups
14. Backup Strategy vs Restore Strategy
Backup Strategy main considerations
Restore Strategy main considerations
• Time taken to perform a backup
• Time taken to restore data
aka Recovery Time Objective (RTO)
• Cost associated with longer
maintenance window
• Data loss acceptability
aka Recovery Point Objective (RPO)
• Cost associated with storing
backup files
• Cost associated with system
unavailable
14
Backups
27. Optimizing backups – Server Architecture
• IO Subsystem
The DBA team start negotiations
with the Infrastructure team
– RAID Levels
– Disk Partition Alignment
– Dedicated drives
• Network cards
– Add more NICs
– Use different subnets
– Use different switches
http://www.flickr.com/photos/jakesutton/859193891/in/photostream
27
Backups
31. Backup Options
Optimizing Backups
Other Backup Options of note
• Compression
•
Init / NoInit
• BufferCount
•
Format / NoFormat
• MaxTransferSize
•
Copy Only
• BlockSize
•
Checksum
• Multiple backup devices
•
Continue After Error
For a full list of all the backup options refer to Books Online (BOL)
http://msdn.microsoft.com/en-us/library/ms186865.aspx
31
Backups