This script will make an export of all running machines in a XEN Source host and will be saved as .xva file.
This script mount a NFS shared resource (you can comment that part and use a local folder only).
This is the script I use for backing up my running Virtual machines each week.
#!/bin/bash
#
# Re-written by: Carlos V
#
#
DATE=`date +%d%B%y`
XSNAME=`echo $HOSTNAME` #This is the host where the script will run
BKPFOLDER=/mnt/exporta #folder to mount the NFS external exported Read more...