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. (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.
      --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.
  -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 4-Oct-2019