Below are the steps I took to test Application-Aware processing for Linux Scripts for my test virtual machine.
- A Linux virtual machine - Tested with VMware ESXi 6.0.0 3380124 and Lubuntu 16.04 LTS
- Some scripts to run - Here's my example scripts that just create a freeze-thaw.log https://github.com/cajeeper/Veeam/tree/master/Linux%20Script
- Veeam Backup and Replication - Tested on Veeam Backup & Replication 126.96.36.1995
- Both Veeam Backup and Replication and the Linux virtual machine need to be on the same network.
- And, always RTFM - Veeam Backup & Replication 9.0 User Guide for VMware vSphere https://helpcenter.veeam.com/backup/vsphere/pre_post_scripts.html
- Setup your Linux VM with SSH
sudo apt-get install openssh-server -y
- Copy your scripts to your Veeam Backup & Replication server
Copying your scripts
- Add the script's execution to the Application-Aware Processing to your backup job.
Edit the job,
Go to Guest Processing section,
Enable application-aware process and click Applications,
Select your virtual machine and click Edit,
Go to the Scripts tab, and
Browse to your scripts that you want to run for Pre-freeze and Post-thaw
Note: Don't forget to assign you local login username and password that has SSH and the correct file / execution permissions.
- Save the changes and run the backup job
Veeam Backup and Recovery Backup Job Test Run
Verfiying the scripts ran
Best of luck!