Plugin command to delete the directory for a given backup timestamp from a remote system.

Synopsis

<delete_backup> <plugin_config_file> <timestamp>

Description

gpbackup_manager invokes the delete_backup plugin command to delete the directory specified by the backup timestamp on the remote system.

Arguments

plugin_config_file
The absolute path to the plugin configuration YAML file.
timestamp
The timestamp for the backup to delete.

Exit Code

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.

Example

my_plugin delete_backup /home/my-plugin_config.yaml 20191208130802
check-circle-line exclamation-circle-line close-line
Scroll to top icon