I recently setup an ESXI 5.1 server and wanted to use ghettoVCB as my backup method of choice. I believe I have my config file created properly however I recieve an error when creating a backup path. Here is the output of the script.
/ghettoVCB-master #
/ghettoVCB-master # VM_BACKUP_VOLUME= /vmfs/volumes/DataStore2/backups
/ghettoVCB-master # DISK_BACKUP_FORMAT=zerothick
ALLOW_VMS_WITH_SNAPSHOTS_TO_BE_BACKEDUP=0
/ghettoVCB-master # VM_BACKUP_ROTATION_COUNT=3
/ghettoVCB-master # POWER_VM_DOWN_BEFORE_BACKUP=0
/ghettoVCB-master # ENABLE_HARD_POWER_OFF=0
/ghettoVCB-master # ITER_TO_WAIT_SHUTDOWN=3
/ghettoVCB-master # POWER_DOWN_TIMEOUT=5
/ghettoVCB-master # ENABLE_COMPRESSION=0
/ghettoVCB-master # VM_SNAPSHOT_MEMORY=0
/ghettoVCB-master # VM_SNAPSHOT_QUIESCE=0
/ghettoVCB-master # ALLOW_VMS_WITH_SNAPSHOTS_TO_BE_BACKEDUP=0
/ghettoVCB-master # ENABLE_NON_PERSISTENT_NFS=0
/ghettoVCB-master # UNMOUNT_NFS=0
/ghettoVCB-master # NFS_SERVER=172.30.0.195
/ghettoVCB-master # NFS_MOUNT=/nfsshare
/ghettoVCB-master # NFS_LOCAL_NAME=nfs_storage_backup
/ghettoVCB-master # NFS_VM_BACKUP_DIR=mybackups
/ghettoVCB-master # SNAPSHOT_TIMEOUT=15
/ghettoVCB-master # EMAIL_LOG=0
/ghettoVCB-master # EMAIL_SERVER=auroa.primp-industries.com
/ghettoVCB-master # EMAIL_SERVER_PORT=25
/ghettoVCB-master # EMAIL_DELAY_INTERVAL=1
/ghettoVCB-master # EMAIL_TO=auroa@primp-industries.com
/ghettoVCB-master # /ghettoVCB-master # ./ghettoVCB.sh -f vms_to_backup
-sh: /ghettoVCB-master: Permission denied
/ghettoVCB-master # Logging output to "/tmp/ghettoVCB-2013-01-19_17-32-04-873045.log" ...
-sh: Logging: not found
/ghettoVCB-master # 2013-01-19 17:32:06 -- info: ============================== ghettoVCB LOG START ====
==========================
-sh: 2013-01-19: not found
/ghettoVCB-master #
/ghettoVCB-master # 2013-01-19 17:32:06 -- info: CONFIG - VERSION = 2013_01_11_02013-01-19 17:32:06 -- i
nfo: CONFIG - GHETTOVCB_PID = 873045
-sh: 2013-01-19: not found
/ghettoVCB-master # 2013-01-19 17:32:06 -- info: CONFIG - VM_BACKUP_VOLUME = /vmfs/volumes/mini-local-da
tastore-2/backups2013-01-19 17:32:06 -- info: CONFIG - VM_BACKUP_ROTATION_COUNT = 3
-sh: 2013-01-19: not found
/ghettoVCB-master # 2013-01-19 17:32:06 -- info: CONFIG - VM_BACKUP_DIR_NAMING_CONVENTION = 2013-01-19_1
7-32-042013-01-19 17:32:06 -- info: CONFIG - DISK_BACKUP_FORMAT = thin
-sh: 2013-01-19: not found
/ghettoVCB-master # 2013-01-19 17:32:06 -- info: CONFIG - POWER_VM_DOWN_BEFORE_BACKUP = 0
-sh: 2013-01-19: not found
/ghettoVCB-master # 2013-01-19 17:32:06 -- info: CONFIG - ENABLE_HARD_POWER_OFF = 0
-sh: 2013-01-19: not found
/ghettoVCB-master # 2013-01-19 17:32:06 -- info: CONFIG - ITER_TO_WAIT_SHUTDOWN = 3
-sh: 2013-01-19: not found
/ghettoVCB-master # 2013-01-19 17:32:06 -- info: CONFIG - POWER_DOWN_TIMEOUT = 5
-sh: 2013-01-19: not found
/ghettoVCB-master # 2013-01-19 17:32:06 -- info: CONFIG - SNAPSHOT_TIMEOUT = 15
-sh: 2013-01-19: not found
/ghettoVCB-master # 2013-01-19 17:32:06 -- info: CONFIG - LOG_LEVEL = info
-sh: 2013-01-19: not found
/ghettoVCB-master # 2013-01-19 17:32:06 -- info: CONFIG - BACKUP_LOG_OUTPUT = /tmp/ghettoVCB-2013-01-19_
17-32-04-873045.log
-sh: 2013-01-19: not found
/ghettoVCB-master # 2013-01-19 17:32:06 -- info: CONFIG - ENABLE_COMPRESSION = 0
-sh: 2013-01-19: not found
/ghettoVCB-master # 2013-01-19 17:32:06 -- info: CONFIG - VM_SNAPSHOT_MEMORY = 02013-01-19 17:32:06 -- i
nfo: CONFIG - VM_SNAPSHOT_QUIESCE = 0
-sh: 2013-01-19: not found
/ghettoVCB-master # 2013-01-19 17:32:06 -- info: CONFIG - ALLOW_VMS_WITH_SNAPSHOTS_TO_BE_BACKEDUP = 0
-sh: 2013-01-19: not found
/ghettoVCB-master # 2013-01-19 17:32:06 -- info: CONFIG - VMDK_FILES_TO_BACKUP = all2013-01-19 17:32:06
-- info: CONFIG - VM_SHUTDOWN_ORDER =
-sh: 2013-01-19: not found
/ghettoVCB-master # 2013-01-19 17:32:06 -- info: CONFIG - VM_STARTUP_ORDER =
-sh: 2013-01-19: not found
/ghettoVCB-master # 2013-01-19 17:32:06 -- info: CONFIG - EMAIL_LOG = 0
-sh: 2013-01-19: not found
/ghettoVCB-master # 2013-01-19 17:32:06 -- info:Datastore not found.Datastore not found.
-sh: 2013-01-19: not found
/ghettoVCB-master # Datastore not found.mkdir: can't create directory '/vmfs/volumes/mini-local-datastor
e-2/': Operation not permitted
> 2013-01-19 17:32:15 -- info: Unable to create "/vmfs/volumes/mini-local-datastore-2/backups/PFSense"!
- Ensure VM_BACKUP_VOLUME was defined correctly
The backup path does exist and the "backups" folder has been changed to 777 permissions. I searched the group here but did not see anything that helped with this. Any thoughts?