I'm trying to get GhettoVCB dryrun running from rot so I can schedule a backup in crontab. But when I try to run the command from root I get this:
2023-01-26 13:03:06 -- info: ERROR: "vms_to_backup" is not valid VM input file!
###############################################################################
It works while I'm in the ghettoVCB-master directory and from root I can run the ./ghettoVCB.sh -a command without any problem. But I want that the backu up of the VM's in the list can happen in the root, so I can schedule it do perform the command automatically.
Also the vms_to_backup file was made on the ESXi host itself, according to the instructions in the documentation of the script itself, where the VM's are named one below the other.
Please help!
To be honest I don't know if someone will be able to help with this open source.
Most of us are using Veeam or Commvault.
I already found the problem, and it works so far. I read through the whole documentation and realised that I didn't put the whole path again when puting in the file name.
With that done, the tests run without a problem and I was receving dryrun notifications every 2 minutes until I killed the program.
Thank you for your answer anyway!