presented by, mysql & o’reilly media, inc. top considerations for backup of mysql dmitri...
TRANSCRIPT
![Page 1: Presented by, MySQL & O’Reilly Media, Inc. Top considerations for backup of MySQL Dmitri Joukovski, Zmanda](https://reader035.vdocument.in/reader035/viewer/2022062519/5697bfdd1a28abf838cb17ab/html5/thumbnails/1.jpg)
Presented by,
MySQL & O’Reilly Media, Inc.
Top considerations for backup of MySQL
Dmitri Joukovski, Zmanda
![Page 2: Presented by, MySQL & O’Reilly Media, Inc. Top considerations for backup of MySQL Dmitri Joukovski, Zmanda](https://reader035.vdocument.in/reader035/viewer/2022062519/5697bfdd1a28abf838cb17ab/html5/thumbnails/2.jpg)
Why do you need to backup MySQL?
Disaster recovery
Compliance requirements
Protecting against user error
Application testing
![Page 3: Presented by, MySQL & O’Reilly Media, Inc. Top considerations for backup of MySQL Dmitri Joukovski, Zmanda](https://reader035.vdocument.in/reader035/viewer/2022062519/5697bfdd1a28abf838cb17ab/html5/thumbnails/3.jpg)
What are your recovery objectives?
To what point in time do you want to recover your database?
Recovery Point Objective (RPO)
How much time will you have to recover your database?
Recovery Time Objective (RTO)
![Page 4: Presented by, MySQL & O’Reilly Media, Inc. Top considerations for backup of MySQL Dmitri Joukovski, Zmanda](https://reader035.vdocument.in/reader035/viewer/2022062519/5697bfdd1a28abf838cb17ab/html5/thumbnails/4.jpg)
Be ready for different types of recovery
The whole server
Specific database
Specific table
Specific transactions
![Page 5: Presented by, MySQL & O’Reilly Media, Inc. Top considerations for backup of MySQL Dmitri Joukovski, Zmanda](https://reader035.vdocument.in/reader035/viewer/2022062519/5697bfdd1a28abf838cb17ab/html5/thumbnails/5.jpg)
Easy recovery = successful recovery
Make a list of possible recovery situationsOriginal location
New hardware and same OS and MySQL version
New hardware and different OS
Test all of them
Actual recoveries happen under stress
![Page 6: Presented by, MySQL & O’Reilly Media, Inc. Top considerations for backup of MySQL Dmitri Joukovski, Zmanda](https://reader035.vdocument.in/reader035/viewer/2022062519/5697bfdd1a28abf838cb17ab/html5/thumbnails/6.jpg)
How much backup will impact your application?
Backup window – the amount of time your application is unavailable or degraded
Cold, warm and hot backup
Size of database Database activity Business requirements
Plan for backup early on
Define your backup window
![Page 7: Presented by, MySQL & O’Reilly Media, Inc. Top considerations for backup of MySQL Dmitri Joukovski, Zmanda](https://reader035.vdocument.in/reader035/viewer/2022062519/5697bfdd1a28abf838cb17ab/html5/thumbnails/7.jpg)
Do you know what to backup?
Number of MySQL servers Storage engines (don’t forget about the future) Use of MySQL replication
Pay special attention to: Referential integrity MySQL versions being used Application might store data outside of MySQL
![Page 8: Presented by, MySQL & O’Reilly Media, Inc. Top considerations for backup of MySQL Dmitri Joukovski, Zmanda](https://reader035.vdocument.in/reader035/viewer/2022062519/5697bfdd1a28abf838cb17ab/html5/thumbnails/8.jpg)
What is the best time to backup?
Database activityIs there a time database is less active?
Nature of activity (selects, inserts/updates)
Postpone backup if database is busy
Where do you want to backup? Not on the same spindles!
![Page 9: Presented by, MySQL & O’Reilly Media, Inc. Top considerations for backup of MySQL Dmitri Joukovski, Zmanda](https://reader035.vdocument.in/reader035/viewer/2022062519/5697bfdd1a28abf838cb17ab/html5/thumbnails/9.jpg)
How do you manage backups?
Automation
Pre-backup and post-backup
SecurityEncryption
Who has the rights to recover data
technical and business rights
![Page 10: Presented by, MySQL & O’Reilly Media, Inc. Top considerations for backup of MySQL Dmitri Joukovski, Zmanda](https://reader035.vdocument.in/reader035/viewer/2022062519/5697bfdd1a28abf838cb17ab/html5/thumbnails/10.jpg)
What kind of tracking and reporting you need?
Timely notificationsBackup failures
Reports about backups
Retention period of your backupsDefines how much space you need
Purging expired backups
![Page 11: Presented by, MySQL & O’Reilly Media, Inc. Top considerations for backup of MySQL Dmitri Joukovski, Zmanda](https://reader035.vdocument.in/reader035/viewer/2022062519/5697bfdd1a28abf838cb17ab/html5/thumbnails/11.jpg)
What are the available solutions?
Write your own script Pay $300 for MySQL recommended solution –
Zmanda Recovery Manager
![Page 12: Presented by, MySQL & O’Reilly Media, Inc. Top considerations for backup of MySQL Dmitri Joukovski, Zmanda](https://reader035.vdocument.in/reader035/viewer/2022062519/5697bfdd1a28abf838cb17ab/html5/thumbnails/12.jpg)
Takeaways Think about recovery first and be ready for
different types of recovery
Understand impact of backup on your application
Figure out what, where and when to backup
Notifications and reports will simplify your backup procedures and ensure successful recoveries