A newer version of this documentation is available. Use the version menu above to view the most up-to-date release of the Greenplum 6.x documentation.
Plugin command to delete the directory for a given backup timestamp from a remote system.
delete_backup plugin_config_file timestamp
gpbackup_manager invokes the delete_backup plugin command to delete the directory specified by the backup timestamp on the remote system.
- The absolute path to the plugin configuration YAML file.
- The timestamp for the backup to delete.
The delete_backup command must exit with a value of 0 on success, or a non-zero value if an error occurs. In the case of a non-zero exit code, gpbackup_manager displays the contents of stderr to the user.
my_plugin delete_backup /home/my-plugin_config.yaml 20191208130802