# # JABS Session Preference File # # This file is loaded AFTER all others configuration and # initialization files and BEFORE the command line arguments # parsing. # # Last edited: 27 apr 2009 # ############################################################ # # REQUIRED PARAMETERS # # # The name of the session. # Just for printing purpose but it is required. # SESSION_NAME="" # # The list of VMs to be backed up by this session. # This list will be used to filter the available # virtual machines display names. # SESSION_VMLIST=( displayName1 displayName2 displayName3 ) # # The destination path for the VMs backup files # An ending / is not required # You can also use plugins to specify destinations # - file:// # - scp://@: # I prefer to use a NFS vmkernel destination share # but you can use a SMB Service Console share too. # #SESSION_DESTINATION_ROOT=/export/ SESSION_DESTINATION_ROOT=/vmfs/volumes/ # # Space needed in the destination directory # Must be given in gigabytes # Set to 0 if you are using plugins to specify # destination path or if you don't want to check # for free space on destination # SESSION_DESTINATION_FREE=100 # # If greater than zero, unique destination directory # for each virtual machine will be generated # SESSION_DESTINATION_UNIQUE=0 # # If greater than zero, no backup will be # done for virtual machines having snaphots # SESSION_ABORT_IF_SNAPSHOT=1 # # If greater than zero, no backup will be # done for any virtual machines. # All checks will be performed as normal sessions # but backup statements will only be written # into VM logs without being executed. # SESSION_TEST_MODE=1 ############################################################ # # OPTIONAL PARAMETERS # # # The query done against the hosted VMs # Default value is all powered on VMs # #SESSION_QUERY="any:" #SESSION_QUERY="powerstate:off" #SESSION_QUERY="powerstate:on" # # Where to store the logs. # Default is a random generated directory # If a static name is used, the directory # will be erased before any operation. # #SESSION_LOG_DIRECTORY=/var/log/vmware/jabs-$$ SESSION_LOG_DIRECTORY=/var/log/vmware/jabs-test # # Log level used with vcbMounter statement # SESSION_LOG_LEVEL=3 # # Server to connect to. # Default is $VCHOST from /etc/vmware/backup.conf # #SESSION_HOST="$VCHOST" ############################################################ # # EMail configuration (SMTP) # # This function needs sendEmail Perl script to work # It can be downloaded from # http://caspian.dotconf.net/menu/Software/SendEmail # # # Path to the Perl script # SENDEMAIL="/usr/local/bin/sendEmail" # # FROM address # SESSION_EMAIL_FROM="jabs@"$HOSTNAME # # TO address # SESSION_EMAIL_TO="someone@toixland.org" # # SMTP server. Leave blank to disable mail. # SESSION_EMAIL_SERVER=""