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:
-
create-backup
Creates a backup to s3 storage.
-
get-password
Get the system user's password, which is used by charm. It is for internal charm users and SHOULD NOT be used by applications.
- Params
-
username string
The username, the default value 'operator'. Possible values - operator, replication, rewind.
-
get-primary
Get the unit which is the primary/leader in the replication.
-
list-backups
Lists backups in s3 storage.
-
restore
Restore a database backup using pgBackRest. S3 credentials are retrieved from a relation with the S3 integrator charm.
- Params
-
backup-id string
A backup-id to identify the backup to restore (format = %Y-%m-%dT%H:%M:%SZ)
-
set-password
Change the system user's password, which is used by charm. It is for internal charm users and SHOULD NOT be used by applications.
- Params
-
password string
The password will be auto-generated if this option is not specified.
-
username string
The username, the default value 'operator'. Possible values - operator, replication, rewind.
-
set-tls-private-key
Set the private key, which will be used for certificate signing requests (CSR). Run for each unit separately.
- Params
-
private-key string
The content of private key for communications with clients. Content will be auto-generated if this option is not specified.