Home » Categories » Virtualization » VMware

How to export a Virtual Machine using the VMware OVF Tool

ovftool.exe <source locator> <target locator>
ovftool.exe vi://<ESXi-host-ip/vm-name>
Ex: ovftool.exe vi://192.168.0.160/Test-VM H:\

# Windows
ovftool.exe vi://192.168.0.160/MikroTikOS6 F:\VMware

ovftool vi://[email protected]/MikroTikOS6 F:\VMware\MikroTikOS6.ova

# Linux
./ovftool vi://192.168.0.160/MikroTikOS6 /path/to/directory/folder

ovftool --noSSLVerify vi://[email protected]/MikroTikOS6 /path/to/directory/folder/MikroTikOS6-2/MikroTikOS6.ova


========================================================================================
# Linux ovftool Patch

VMware-ovftool-4.4.3-18663434-lin.x86_64.zip :

# File :
ovftool/ovftool : line : 1
#!/bin/bash
=>
#!/bin/sh

========================================================================================
# Make Archive
tar -czvf MikroTikOS6.tar.gz MikroTikOS6
tar -czvf MikroTikOS6.tar.gz /path/to/directory/folder/MikroTikOS6

# Find file in VMware
find / -name "*.vmx"

Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
 
Attachments Attachments
There are no attachments for this article.
Comments Comments
There are no comments for this article. Be the first to post a comment.
Related Articles RSS Feed
Migrate qcow2 images from KVM to VMWare
Viewed 4640 times since Sat, Feb 20, 2021
Convert qcow2 to vmdk
Viewed 1376 times since Tue, Feb 9, 2021
Reclaim Used Space with VMKFSTOOLS - Punchzero
Viewed 1497 times since Sat, Jan 1, 2022
Shrinking VMDK Virtual Disk Size on VMWare ESXi
Viewed 4310 times since Thu, Jan 6, 2022
OVFTool - Error: SHA digest of file ExortedVM.ovf does not match manifest
Viewed 2545 times since Mon, Jan 3, 2022
Convert Thick Provision Lazy Zeroed Disk to Thin on VMware ESXi by vmkfstools
Viewed 1165 times since Sat, Jan 1, 2022
QemuIMG - How to Convert VHD to VMDK: A Step-By-Step Guide
Viewed 1259 times since Sat, Jan 1, 2022
How to Export a vSphere ESXi 6.7 Virtual Machine
Viewed 1850 times since Sun, Feb 7, 2021
Enable content Copy/Paste between VMRC client and Windows/Linux Virtual Machine
Viewed 1501 times since Mon, Jan 3, 2022
Failed to reconfigure virtual machine Test-VM. The operation is not allowed in the current state.
Viewed 1698 times since Fri, Dec 31, 2021