Fastest way to move files from a guest VM to the host?

Posted by iTayb on Server Fault See other posts from Server Fault or by iTayb
Published on 2011-03-08T21:54:35Z Indexed on 2011/03/09 0:12 UTC
Read the original article Hit count: 524

Filed under:

Hey there.

I'm looking for the fastest way to copy files from a VM to physical servers.

Setting up a network between them isn't a thing I'd like to do. I believe it is much more secure when not having one.

VMware suggests using the Copy-VMGuestFile cmdlet from their PowerCLI interface, however I find it slow (Running at approximately 1.5MB/s).

I thought of the following:

  • Creating a new virtual hard drive, moving the files in, and download the .vmdk file from the server, then extracting it locally. It is possible, however will not work with working VMs, and I don't want to shut-down the VM every time I want to move files.
  • Use the virtual floppy device and download the .flp file. It works even if the VM is running, but it is limited to 2.8MB.

Do I have any other way?

I'm using ESXi 4.1.

Thanks.

© Server Fault or respective owner

Related posts about vmware