VirtualBox

Opened 17 years ago

Closed 8 years ago

#680 closed enhancement (fixed)

Import/export VM

Reported by: Vincent Bernat Owned by:
Component: other Version: VirtualBox 1.5.0
Keywords: export migrate move Cc:
Guest type: other Host type: other

Description (last modified by aeichner)

Hi !

I prepare my VMs on my workstation and would like to transfer them on my laptop when I am outside. But I don't have enough place on my laptop to have all my virtual machines. A great feature would be to be able to export a VM and to import it on another machine. A VM includes:

  • disks
  • configuration
  • snapshots

I have tried to copy files by hand and to use VBoxManage registervm, but I get messed up with UUID (and then, cannot import the VM). The only solution is then to remove snapshots, copy VDI and then create a new machine. Losing snapshot is a pain.

Change History (15)

comment:1 by markba, 17 years ago

Due to this problem, this (creating a new vm) is my standard method when transporting VM's. Coming from VMware where nothing has to be registered (recreating an id on vm startup), this is a hassle. I understand that registration has some benefits, but is should me made easier.

comment:2 by virtyb, 17 years ago

I find this a very important feature. Using VMs you want to be able to quickly move images from one machine to another, to do re-distribution of workload between different servers. With VMWare (with specific hardware setup) you can change from one machine to another online, without interruption of execution or network connections. I don't exactly need this, but it should be a lot easier to move from one station to another.

comment:3 by Michael Thayer, 17 years ago

This is in progress, but with a low priority, so I can't give any time frame for it.

comment:4 by arny, 16 years ago

I agree this feature would be useful, this scheme can cause much grief. Several examples of problems I had:

  • Dual boot Windows/Linux
  • Multiuser setup with VM sharing
  • Using a VM on a laptop and a desktop

comment:5 by Arni Kromic, 16 years ago

I'd find this feature very useful, especially that I often use vbox on several different computers; also under different users on a same computer. This can be quite hard and confusing sometimes.

comment:6 by kookyman, 16 years ago

Agreed. This definitely needs to be worked on. Today, I successfully managed to bring in a pre-existing VM (I added the UUID manually to the config files). The only problem I had was needing to modify the VM to remove the UUID of the CD Image (doesn't exist on this machine, couldn't deselect it since the VM was in an 'Unavailable' state so was locked down from GUI based changes, and I needed to release and relink the HD image.). Otherwise it worked, so it is possible. If you "add" a VM File, there is no reason that VirtualBox can't do a quick check for the HD Images/CD Images, if the associated UUIDs are not available then just clear the drives. Its not that hard to Re-add/Re-mate the drives. And that to me is the only unworkable part right now. I'm sure there is more to importing/exporting, but even functionality at this level would be a significant improvement.

comment:7 by Schmoemi, 15 years ago

It's a pity, really, virtualbox doesn't support that. Otherwise it could be a serious free alternative to VMware Workstation.

comment:8 by Sander van Leeuwen, 15 years ago

Already possible since 2.2.0. Not including snapshots, but that will come later.

in reply to:  8 comment:9 by Schmoemi, 15 years ago

Replying to sandervl73:

Already possible since 2.2.0. Not including snapshots, but that will come later.

You mean this .OVF-Stuff?

comment:10 by Frank Mehnert, 15 years ago

Exactly.

comment:11 by Schmoemi, 15 years ago

Ok that's a first step towards ;-)

comment:12 by Markus Duft, 15 years ago

any progress on this? i'd really need this for my daily use (the one preserving snapshots ;)).

comment:13 by Antony Stubbs, 14 years ago

You can't watch or vote for a ticket?

comment:14 by Frank Mehnert, 14 years ago

As soon as you add a comment to a ticket you will receive all further comments.

comment:15 by aeichner, 8 years ago

Description: modified (diff)
Resolution: fixed
Status: newclosed

Implemented long ago with the OVA Appliance import/export. Alternatively it is possible to move VM folders to a differnt machine for a long time too now.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette