Restore all database segments using the specified backup and the specified restore point.
gpdr restore -t | --type { full | incr | continuous } [ --backup-label <string> ] --restore-point <string> [--buffer-size <string>] [--compress-level-network <int>]
[--process-max <int>]
gpdr restore { -h | --help }
The gpdr restore
command restores all database segments using the specified backup and restore point.
--backup-label string
--restore-point string
--backup-label
option.
--buffer-size string
--compress-level-network <int>
compress-type
is set to
none
. Compression is used to reduce network traffic but can be disabled by setting
compress-level-network
to
0
. When
compress-type
is not set to
none
compress-level-network
is ignored and
compress-level
is used instead, so that the file is only compressed once. SSH compression is always disabled. The range is 0-9. The default is 3.
--process-max <int>
--process-max
so high that it negatively affects database performance. The range of accepted values is 1-999. The default is 1.
-t | --type { full | incr | continuous }
: Specifies the type of restore to perform: full, incremental, or continuous.
-h | --help
gpdr restore
command.
Execute a full restore:
$ gpdr restore --type full --restore-point 20221122-113051R
Execute an incremental restore:
$ gpdr restore --type incr --restore-point 20221122-113051R
Execute a continuous restore with a specific restore point:
$ gpdr restore --type continuous --restore-point 20221122-113051R
Execute a continuous restore with the latest available restore point:
$ gpdr restore --type continuous --restore-point latest