As you can see there are a few variables; the only important one to set is SRUID, which holds the id of the NFS share picked earlier.
This script goes through every machine name listed in the name_macchine.txt file and takes the snapshot, saves the xva file and destroys the snapshot.
Once the backup is complete, you'll have all the .xva files in the NFS destination picked earlier. On the command line you'll get output similar to this:
bash
Macchina1 Export succeeded
The following items are about to be destroyed
VM : cfa16755-187e-bd93-b828-7772db6a35ef (2017-05-25_20_07_27 backup B_K07_FWPD9)VDI: 8c8b0d5a-33f3-4dd9-aeba-2375805458fa (New virtual disk (14))All objects destroyed FINE Macchina1
And that wraps up this little guide to hot backups at zero cost!