Migrate data via backup/restore

Charmed MySQL is able to restore its own backups stored on S3-compatible storage.

The same restore approach is applicable to restore external backups made by a different Charmed MySQL installation, or even another MySQL charm. (Note that, in this case, the backup must be created manually using Percona XtraBackup)

See also

For data stored in legacy charms, see How to migrate data via mysqldump

Prepare

Before migrating data:

Migrate via backup/restore

The approach described below is a general recommendation, but we cannot guarantee restoration results. Contact us if you have any doubts about data migration/restoration.

And, as always, try it out in a test environment before migrating in production!

Do you have questions? Contact us if you are interested in such a data migration!