{"id":24645,"date":"2022-07-10T16:41:53","date_gmt":"2022-07-10T15:41:53","guid":{"rendered":"https:\/\/ekiwi-blog.de\/?p=24645"},"modified":"2022-12-26T11:12:01","modified_gmt":"2022-12-26T10:12:01","slug":"virtualbox-export-virtual-machine-as-ova-from-the-command-line","status":"publish","type":"post","link":"https:\/\/ekiwi-blog.de\/en\/24645\/virtualbox-export-virtual-machine-as-ova-from-the-command-line\/","title":{"rendered":"VirtualBox: Export virtual machine as OVA from the command line"},"content":{"rendered":"<p>Export virtual machines to the OVA format with the command line tool &#8220;VBoxManage&#8221;.<\/p>\n<p><!--more--><\/p>\n<p>Export virtual machines to the OVA format (Open Virtual Appliance), this can be done either directly in the user interface of VirtualBox or also with the command line tool &#8220;VBoxManage&#8221;. <\/p>\n<p>This is located in the program folder of VirtualBox.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/07\/vboxmanage_1.png\" alt=\"\" width=\"469\" height=\"257\" class=\"aligncenter size-full wp-image-24640\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/07\/vboxmanage_1.png 469w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/07\/vboxmanage_1-300x164.png 300w\" sizes=\"auto, (max-width: 469px) 100vw, 469px\" \/><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of content<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/ekiwi-blog.de\/en\/24645\/virtualbox-export-virtual-machine-as-ova-from-the-command-line\/#Listing_the_virtual_machines\" >Listing the virtual machines<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/ekiwi-blog.de\/en\/24645\/virtualbox-export-virtual-machine-as-ova-from-the-command-line\/#Export_virtual_machine_as_OVA_file\" >Export virtual machine as OVA file<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Listing_the_virtual_machines\"><\/span>Listing the virtual machines<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>We can get a list of virtual machines with the following command:<\/p>\n<pre>\r\nvboxmange list vms\r\n<\/pre>\n<p>This will give us a list of virtual machines. <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/07\/vboxmanage_2.png\" alt=\"\" width=\"540\" height=\"185\" class=\"aligncenter size-full wp-image-24642\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/07\/vboxmanage_2.png 540w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/07\/vboxmanage_2-300x103.png 300w\" sizes=\"auto, (max-width: 540px) 100vw, 540px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Export_virtual_machine_as_OVA_file\"><\/span>Export virtual machine as OVA file<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>With the following command, we can export the virtual machine:<\/p>\n<pre>\r\nvboxmanage export LinuxMint -o c:\\temp\\LinuxMint.ova\r\n<\/pre>\n<p>We specify the name of the VM, plus the &#8220;-o&#8221; parameter and the destination. The folder must exist, otherwise there will be an error message.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/07\/vboxmanage_3.png\" alt=\"\" width=\"835\" height=\"204\" class=\"aligncenter size-full wp-image-24644\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/07\/vboxmanage_3.png 835w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/07\/vboxmanage_3-300x73.png 300w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/07\/vboxmanage_3-768x188.png 768w\" sizes=\"auto, (max-width: 835px) 100vw, 835px\" \/><\/p>\n<p>Depending on the size of the virtual machine, the process takes some time, the progress is displayed, but progresses slowly. When finished, the exported VM is <a title=\"location of iTunes.exe\" href=\"https:\/\/ekiwi-blog.de\/en\/26678\/where-is-itunes-exe-found-location-directory-path\/\">located in the specified directory<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Export virtual machines to the OVA format with the command line tool &#8220;VBoxManage&#8221;.<\/p>\n","protected":false},"author":1,"featured_media":14441,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1555],"tags":[],"class_list":["post-24645","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-en"],"_links":{"self":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/24645","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/comments?post=24645"}],"version-history":[{"count":0,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/24645\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media\/14441"}],"wp:attachment":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media?parent=24645"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/categories?post=24645"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/tags?post=24645"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}