Mount persistent LUN before bakcup and suspend VM before backup#52
Open
slobberbone wants to merge 1 commit intolamw:masterfrom
Open
Mount persistent LUN before bakcup and suspend VM before backup#52slobberbone wants to merge 1 commit intolamw:masterfrom
slobberbone wants to merge 1 commit intolamw:masterfrom
Conversation
# 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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