Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated to support 8.0 Update 2 #305

Merged
merged 1 commit into from
Sep 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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