Charmed PostgreSQL
- By Canonical Data Platform
- Databases
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 345 | 09 Nov 2023 | |
14/stable | 336 | 18 Oct 2023 | |
14/candidate | 336 | 18 Oct 2023 | |
14/beta | 336 | 18 Oct 2023 | |
14/edge | 350 | 02 Dec 2023 |
juju deploy postgresql --channel 14/stable
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
22.04
Creating and listing backups requires that you:
- Have a cluster with at least three-nodes deployed
- Access to S3 storage
- Have configured settings for S3 storage
Once you have a three-node cluster that has configurations set for S3 storage, check that Charmed PostgreSQL is active
and idle
with juju status
. Once Charmed PostgreSQL is active
and idle
, you can create your first backup with the create-backup
command:
juju run-action postgresql/leader create-backup --wait
You can list your available, failed, and in progress backups by running the list-backups
command:
juju run-action postgresql/leader list-backups --wait
Tips: to avoid unnecessary service downtime always use non-Primary units for the action
create-backup
. Keep in mind:
- Enabling TLS disables the command from running on primary units.
- Not having TLS enabled disables the command from running on non-primary units.