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.
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
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 |
gpcr
prints both verbose and debugging-related messages.
gpcr
command. For help on a specific
gpcr
command, enter
gpcr [command] --help
. For example:
$ gpcr expire --help
gpcr
suppresses non-warning, non-error log messages.
gpcr
prints verbose log messages.
Show help for a specific command
gpcr create-restore-point --help
gpcr backup, gpcr configure, gpcr create-restore-point, gpcr expire, gpcr info, gpcr monitor, gpcr restore