Xtrabackup : Perfect Backup Solution for Large MySQL Databases
Use Cases and Deployment Scope
It's solving the problem of backup /disaster recovery and BCP.
Xtrabackup supports full and incremental backup. Backup can be stored either locally or in any cloud storage. Basis of database size/RTO/RPO. You can plan what type of backup you want to schedule and what will be the frequency of backup. For our setup, we are taking full backup once in a day and Incremental backup every 6 hours. This backup can be utilized for all-purpose(rebuilding replicas/ test database or recovery from disaster (accidental data drop or machinefailure).
Pros
- Non-blocking backup : Backup process will not put any lock on the database.
- Fast recovery : As it's a file level backup so it's quite fast in both backup and recovery.
- Consistent backup : Xtrabackup always ensures consistent backup.
- Easy to configure and Use.
- Integration with clouds
Cons
- Remote execution: Xtrabackup doesn't support remote backup. The backup process has to run locally and have to store data locally.
- LifeCycle management: Xtrabackup doesn't support backup lifecycle management. Users have to manage it themself.
- Stability for large databases.
