Open bisi-sysadmin opened 4 years ago
I have experienced a similar problem whereby I use the -f option to select certain VMware images to backup, while also using the -d dryrun option and an almost identical output stream (after "ghettoVCB LOG START " shows "info: CONFIG" in the config section and "dryrun" in the virtual machine section output. The final status shows "###### Final status: ERROR: No VMs backed up! ######"
If all configuration parameters are correct and the backup (with dryrun) works properly, I believe it should show "###### Final status: OK, only a dryrun. ######" (similar to other dryruns that work correctly).
I recently updated a machine to ESXi 6.7u3, from something like 5.5. (actually a completely new install). I also updated the existing ghettoVCB code to the 2019-01-06 release. In doing some testing, I have discovered that if I have the -e option pointing at a file with VMs to be excluded, and add the -d dryrun option, ghettoVCB incorrectly fails to detect the debug level as dryrun, and reports an error. ( Final status: ERROR: No VMs backed up!).
I should note that the -e option does seem to work, in that the machines I want to avoid backing up are not selected and reported in the backup.
Here is the command and the output with all but one VM elided...
not using option -e results in almost-correct operation. I say almost-correct because VMs that always fail to backup, and create false-positives in the monitoring process, are selected for backup.
Finally, triggering the usage output does not mention the -e option, except in the examples.
Is the -e option somehow deprecated? Or is this something to do with 6.7U3? I should note that we have been relying on it for years
I have not confirmed yet whether the error occurs in a normal production run, and I won't be able to find that out for a day or so (when the regularly scheduled backup run happens), due to competing demands on the target (backup) server as we re-configure things.
Thanks in advance for any help.