Pre & Post Backup Scripts provides the ability to run custom scripts before and after the execution of backup schedule. You can configure Pre & Post Backup Scripts at the job level for all selected hosts, and then further customize them individually for each host. Alternatively, you can directly configure Pre & Post Backup Scripts for individual hosts.
Click on the Pre/Post Script button or click on edit option of the selected host and you can create custom scripts in the following page.