~ # ./ghettoVCB.sh -f vms_to_backup -d debug Logging output to "/tmp/ghettoVCB-2011-12-27_13-37-15.log" … Insufficient arguments. 2011-12-27 13:37:15 — info: ========== ghettoVCB LOG START=========== 2011-12-27 13:37:15 — debug: Succesfully acquired lock directory – /tmp/ghettoVCB.lock 2011-12-27 13:37:15 — debug: HOST VERSION: VMware ESXi 5.0.0 build-469512 2011-12-27 13:37:15 — debug: HOST LEVEL: VMware ESXi 5.0.0 GA 2011-12-27 13:37:16 — debug: HOSTNAME: localhost 2011-12-27 13:37:16 — info: CONFIG – VERSION = 2011_11_19_1 2011-12-27 13:37:16 — info: CONFIG – GHETTOVCB_PID = 450122 2011-12-27 13:37:16 — info: CONFIG – VM_BACKUP_VOLUME = /vmfs/volumes/datastore1/backup/backup 2011-12-27 13:37:16 — info: CONFIG – VM_BACKUP_ROTATION_COUNT = 3 2011-12-27 13:37:16 — info: CONFIG – VM_BACKUP_DIR_NAMING_CONVENTION = 2011-12-27_13-37-15 2011-12-27 13:37:16 — info: CONFIG – DISK_BACKUP_FORMAT = thin 2011-12-27 13:37:16 — info: CONFIG – POWER_VM_DOWN_BEFORE_BACKUP = 0 2011-12-27 13:37:16 — info: CONFIG – ENABLE_HARD_POWER_OFF = 0 2011-12-27 13:37:16 — info: CONFIG – ITER_TO_WAIT_SHUTDOWN = 3 2011-12-27 13:37:16 — info: CONFIG – POWER_DOWN_TIMEOUT = 5 2011-12-27 13:37:16 — info: CONFIG – SNAPSHOT_TIMEOUT = 15 2011-12-27 13:37:16 — info: CONFIG – LOG_LEVEL = debug 2011-12-27 13:37:16 — info: CONFIG – BACKUP_LOG_OUTPUT = /tmp/ghettoVCB-2011-12-27_13-37-15.log 2011-12-27 13:37:16 — info: CONFIG – VM_SNAPSHOT_MEMORY = 0 2011-12-27 13:37:16 — info: CONFIG – VM_SNAPSHOT_QUIESCE = 0 2011-12-27 13:37:16 — info: CONFIG – VMDK_FILES_TO_BACKUP = all 2011-12-27 13:37:16 — info: CONFIG – EMAIL_LOG = 0 2011-12-27 13:37:16 — info: 2011-12-27 13:37:19 — debug: Storage Information before backup: 2011-12-27 13:37:19 — debug: SRC_DATASTORE: datastore1 2011-12-27 13:37:19 — debug: SRC_DATASTORE_CAPACITY: 267.2 GB 2011-12-27 13:37:19 — debug: SRC_DATASTORE_FREE: 146.2 GB 2011-12-27 13:37:19 — debug: SRC_DATASTORE_BLOCKSIZE: 1 2011-12-27 13:37:19 — debug: SRC_DATASTORE_MAX_FILE_SIZE: 256 GB 2011-12-27 13:37:19 — debug: 2011-12-27 13:37:19 — debug: DST_DATASTORE: datastore1 2011-12-27 13:37:19 — debug: DST_DATASTORE_CAPACITY: 267.2 GB 2011-12-27 13:37:19 — debug: DST_DATASTORE_FREE: 146.2 GB 2011-12-27 13:37:19 — debug: DST_DATASTORE_BLOCKSIZE: 1 2011-12-27 13:37:19 — debug: DST_DATASTORE_MAX_FILE_SIZE: 256 GB 2011-12-27 13:37:19 — debug: 2011-12-27 13:37:19 — debug: getVMDKs() – linux.vmdk###100: 2011-12-27 13:37:19 — info: Initiate backup for linux 2011-12-27 13:37:19 — info: Creating Snapshot "ghettoVCB-snapshot-2011-12-27" for linux 2011-12-27 13:37:21 — debug: Waiting for snapshot "ghettoVCB-snapshot-2011-12-27" to be created 2011-12-27 13:37:21 — debug: Snapshot timeout set to: 900 seconds 2011-12-27 13:37:22 — debug: findVMDK() – Searching for VMDK: "linux.vmdk" to backup 2011-12-27 13:37:22 — debug: /sbin/vmkfstools -i "/vmfs/volumes/datastore1/linux/linux.vmdk" -a "lsilogic" -d "thin" "/vmfs/volumes/datastore1/backup/backup/linux/linux-2011-12-27_13-37-15/linux.vmdk" Destination disk format: VMFS thin-provisioned Cloning disk '/vmfs/volumes/datastore1/linux/linux.vmdk'… Clone: 94% done. 2011-12-27 13:38:19 — info: Removing snapshot from linux … 2011-12-27 13:38:19 — info: Backup Duration: 60 Seconds 2011-12-27 13:38:19 — info: Successfully completed backup for linux! 2011-12-27 13:38:21 — debug: Storage Information after backup: 2011-12-27 13:38:21 — debug: SRC_DATASTORE: datastore1 2011-12-27 13:38:21 — debug: SRC_DATASTORE_CAPACITY: 267.2 GB 2011-12-27 13:38:21 — debug: SRC_DATASTORE_FREE: 146.2 GB 2011-12-27 13:38:21 — debug: SRC_DATASTORE_BLOCKSIZE: 1 2011-12-27 13:38:21 — debug: SRC_DATASTORE_MAX_FILE_SIZE: 256 GB 2011-12-27 13:38:21 — debug: 2011-12-27 13:38:21 — debug: DST_DATASTORE: datastore1 2011-12-27 13:38:21 — debug: DST_DATASTORE_CAPACITY: 267.2 GB 2011-12-27 13:38:21 — debug: DST_DATASTORE_FREE: 146.2 GB 2011-12-27 13:38:21 — debug: DST_DATASTORE_BLOCKSIZE: 1 2011-12-27 13:38:21 — debug: DST_DATASTORE_MAX_FILE_SIZE: 256 GB 2011-12-27 13:38:21 — debug: 2011-12-27 13:38:21 — info: ###### Final status: All VMs backed up OK! ###### 2011-12-27 13:38:21 — debug: Succesfully removed lock directory – /tmp/ghettoVCB.lock 2011-12-27 13:38:21 — info: ===========ghettoVCB LOG END============= |