Its quite a common question and there are a few ways you can do it.
- You could use WINSCP or Veeam FastSCP to copy the appropriate .vmdk files and vmx file to a windows box and then from the windows box upto the new server.
Then register the VM by browsing the datastore in the virtual center client, right clicking on the .vmx file and select add to inventory.
- Copy files with scp
Log into esxhost1, then:
# cd /vmfs/vmfs_label (get to the desired .vmdk source directory)
# ls -lh (to confirm you see the desired disk on your source host)
# scp /vmfs/vmfs_label/source.vmdk root@esxhost2:/vmfs/vmfs_label/target.vmdk
(note: the method above uses some example variables such as esxhost1, esxhost2, vmfs_label (which is the vmfs friendly name), source.vmdk, and target.vmdk. Substitute for your environment as appropriate.)