ghettoVCB-Express.sh - flexible backup/restore wrapper for single command backup & restore#332
Open
itiligent wants to merge 7 commits intolamw:masterfrom
Open
ghettoVCB-Express.sh - flexible backup/restore wrapper for single command backup & restore#332itiligent wants to merge 7 commits intolamw:masterfrom
itiligent wants to merge 7 commits intolamw:masterfrom
Conversation
added interactive recovery datastore selection and option to delete decompressed backups after restore (to save disk space during bulk migration/restore tasks) plus several small improvements
Author
|
Added ability to infintely customize backup and recovery selections in a single command eg ./ghettoVCB-Express.sh --restore --name VM1 --name VM2 This script searches the configured recovery or backup locations and automatcally builds the lists ghettoVCB reads from for both backup and restore tasks. Retores offer a prompt to rename each system on the fly. Also added interactive choice of recovery store, and option to delete decompressed backups after each individual vm restore to save disk space during bulk recovery tasks |
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.
PR Overview
This PR introduces
ghettoVCB-Express.sh, a fast and user-friendly wrapper forghettoVCB.shandghettoVCB-restore.shscripts.This wrapper script provides single command VM backup and recovery on ESXi via ghettoVCB.
Single command usability is achieved though automating the manual configuration tasks required by ghettoVCB, plus adding new flexibility via features such as:
How It Works
Just place the following files in the same directory:
ghettoVCB.conf(configure with your backup settings. Local or temporary NFS datastores remain supported)ghettoVCB.shghettoVCB-restore.shRun the script with arguments below:
The script automatically selects the backup datastore path from
ghettoVCB.confIf a non-persisten NFS backup datastore is configured in
ghettoVCB.conf, this will be auto-mounted, and dismounted on comepletion for both backup or restore jobs..About Backup Tasks
When run with
--allor--name:ghettoVCB.confoptions whilst also respecting exclusions in theEXCLUDE_VMSsection ofghettoVCB-Express.shAbout Restore Tasks
When run with
--restore --allor--restore --name:A vm restore list is generated automatically
Before restore execution: