As the title says I want to download vmdk file from ESXi host without stopping the virtual machine. I tried to download the file from vSphere Client, from the data store browser, however it said that the file operation filed, later I was able to find that this is caused by the fact that the virtual machine is running, however I can't stop it, since the component is critical. Any ideas how to get the vmdk file?
Downloading vmdk from ESXi without stopping the virtual machine
vmware-esxivmware-vsphere
Related Topic
- How to change configuration of virtual machine from command line of VMWare ESXi host
- Accessing the virtual machine installed on ESXi server from a remote computer without the use of Vsphere client
- Fastest way to move a large file from an ESXi host to another
- What are the steps to export a VM from KVM to ESXi
- How to convert disk from thin to thick in VMWare ESXi 6.5.0 Web UI
- VMWare not changing RAM on virtual machine
Best Answer
Official way:
According to VMware specs, before copying, moving or downloading a VM (vmdk files), you need to consolidate/remove all existing VM snapshots and then power off the VM, no shortcuts here.
Unofficial way:
A potential alternative (unsupported by VMware) works only if you have an ACID-compliant file system with snapshot support underneath it (for example ZFS). For more details, see explanation and example in case of FreeNAS and for the VMware-related part also the old ghettoVCB backup script. The general idea is as follows:
Restore steps are the same, but in reverse order. Advantage of this solution is that you can test the restore for each image offsite without disturbing your initial VM in any way.
It depends on your situation if this is good enough for you. In my opinion there are certain cases where it is good: