This version of the Pivotal Greenplum documentation is no longer actively maintained. Click here to view the most up-to-date version of the Greenplum 4.x documentation.
Plugin command to move a backup file from the remote storage system.
plugin_executable restore_file plugin_config_file file_to_restore
gprestore invokes the restore_file plugin command on the master and each segment host for the file that gprestore will read from a backup directory on local disk.
The restore_file command should process and move the file from the remote storage system to file_to_restore on the local host.
- The absolute path to the plugin configuration YAML file.
- The absolute path to which to move a backup file from the remote storage system.
The restore_file command must exit with a value of 0 on success, non-zero if an error occurs. In the case of a non-zero exit code, gprestore displays the contents of stderr to the user.