Appearance
Manage MySQL backups
Create a new backup
You can create a manual backup of your MySQL database under Services > MySQL in just two easy steps:
- Select the database by clicking on its label
- Navigate to the Backups tab and locate the "Create new backup" section
- Pick a label for the backup you're creating that describes its usage, for example
before-destructive-migration
. If you don't specify a label we'll generate one for you. - Click Create new backup.
Your backup will be created on the background. This might take a few moments, depending on the size of your database.
Restoring a backup in place
WARNING
Restoring a backup in place will overwrite the existing data in your database! If you want to keep the existing data in your database, check out restoring a backup to a new database.
To restore a backup of your database in place, you can follow these five steps under Services > MySQL:
- Select the database by clicking on its label
- Navigate to the Backups tab and locate the backup you want to restore in place
- Click the Restore button
- Locate the "Restore in place" section
- Click Restore in place.
Your backup will be restored into your existing database. This might take a few moments, depending on the size of your database.
Restoring a backup to a new database
You can restore a backup to a new MySQL database under Services > MySQL in these easy steps:
- Select the database by clicking on its current label
- Navigate to the Backups tab and locate the backup you want to restore to another database
- Click the Restore button
- Locate the "Restore to new database" section
- Pick a new label for the database that describes its usage, for example
production-db
- Click Restore to a new database.
Your backup will be restored to a new database. This might take a few moments, depending on the size of your database.