Go to file
William Lam f59cab9bde
Merge pull request #305 from lamw/issue-304
Updated to support 8.0 Update 2
2023-09-29 09:51:04 -07:00
build Update build script to create compatible VIB for ESXi 8.x 2023-04-21 14:55:22 -07:00
LICENSE.md Update README + LICENSE 2023-04-22 09:20:50 -07:00
README.md Update README w/uninstall and query operation 2023-06-14 12:50:14 -07:00
ghettoVCB-VMDKexclude.sh Update ghettoVCB-VMDKexclude.sh 2020-05-11 10:22:56 -04:00
ghettoVCB-restore.sh Updated to support 8.0 Update 2 2023-09-29 09:49:58 -07:00
ghettoVCB-restore_vm_restore_configuration_template Feature/Bug Fixes for ghettoVCB/ghettoVCB-restore + version control on github 2011-11-28 00:20:10 +00:00
ghettoVCB-vm_backup_configuration_template Feature/Bug Fixes for ghettoVCB/ghettoVCB-restore + version control on github 2011-11-28 00:20:10 +00:00
ghettoVCB.conf Add support for SMTP Authentication 2016-01-26 16:12:49 +01:00
ghettoVCB.sh Updated to support 8.0 Update 2 2023-09-29 09:49:58 -07:00

README.md

ghettoVCB

Description

The ghettoVCB script performs backups of virtual machines residing on ESX(i) 3.x, 4.x, 5.x, 6.x, 7.x & 8.x servers using methodology similar to VMware's VCB tool. The script takes snapshots of live running virtual machines, backs up the master VMDK(s) and then upon completion, deletes the snapshot until the next backup. The only caveat is that it utilizes resources available to the ESXi Shell running the backups as opposed to following the traditional method of offloading virtual machine backups through a VCB proxy.

Download

Latest ghettoVCB VIB and Offline Bundle can be downloaded from here

Install

You can quickly install/update ghettoVCB by downloading and installing either the VIB or offline bundle using the following commands. If you wish to update to latest ghettoVCB release and are using the ghettovcb.conf file and wish to have the setting persist, make sure to use the update command instead of install

Once installed, you will find all ghettoVCB configuration files located in:

/etc/ghettovcb/ghettoVCB.conf
/etc/ghettovcb/ghettoVCB-restore_vm_restore_configuration_template
/etc/ghettovcb/ghettoVCB-vm_backup_configuration_template

Both ghettoVCB and ghettoVCB-restore scripts are located in:

/opt/ghettovcb/bin/ghettoVCB.sh
/opt/ghettovcb/bin/ghettoVCB-restore.sh

Install VIB

esxcli software vib install -v /vghetto-ghettoVCB.vib -f

Install offline bundle

esxcli software vib install -d /vghetto-ghettoVCB-offline-bundle.zip -f

Update VIB

esxcli software vib update -v /vghetto-ghettoVCB.vib -f

Update offline bundle

esxcli software vib update -d /vghetto-ghettoVCB-offline-bundle.zip -f

Retrieve installation

esxcli software vib get -n ghettoVCB

Uninstall

Remove ghettoVCB

esxcli software vib remove -n ghettoVCB

Note: If the installation takes some time. Just wait. This is normal.

Build VIB/Offline Bundle

See the build documentation here

Additional Documentation & Resources