Skip to content

Commit 0f21884

Browse files
authored
Merge pull request #336 from lamw/issue-335
Add support for 9.0.0/9.0.1 Closes #335
2 parents c13c007 + 488fb38 commit 0f21884

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525

2626
## Description
2727

28-
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.
28+
The ghettoVCB script performs backups of virtual machines residing on ESX(i) 3.x, 4.x, 5.x, 6.x, 7.x, 8.x & 9.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.
2929

30-
This script has been tested on ESX 3.5/4.x/5.x and ESXi 3.5/4.x/5.x/6.x/7.x/8.x and supports the following backup mediums: LOCAL STORAGE, SAN and NFS. The script is non-interactive and can be setup to run via cron. Currently, this script accepts a text file that lists the display names of virtual machine(s) that are to be backed up. Additionally, one can specify a folder containing configuration files on a per VM basis for granular control over backup policies.
30+
This script has been tested on ESX 3.5/4.x/5.x and ESXi 3.5/4.x/5.x/6.x/7.x/8.x/9.x and supports the following backup mediums: LOCAL STORAGE, SAN and NFS. The script is non-interactive and can be setup to run via cron. Currently, this script accepts a text file that lists the display names of virtual machine(s) that are to be backed up. Additionally, one can specify a folder containing configuration files on a per VM basis for granular control over backup policies.
3131

3232
Additionally, for ESX(i) environments that don't have persistent NFS datastores designated for backups, the script offers the ability to automatically connect the ESX(i) server to a NFS exported folder and then upon backup completion, disconnect it from the ESX(i) server. The connection is established by creating an NFS datastore link which enables monolithic (or thick) VMDK backups as opposed to using the usual *nix mount command which necessitates breaking VMDK files into the 2gbsparse format for backup. Enabling this mode is self-explanatory and will evidently be so when editing the script (Note: `VM_BACKUP_VOLUME` variable is ignored if `ENABLE_NON_PERSISTENT_NFS=1`).
3333

@@ -77,7 +77,7 @@ In its current configuration, the script will allow up to 3 unique backups of th
7777
* Support changing custom VM name during restore
7878

7979
## Requirements:
80-
* VMs running on ESX(i) 3.5/4.x+/5.x/6.x/7.x/8.x
80+
* VMs running on ESX(i) 3.5/4.x+/5.x/6.x/7.x/8.x/9.x
8181
* SSH console access to ESX(i) host
8282

8383
## Download

ghettoVCB-restore.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
###### DO NOT EDIT PASS THIS LINE ######
88

9-
LAST_MODIFIED_DATE=2024_06_30
9+
LAST_MODIFIED_DATE=2025_10_30
1010
VERSION=1
1111
VERSION_STRING=${LAST_MODIFIED_DATE}_${VERSION}
1212

@@ -94,6 +94,7 @@ sanityCheck() {
9494
ESX_VERSION=$(vmware -v | awk '{print $3}')
9595

9696
case "${ESX_VERSION}" in
97+
9.0.0|9.0.1) VER=9; break;;
9798
8.0.0|8.0.1|8.0.2|8.0.3) VER=8; break;;
9899
7.0.0|7.0.1|7.0.2|7.0.3) VER=7; break;;
99100
6.0.0|6.5.0|6.7.0) VER=6; break;;

ghettoVCB.sh

100755100644
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# User Definable Parameters
1010
##################################################################
1111

12-
LAST_MODIFIED_DATE=2024_06_30
12+
LAST_MODIFIED_DATE=2025_10_30
1313
VERSION=1
1414

1515
# directory that all VM backups should go (e.g. /vmfs/volumes/SAN_LUN1/mybackupdir)
@@ -309,6 +309,7 @@ sanityCheck() {
309309
ESX_RELEASE=$(uname -r)
310310

311311
case "${ESX_VERSION}" in
312+
9.0.0|9.0.1) VER=9; break;;
312313
8.0.0|8.0.1|8.0.2|8.0.3) VER=8; break;;
313314
7.0.0|7.0.1|7.0.2|7.0.3) VER=7; break;;
314315
6.0.0|6.5.0|6.7.0) VER=6; break;;

0 commit comments

Comments
 (0)