Since Ghetto is currently able to write only on a local mounted folder: a disk path or a NFS path, we have two problems, the local disk is fast but maybe not big enough to keep 3 backups of all VMs, on the other side the NFS folder is slow to write.
I'm suggesting to change the script code and use SCP to copy the files on a remote SSH server which is faster, secure (each packet is verified thanks to the SSH protocol) and doesn't need to be mounted in advance from the ESXi server. Remember to add the SSH port option in the code, since sometimes people change the SSH server port. Thanks.
Since Ghetto is currently able to write only on a local mounted folder: a disk path or a NFS path, we have two problems, the local disk is fast but maybe not big enough to keep 3 backups of all VMs, on the other side the NFS folder is slow to write. I'm suggesting to change the script code and use SCP to copy the files on a remote SSH server which is faster, secure (each packet is verified thanks to the SSH protocol) and doesn't need to be mounted in advance from the ESXi server. Remember to add the SSH port option in the code, since sometimes people change the SSH server port. Thanks.