Charmed MySQL
- By Canonical Data Platform
- Cloud
Channel | Revision | Published | Runs on |
---|---|---|---|
8.0/stable | 240 | 20 Jun 2024 | |
8.0/candidate | 275 | 12 Sep 2024 | |
8.0/candidate | 274 | 12 Sep 2024 | |
8.0/beta | 275 | 23 Aug 2024 | |
8.0/beta | 274 | 23 Aug 2024 | |
8.0/edge | 287 | 13 Sep 2024 | |
8.0/edge | 286 | 13 Sep 2024 |
juju deploy mysql --channel 8.0/stable
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
Create and List Backups
Hint: Use Juju 3. Otherwise replace
juju run ...
withjuju run-action --wait ...
for Juju 2.9.
Creating and listing backups requires that you:
- Have a Charmed MySQL deployed
- Access to S3 storage
- Have configured settings for S3 storage
Once Charmed MySQL is active
and idle
(check juju status
), you can create your first backup with the create-backup
command:
juju run mysql/leader create-backup
If you have a cluster of one unit, you can run the create-backup
action on mysql-k8s/leader
(which will also be the primary unit).
Otherwise, you must run the create-backup
action on a non-primary unit (see juju status
or run juju run-action mysql-k8s/leader get-cluster-status
to find the primary unit).
You can list your available, failed, and in progress backups by running the list-backups
command:
juju run mysql/leader list-backups