lamw / ghettoVCB

ghettoVCB
MIT License
1.28k stars 364 forks source link

For unknown reason ghettoVCB stop fonctionning and delete the backlup folder after finishing the backup job. #239

Open pdsavard opened 3 years ago

pdsavard commented 3 years ago

Hi, after doing several backup without any problem, ghettoVCB start to do this: Backup occurd, but at the end, the backup folders is removed.... Any idea?

[root@localhost:~] /opt/ghettovcb/bin/ghettoVCB.sh -g /etc/ghettovcb/ghettoVCB.c onf -m Dunin-VM3 Logging output to "/tmp/ghettoVCB-2021-05-21_11-49-01-2178431.log" ... 2021-05-21 11:49:01 -- info: ============================== ghettoVCB LOG START ==============================

2021-05-21 11:49:02 -- info: CONFIG - USING GLOBAL GHETTOVCB CONFIGURATION FILE = /etc/ghettovcb/ghettoVCB.conf 2021-05-21 11:49:02 -- info: CONFIG - VERSION = 2020_10_10_4 2021-05-21 11:49:02 -- info: CONFIG - GHETTOVCB_PID = 2178431 2021-05-21 11:49:02 -- info: CONFIG - VM_BACKUP_VOLUME = /vmfs/volumes/54e5ac2d-e68bfec0-6ab6-b083fee3118c/BACKUPS 2021-05-21 11:49:02 -- info: CONFIG - ENABLE_NON_PERSISTENT_NFS = 0 2021-05-21 11:49:02 -- info: CONFIG - VM_BACKUP_ROTATION_COUNT = 0 2021-05-21 11:49:02 -- info: CONFIG - VM_BACKUP_DIR_NAMING_CONVENTION = 2021-05-21_11-49-01 2021-05-21 11:49:02 -- info: CONFIG - DISK_BACKUP_FORMAT = thin 2021-05-21 11:49:02 -- info: CONFIG - POWER_VM_DOWN_BEFORE_BACKUP = 0 2021-05-21 11:49:02 -- info: CONFIG - ENABLE_HARD_POWER_OFF = 0 2021-05-21 11:49:02 -- info: CONFIG - ITER_TO_WAIT_SHUTDOWN = 3 2021-05-21 11:49:02 -- info: CONFIG - POWER_DOWN_TIMEOUT = 5 2021-05-21 11:49:02 -- info: CONFIG - SNAPSHOT_TIMEOUT = 15 2021-05-21 11:49:02 -- info: CONFIG - LOG_LEVEL = info 2021-05-21 11:49:02 -- info: CONFIG - BACKUP_LOG_OUTPUT = /tmp/ghettoVCB-2021-05-21_11-49-01-2178431.log 2021-05-21 11:49:02 -- info: CONFIG - ENABLE_COMPRESSION = 0 2021-05-21 11:49:02 -- info: CONFIG - VM_SNAPSHOT_MEMORY = 0 2021-05-21 11:49:02 -- info: CONFIG - VM_SNAPSHOT_QUIESCE = 0 2021-05-21 11:49:02 -- info: CONFIG - ALLOW_VMS_WITH_SNAPSHOTS_TO_BE_BACKEDUP = 0 2021-05-21 11:49:02 -- info: CONFIG - VMDK_FILES_TO_BACKUP = all 2021-05-21 11:49:02 -- info: CONFIG - VM_SHUTDOWN_ORDER = 2021-05-21 11:49:02 -- info: CONFIG - VM_STARTUP_ORDER = 2021-05-21 11:49:02 -- info: CONFIG - RSYNC_LINK = 0 2021-05-21 11:49:02 -- info: CONFIG - BACKUP_FILES_CHMOD = 2021-05-21 11:49:02 -- info: CONFIG - EMAIL_LOG = 0 2021-05-21 11:49:02 -- info: CONFIG - ENABLE NFS IO HACK = 0

Datastore not found.

Datastore not found.

Datastore not found.

2021-05-21 11:49:07 -- info: Initiate backup for Dunin-VM3 Option --adaptertype is deprecated and hence will be ignored Destination disk format: VMFS thin-provisioned Cloning disk '/vmfs/volumes/SATA-DUNIN/Dunin-VM3/Dunin-VM3.vmdk'... Clone: 99% done. 2021-05-21 12:22:30 -- info: Slept 1 seconds to work around NFS I/O error 2021-05-21 12:22:30 -- info: Backup Duration: 33.38 Minutes 2021-05-21 12:22:30 -- info: Successfully completed backup for Dunin-VM3!

/opt/ghettovcb/bin/ghettoVCB.sh: line 1315: can't create /vmfs/volumes/54e5ac2d-e68bfec0-6ab6-b083fee3118c/BACKUPS/Dunin-VM3/Dunin-VM3-2021-05-21_11-49-01/STATUS.ok: nonexistent directory Datastore not found.

Datastore not found.

Datastore not found.

2021-05-21 12:22:34 -- info: ###### Final status: All VMs backed up OK! ######

2021-05-21 12:22:34 -- info: ============================== ghettoVCB LOG END ================================