Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mount persistent LUN before bakcup and suspend VM before backup #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

slobberbone
Copy link

Here the two new functionnalities and their configurations :
Mount persistent LUN before backup all VMs :
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

# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant