Raphael Aug 9 5:27AM 2018
I want to create a backup with ESXi 6.0 and I am getting the following error when it want's to create a snapshot: Failed - The operation is not allowed in the current state.
See output from ssh:
Vertical Backup 1.2.0 Trial license expires on 2018-09-08 Storage set to sftp://email@example.com///share/MD0_DATA/ESXi Listing all virtual machines Backing up VM-XXX, id: 3, vmx path: /vmfs/volumes/DATASTORE/vm-xxx/VM-XXX.vmx, guest os: windows8Server64Guest Last backup at revision 1 found Virtual machine VM-XXX is powered on Removing all snapshots of VM-XXX Creating a new virtual machine snapshot for VM-XXX Create Snapshot: Create snapshot failed Command '/bin/vim-cmd vmsvc/snapshot.create 3 2018-08-09-10-24-07 'Created by Vertical Backup 1.2.0' 0 1' returned 1 Removing all snapshots of VM-XXX
When I turn off the vm the backup works like excpected.
On ESXi 5.5 it all works fine.
Did I miss something on ESXi 6.0? Or would it be possible to shutdown the VM before the backup and turn it back on when it is finished, like the restore option. Then I can set the cron a midnight so nobody will notice the shutdown.
gchen Aug 9 9:52PM 2018
If you create a snapshot in the vSphere client, do you get the same error?
This looks like an issue with your host. See the resolution here: https://kb.vmware.com/s/article/1027707
Raphael Aug 13 2:32AM 2018
I do get the same error when I want to create a snapshot from the vShere client and from the web client. I already tried what is described in the kb. Maybe I schould restart the host completely. The uptime is 552 days :)