backup_data
gpbackup
invokes the backup_data
plugin command on each segment host during a streaming backup.
The implementation should read a potentially large stream of data from stdin
and write the data to a single file on the remote storage system. The data is sent to the command as a single continuous stream per Greenplum Database segment. If backup_data
modifies the data in any manner (i.e. compresses), must perform the reverse operation.
plugin_config_file
The absolute path to the plugin configuration YAML file.
The mapping key for a specially-named backup file for streamed data.
The backup_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, displays the contents of stderr
to the user.