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 pgbackup 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")
  -h, --help                             help for backup
      --pgbackrest-storage-type string   The type of storage to use when scheduling pgBackRest backups. Either "local", "s3" or both, comma separated. (default "local")
      --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.
      --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.
Auto generated by spf13/cobra on 31-Dec-2019