Using pre and post scripts

If you want to use the pre and post scripts to perform necessary actions before and after the backup is performed, these scripts should return an exit code of 0 for success and any other value for failure. In the latter case, the data protection operation is also affected as follows:

  • An exit code is greater than 0: The status of the backup task will be set to Done with errors and the task will continue.

  • An exit code is less than 0: The status of the backup task will be set to Failed.

For details on how to specify pre and post scripts, see the following topics: