Skip to content

Manage MySQL backups ​

Creating and restoring backups runs in the background and can take a few moments, depending on the size of your database.

Create a new backup ​

Under Services > MySQL:

  1. Select the database by clicking on its label
  2. Navigate to the Backups tab and locate the "Create new backup" section
  3. Optionally, pick a label that describes the backup, for example before-destructive-migration.
  4. Click Create new backup.
The Backups tab of a MySQL database with the form to create a new backup and the existing backups

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.

Under Services > MySQL:

  1. Select the database by clicking on its label
  2. Navigate to the Backups tab and locate the backup you want to restore in place
  3. Click the Restore button
  4. Locate the "Restore in place" section
  5. Click Restore in place.
The Restore in place section of a backup, with a caution that the database is unavailable while restoring

Restoring a backup to a new database ​

Under Services > MySQL:

  1. Select the database by clicking on its label
  2. Navigate to the Backups tab and locate the backup you want to restore to another database
  3. Click the Restore button
  4. Locate the "Restore to new database" section
  5. Pick a new label for the database that describes its usage, for example production-db
  6. Click Restore to new database.
The Restore to new database section of a backup with a label for the new database

Downloading a backup ​

Under Services > MySQL:

  1. Select the database by clicking on its label
  2. Navigate to the Backups tab and locate the backup you want to download
  3. Click the Download button.