Skip to content

Commit

Permalink
Merge pull request #305 from lamw/issue-304
Browse files Browse the repository at this point in the history
Updated to support 8.0 Update 2
  • Loading branch information
lamw authored Sep 29, 2023
2 parents 23daa4f + 7e01b60 commit f59cab9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions ghettoVCB-restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@

###### DO NOT EDIT PASS THIS LINE ######

LAST_MODIFIED_DATE=2023_04_21
LAST_MODIFIED_DATE=2023_09_29
VERSION=1
VERSION_STRING=${LAST_MODIFIED_DATE}_${VERSION}

printUsage() {
echo "###############################################################################"
echo "#"
echo "# ghettoVCB-restore for ESX/ESXi 3.5, 4.x, 5.x, 6.x & 7.x"
echo "# ghettoVCB-restore for ESX/ESXi 3.5, 4.x, 5.x, 6.x, 7.x & 8.x"
echo "# Author: William Lam"
echo "# http://www.virtuallyghetto.com/"
echo "# Documentation: http://communities.vmware.com/docs/DOC-8760"
Expand Down Expand Up @@ -94,7 +94,7 @@ sanityCheck() {
ESX_VERSION=$(vmware -v | awk '{print $3}')

case "${ESX_VERSION}" in
8.0.0|8.0.1) VER=8; break;;
8.0.0|8.0.1|8.0.2) VER=8; break;;
7.0.0|7.0.1|7.0.2|7.0.3) VER=7; break;;
6.0.0|6.5.0|6.7.0) VER=6; break;;
5.0.0|5.1.0|5.5.0) VER=5; break;;
Expand Down
6 changes: 3 additions & 3 deletions ghettoVCB.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# User Definable Parameters
##################################################################

LAST_MODIFIED_DATE=2023_04_21
LAST_MODIFIED_DATE=2023_09_29
VERSION=1

# directory that all VM backups should go (e.g. /vmfs/volumes/SAN_LUN1/mybackupdir)
Expand Down Expand Up @@ -177,7 +177,7 @@ VM_BACKUP_DIR_NAMING_CONVENTION="$(date +%F_%H-%M-%S)"
printUsage() {
echo "###############################################################################"
echo "#"
echo "# ghettoVCB for ESX/ESXi 3.5, 4.x, 5.x, 6.x & 7.x"
echo "# ghettoVCB for ESX/ESXi 3.5, 4.x, 5.x, 6.x, 7.x & 8.x"
echo "# Author: William Lam"
echo "# http://www.virtuallyghetto.com/"
echo "# Documentation: http://communities.vmware.com/docs/DOC-8760"
Expand Down Expand Up @@ -309,7 +309,7 @@ sanityCheck() {
ESX_RELEASE=$(uname -r)

case "${ESX_VERSION}" in
8.0.0|8.0.1) VER=8; break;;
8.0.0|8.0.1|8.0.2) VER=8; break;;
7.0.0|7.0.1|7.0.2|7.0.3) VER=7; break;;
6.0.0|6.5.0|6.7.0) VER=6; break;;
5.0.0|5.1.0|5.5.0) VER=5; break;;
Expand Down

0 comments on commit f59cab9

Please sign in to comment.