Ok so I just changed my setting to:
VM_BACKUP_VOLUME=/vmfs/volumes/DataStore2/backups
Unfortunatly I still have the same error. Im sure that my datastore is named "DataStore2" and it has 777 permissions.... I have to be missing something really obvious but would you mind looking over my debug log?
/ghettoVCB-master # ./ghettoVCB.sh -f vms_to_backup -d debug
Logging output to "/tmp/ghettoVCB-2013-01-25_01-29-14-1167766.log" ...
2013-01-25 01:29:15 -- info: ============================== ghettoVCB LOG START ==============================
2013-01-25 01:29:15 -- debug: Succesfully acquired lock directory - /tmp/ghettoVCB.work
2013-01-25 01:29:15 -- debug: HOST VERSION: VMware ESXi 5.1.0 build-799733
2013-01-25 01:29:16 -- debug: HOST LEVEL: VMware ESXi 5.1.0 GA
2013-01-25 01:29:16 -- debug: HOSTNAME: VMServer.gateway.2wire.net
2013-01-25 01:29:16 -- info: CONFIG - VERSION = 2013_01_11_0
2013-01-25 01:29:16 -- info: CONFIG - GHETTOVCB_PID = 1167766
2013-01-25 01:29:16 -- info: CONFIG - VM_BACKUP_VOLUME = /vmfs/volumes/mini-local-datastore-2/backups
2013-01-25 01:29:16 -- info: CONFIG - VM_BACKUP_ROTATION_COUNT = 3
2013-01-25 01:29:16 -- info: CONFIG - VM_BACKUP_DIR_NAMING_CONVENTION = 2013-01-25_01-29-14
2013-01-25 01:29:16 -- info: CONFIG - DISK_BACKUP_FORMAT = thin
2013-01-25 01:29:16 -- info: CONFIG - POWER_VM_DOWN_BEFORE_BACKUP = 0
2013-01-25 01:29:16 -- info: CONFIG - ENABLE_HARD_POWER_OFF = 0
2013-01-25 01:29:16 -- info: CONFIG - ITER_TO_WAIT_SHUTDOWN = 3
2013-01-25 01:29:16 -- info: CONFIG - POWER_DOWN_TIMEOUT = 5
2013-01-25 01:29:16 -- info: CONFIG - SNAPSHOT_TIMEOUT = 15
2013-01-25 01:29:16 -- info: CONFIG - LOG_LEVEL = debug
2013-01-25 01:29:16 -- info: CONFIG - BACKUP_LOG_OUTPUT = /tmp/ghettoVCB-2013-01-25_01-29-14-1167766.log
2013-01-25 01:29:16 -- info: CONFIG - ENABLE_COMPRESSION = 0
2013-01-25 01:29:16 -- info: CONFIG - VM_SNAPSHOT_MEMORY = 0
2013-01-25 01:29:16 -- info: CONFIG - VM_SNAPSHOT_QUIESCE = 0
2013-01-25 01:29:16 -- info: CONFIG - ALLOW_VMS_WITH_SNAPSHOTS_TO_BE_BACKEDUP = 0
2013-01-25 01:29:16 -- info: CONFIG - VMDK_FILES_TO_BACKUP = all
2013-01-25 01:29:16 -- info: CONFIG - VM_SHUTDOWN_ORDER =
2013-01-25 01:29:16 -- info: CONFIG - VM_STARTUP_ORDER =
2013-01-25 01:29:16 -- info: CONFIG - EMAIL_LOG = 0
2013-01-25 01:29:16 -- info:
Datastore not found.
Datastore not found.
Datastore not found.
2013-01-25 01:29:24 -- debug: Storage Information before backup:
2013-01-25 01:29:24 -- debug: SRC_DATASTORE: datastore1
2013-01-25 01:29:24 -- debug: SRC_DATASTORE_CAPACITY: 78.0 GB
2013-01-25 01:29:24 -- debug: SRC_DATASTORE_FREE: 62.4 GB
2013-01-25 01:29:24 -- debug: SRC_DATASTORE_BLOCKSIZE: 1
2013-01-25 01:29:24 -- debug: SRC_DATASTORE_MAX_FILE_SIZE: 256 GB
2013-01-25 01:29:24 -- debug:
2013-01-25 01:29:24 -- debug: DST_DATASTORE: mini-local-datastore-2
2013-01-25 01:29:24 -- debug: DST_DATASTORE_CAPACITY: 0.0 GB
2013-01-25 01:29:24 -- debug: DST_DATASTORE_FREE: 0.0 GB
2013-01-25 01:29:24 -- debug: DST_DATASTORE_BLOCKSIZE: NA
2013-01-25 01:29:24 -- debug: DST_DATASTORE_MAX_FILE_SIZE: NA
2013-01-25 01:29:24 -- debug:
mkdir: can't create directory '/vmfs/volumes/mini-local-datastore-2/': Operation not permitted
2013-01-25 01:29:24 -- info: Unable to create "/vmfs/volumes/mini-local-datastore-2/backups/PFSense"! - Ensure VM_BACKUP_VOLUME was defined correctly
Thank you in advance, im a bit of a ESXI noob...