Copy VMs from one ESXi host to another using SSH & scp

Jul 01, 2016 15:50

scp -p -r /vmfs/volumes/datastorename/vmtocopy root@192.168.1.239:/vmfs/volumes/datastore2name/vmtocopy
-r means recursive
-p preserves modification times, access times, and modes from the original file.

Enable SSH on the host you are copy VM from.
Enable SSH Client in destination host's firewall.

Thanks to these guys: http://www.vhersey.com/2013/05/copy-files-between-esxi-hosts-using-scp/

computers, useful info, esxi, vmware

Previous post Next post
Up