lamw/ghettoVCB — pull request #52 by slobberbone (2014-12-10 09:56:45+00:00)
Title: Mount persistent LUN before bakcup and suspend VM before backup

Here the two new functionnalities and their configurations :
Mount persistent LUN before backup all VMs :+1:
Enable refresh LUN before backup by 1=on, 0=off
ENABLE_REFRESH_LUN=0
And set the LUN interface name (iSCSI Software adapter name) of your ESX(i) Server
ISCSI_INTERFACE=vmhba37

Suspend VM before backup each VM if needed :
DO NOT USE IN THE SAME TIME WITH POWER_VM_DOWN_BEFORE_BACKUP. Suspend guestOS prior to running backups and power them back on afterwards.This feature assumes VMware Tools are installed, else they will not suspend and loop forever 1=on, 0 =off
SUSPEND_VM_BEFORE_BACKUP=0
Number of iterations the script will wait before giving up on suspending the VM and ignoring it for backup this will be a multiple of 60 (e.g) = 5, which means this will wait up to 300secs (5min) before it gives up
SUSPEND_TIMEOUT=5