Gregg's MOTD

Tips & Tricks that I've Encountered Over the Years...

Export VirtualBox VDI using CLI

June 14, 2023 — Gregg Szumowski

Sometimes you may want to move a virtual machine in VirtualBox from one server to another. Once way of doing that is to export it from the command line.

  1. Locate the virtual machine that you want to export (I’ll use the name UbuntuServer for the one to be exported and name the new one UbuntuServerNew), and then
  2. Run the export command as follows:

$ vboxmanage export UbuntuServer -o UbuntuServerNew.ova

Tags: cli, virtualization, virtualbox, motd