Backup, and restore to a specific point in time, a database cluster’s files.

Note: Greenplum Cluster Recovery relies on the gp_pitr extension, which is automatically installed in Greenplum Database 6.22 and later. See the gp_pitr reference page for details.

Synopsis

gpcr <command> [<options>]

gpcr backup
gpcr configure
gpcr create-restore-point
gpcr expire
gpcr info
gpcr monitor
gpcr restore

gpcr {--debug}

gpcr {help | -h | --help}

gpcr {--quiet}

gpcr --verbose

Description

The gpcr utility lets back up, and restore to a specific point in time, a cluster’s physical data. You may back up to four types of systems: Amazon S3, Posix-based systems (NFS), Google Cloud Platform, or a local filesystem. The utility supports both full and incremental backups, and allows you to specify named restore points that govern from what point in time data must be restored from the archived data.

It includes a number of commands:

Command Description
backup Back up all of the segments of the database cluster
configure Configure the database cluster for backup or restore
create-restore-point Create an explicit restore point
expire Designate a backup as expired and delete it, by setting the backup’s expiration date to now
help Display command help
info Retrieve information about all backups in the specified archive location
monitor Monitor and report on backup progress
restore Restore all database segments using the specified backup and restore point

Options

–debug
gpcr prints both verbose and debugging-related messages.
-h | –help
Displays a help message for the gpcr command. For help on a specific gpcr command, enter gpcr [command] --help. For example:
$ gpcr expire --help
–quiet
gpcr suppresses non-warning, non-error log messages.
–verbose
gpcr prints verbose log messages.

Examples

Show help for a specific command

gpcr create-restore-point --help

See Also

gpcr backup, gpcr configure, gpcr create-restore-point, gpcr expire, gpcr info, gpcr monitor, gpcr restore

check-circle-line exclamation-circle-line close-line
Scroll to top icon