Charmed MongoDB K8s
- By Canonical Data Platform
- Databases
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 14 | 01 Aug 2022 | |
latest/edge | 20 | 02 Mar 2023 | |
latest/edge | 16 | 03 Aug 2022 | |
6/beta | 38 | 05 Dec 2023 | |
6/edge | 54 | 11 Sep 2024 | |
5/edge | 39 | 14 Dec 2023 |
juju deploy mongodb-k8s --channel 6/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:
This is a How-To for performing a basic restore. To restore a backup that was made from the a different cluster, (i.e. cluster migration via restore), please reference the Cluster Migration via Restore How-To K8s:
Restoring from a backup requires that you:
- Have a replica set with at least three-nodes deployed
- Access to S3 storage
- Have configured settings for S3 storage
- Have existing backups in your S3-storage
To view the available backups to restore you can enter the command list-backups
:
juju run mongodb-k8s/leader list-backups
This should show your available backups
backups: |-
backup-id | backup-type | backup-status
----------------------------------------------------
YYYY-MM-DDTHH:MM:SSZ | logical | finished
To restore a backup from that list, run the restore
command and pass the backup-id
to restore:
juju action mongodb-k8s/leader restore backup-id=YYYY-MM-DDTHH:MM:SSZ
Your restore will then be in progress.