Charmed PostgreSQL
- By Canonical Data Platform
- Databases
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 316 | 11 Aug 2023 | |
14/stable | 288 | 18 Apr 2023 | |
14/candidate | 326 | 19 Sep 2023 | |
14/beta | 330 | 27 Sep 2023 | |
14/edge | 330 | 26 Sep 2023 |
juju deploy postgresql --channel 14/stable
You will need Juju 2.9 to be able to run this command. Learn how to upgrade to Juju 2.9.
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
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.
Help us improve this documentation
Most of this documentation can be collaboratively discussed and changed on the respective topic in the doc category of the Charmhub forum. See the documentation guidelines if you’d like to contribute.