Create a MySQL backup¶
To create a backup:
- Go to Backup > All Backups.
- Click Create Backup.
- Specify the type of backup that you want to create: On Demand or Schedule Backup.
- Enter a unique name for this backup.
- Choose the service to back up from the Service name drop-down menu. This automatically populates the DB Technology field and selects the Physical data model, as this is the only model available for MySQL backups.
- Choose a storage location for the backup. MySQL currently only supports storing backups to Amazon S3. If no options are available here, see the Create a storage location topic section above.
- If you’re creating scheduled backups, also specify the backup type, the schedule, and a retention policy for your backup:
- Backup Type: currently, PMM only supports Full backup types for MySQL.
- Schedule: configure the frequency and the start time for this backup.
Make sure that the schedule you specify here does not create overlapping jobs or overhead on the production environment. Also check that your specified schedule does not overlap with production hours.
- Retention: this option is only available for Snapshot backups stored on S3-compatible object storage. If you want to keep an unlimited number of backup artifacts, type
- Expand Advanced Settings to specify the settings for retrying the backup in case of any issues. You can either let PMM retry the backup again (Auto), or do it again yourself (Manual). Auto retry mode enables you to select up to ten retries and an interval of up to eight hours between retries.
- To start creating the backup artifact, click Backup or Schedule at the top of the window, depending on whether you are creating a scheduled or an on-demand backup.
- Go to the All Backups tab, and check the Status column. An animated ellipsis indicator shows that a backup is currently being created.
Last update: 2023-03-30