Performing regular backups of your database cluster is imperative for high availability and disaster recovery. If for any reason you lost your entire cluster and had to do a full restore from backup, you would need a reliable and up-to-date backup to start from.
Best Practices for Backups
Some recommendations to consider for a good scheduled backup regime:
- You should be able to completely recover from a catastrophic failure from at least two previous full backups. Just in case the most recent full backup is damaged, lost, or corrupt,
- Your backup should contain at least one full backup within a chosen cycle, normally weekly,
- Store backups away from the current data location, preferably off site,
- Use a mixture of mysqldump and Xtrabackup for extra safety, and not rely on one method,
- Test restore your backups on a regular basis, e.g. every two months.