I’ve been using Duplicacy for a couple of years and I have been thinking about introducing Vertical Backup now for a client. I noticed on the website that Vertical Backup can not backup a VM when it is running (ESXi 7). What then is the recommended way to use Vertical Backup for ESXi 7.0? What are you guys doing while we wait for a solution?
Does a script have to be run before and after Vertical Backup to shut down a VM then power it back on once the backup is complete?
If so I see I can use the esxcli to gracefully shutdown a VM but how can I ‘programmatically verify’ that it is in fact not running anymore before running Vertical Backup? If I’m on the right track here I would also assume that the script must wait for a while before verifying that the VM is actually shut down, then run Vertical Backup. I’m not sure how to accomplish this.
I’m also assuming that looping through all existing VMs would be the first step.
Is there some other recommended workaround? I’m not so good with coding and I’m wondering if you have already created a script that I can use with Vertical Backup on ESXi 7.0?
If I have a solution for this then I should be able make a recommendation for my client.