] ./ghettoVCB.sh -a
: not found.sh: line 6:
: not found.sh: line 10:
: not found.sh: line 13:
: not found.sh: line 16:
: not found.sh: line 23:
: not found.sh: line 26:
: not found.sh: line 31:
: not found.sh: line 34:
: not found.sh: line 39:
: not found.sh: line 43:
: not found.sh: line 46:
: not found.sh: line 49:
: not found.sh: line 52:
: not found.sh: line 55:
: not found.sh: line 58:
: not found.sh: line 63:
: not found.sh: line 65:
: not found.sh: line 68:
: not found.sh: line 71:
: not found.sh: line 74:
: not found.sh: line 77:
: not found.sh: line 80:
: not found.sh: line 83:
: not found.sh: line 87:
: not found.sh: line 92:
: not found.sh: line 95:
: not found.sh: line 98:
: not found.sh: line 101:
: not found.sh: line 104:
: not found.sh: line 107:
: not found.sh: line 110:
: not found.sh: line 113:
: not found.sh: line 116:
: not found.sh: line 120:
: not found.sh: line 123:
: not found.sh: line 131:
: not found.sh: line 138:
: not found.sh: line 142:
: not found.sh: line 146:
: not found.sh: line 149:
: not found.sh: line 156:
: not found.sh: line 160:
: not found.sh: line 162:
: not found.sh: line 167:
: not found.sh: line 169:
: not found.sh: line 174:
: not found.sh: line 175:
###############################################################################
#
# ghettoVCB for ESX/ESXi 3.5, 4.x+, 5.x & 6.x
# Author: William Lam
#
virtuallyGhetto
# Documentation:
ghettoVCB.sh - Free alternative for backing up ... |VMware Communities
# Created: 11/17/2008
Version 4ified: 2019_01_06
#
###############################################################################
: not found.sh: line 187: echo
Usage: ghettoVCB.sh [options]
: not found.sh: line 189: echo
OPTIONS:
-a Backup all VMs on host
-f List of VMs to backup
-m Name of VM to backup (overrides -f)
-c VM configuration directory for VM backups
-g Path to global ghettoVCB configuration file
-l File to output logging
-w ghettoVCB work directory (default: /tmp/ghettoVCB.work)
-d Debug level [info|debug|dryrun] (default: info)
: not found.sh: line 199: echo
(e.g.)
Backup VMs stored in a list
./ghettoVCB.sh -f vms_to_backup
Backup a single VM
./ghettoVCB.sh -m vm_to_backup
Backup all VMs residing on this host
./ghettoVCB.sh -a
Backup all VMs residing on this host except for the VMs in the exclusion list
./ghettoVCB.sh -a -e vm_exclusion_list
Backup VMs based on specific configuration located in directory
./ghettoVCB.sh -f vms_to_backup -c vm_backup_configs
Backup VMs using global ghettoVCB configuration file
./ghettoVCB.sh -f vms_to_backup -g /global/ghettoVCB.conf
Output will log to /tmp/ghettoVCB.log (consider logging to local or remote datastore to persist logs)
./ghettoVCB.sh -f vms_to_backup -l /vmfs/volume/local-storage/ghettoVCB.log
Dry run (no backup will take place)
./ghettoVCB.sh -f vms_to_backup -d dryrun
: not found.sh: line 217: echo
: not found.sh: line 218: }
: not found.sh: line 219:
: not found.sh: line 223:
./ghettoVCB.sh: line 290: syntax error: unexpected "elif" (expecting "then")
[root@ESXIZENSIERT:/vmfs/volumes/5ccecb16-7d67cea2-1242-ac1f6bad0e41/ghettoVCB]