VMware

** How to copy a VM from ESXi 'A' to ESXi 'B'

  • Enable SSH on ESXi Server A
  • Enable SSH on ESXi Server A
  • Make sure SSH client FW security profile is enabled on Server A (so you can ssh from Server A to Server B)
  • The below command will copy the complete VM folder from Server A to Server B
  • Use Datastore GUI iunterface on vSphere to add VM to the inventory

NOTE: Enable SSH Client on Firewall on Server A, so it is allowed out!!!

scp -r "/vmfs/volumes/datastore1/<VM Folder>" root@<ipaddress of esxiB>:/vmfs/volumes/datastore1/

Make sure SSH is enabled on both Make sure SSH client FW security profile is enabled on Source Server