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 pgbasebackup or pgbackrest.
      --backup-type string      The backup type to perform. Default is pgbasebackup. Valid backup types are pgbasebackup, pgbackrest and pgdump.
  -h, --help                    help for backup
      --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.
      --storage-config string   The name of a Storage config in pgo.yaml to use for the cluster storage.  Only applies to pgbasebackup backups.

Options inherited from parent commands

      --apiserver-url string     The URL for the PostgreSQL Operator apiserver.
      --debug                    Enable debugging when true.
      --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 19-Mar-2019