ghettoVCB-Express.sh - flexible backup/restore wrapper for single command backup & restore #332
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: