Charmed MySQL K8s
- Canonical
- Databases
Channel | Revision | Published | Runs on |
---|---|---|---|
8.0/stable | 180 | 02 Sep 2024 | |
8.0/stable | 181 | 02 Sep 2024 | |
8.0/candidate | 180 | 26 Aug 2024 | |
8.0/candidate | 181 | 26 Aug 2024 | |
8.0/beta | 207 | 15 Nov 2024 | |
8.0/beta | 206 | 15 Nov 2024 | |
8.0/edge | 209 | 18 Nov 2024 | |
8.0/edge | 208 | 18 Nov 2024 |
juju deploy mysql-k8s --channel 8.0/beta
Deploy Kubernetes operators easily with Juju, the Universal Operator Lifecycle Manager. Need a Kubernetes cluster? Install MicroK8s to create a full CNCF-certified Kubernetes system in under 60 seconds.
Platform:
Note: All commands are written for juju >= v.3.0
If you are using an earlier version, check the Juju 3.0 Release Notes.
How to create and list backups
This guide contains recommended steps and useful commands for creating and managing backups to ensure smooth restores.
Prerequisites
- A deployed MySQL K8s cluster
- Access to S3 storage
- Configured settings for S3 storage
Create a backup
Once juju status
shows Charmed MySQL K8s as active
and idle
you can create your first backup with the create-backup
command:
juju run mysql-k8s/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).
List backups
You can list your available, failed, and in progress backups by running the list-backups
command:
juju run mysql-k8s/leader list-backups