Using ovftool to copy VM hosts

OVFTool can be used to copy VM hosts from one ESXi server to another via the CLI.

Download OVF Tool

[email protected]:~$ ovftool -ds=datastore0 vi://[email protected]/VIRL vi://[email protected]
Enter login information for source vi://192.168.86.55/
Username: root
Password: *********
Opening VI source: vi://[email protected]:443/VIRL
Enter login information for target vi://192.168.86.2/
Username: root
Password: *********
Opening VI target: vi://[email protected]:443/
Deploying to VI: vi://[email protected]:443/

-ds = the destination datastore name


comments powered by Disqus