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.
- 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
- Run the export command as follows:
$ vboxmanage export UbuntuServer -o UbuntuServerNew.ova
Tags: cli, virtualization, virtualbox, motd