Plugin command to stream data from the remote storage system to
<plugin_executable> restore_data <plugin_config_file> <data_filenamekey>
gprestore invokes the
restore_data plugin command on each segment host when a restoring a streaming backup.
restore_data implementation should read a potentially large data file named or mapped to
data_filenamekey from the remote storage system and write the contents to
stdout. If the
backup_data command modified the data in any way (i.e. compressed),
restore_data should perform the reverse operation.
restore_data 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.