pgo backup
pgo backup
Perform a Backup
Synopsis
BACKUP performs a Backup, for example:
pgo backup mycluster
pgo backup [flags]
Options
--backup-opts string The options to pass into pgbackrest.
--backup-type string The backup type to perform. Default is pgbackrest. Valid backup types are pgbackrest and pgdump. (default "pgbackrest")
-d, --database string The name of the database pgdump will backup. (default "postgres")
-h, --help help for backup
--pgbackrest-storage-type string The type of storage to use when scheduling pgBackRest backups. Either "posix", "s3" or both, comma separated. (default "posix")
--pvc-name string The PVC name to use for the backup instead of the default.
-s, --selector string The selector to use for cluster filtering.
Options inherited from parent commands
--apiserver-url string The URL for the PostgreSQL Operator apiserver that will process the request from the pgo client. Note that the URL should **not** end in a '/'.
--debug Enable additional output for debugging.
--disable-tls Disable TLS authentication to the Postgres Operator.
--exclude-os-trust Exclude CA certs from OS default trust store
-n, --namespace string The namespace to use for pgo requests.
--pgo-ca-cert string The CA Certificate file path for authenticating to the PostgreSQL Operator apiserver.
--pgo-client-cert string The Client Certificate file path for authenticating to the PostgreSQL Operator apiserver.
--pgo-client-key string The Client Key file path for authenticating to the PostgreSQL Operator apiserver.
SEE ALSO
- pgo - The pgo command line interface.