Can I save and recover Virtual Box VMs?

I’ve been trying to install Virtual Box 4.2.28 under a OpenSuse 13.1 host.

I had it working with sound, cds, and a floppy drive, which I’ve “lost” (no entry in /etc/fstab any more).

The host has a physical floppy drive, and when I installed OpenSuse it found the floppy and it worked.

I’m trying to figure out what to put in /etc/fstab, but if worst comes to the worst, and I need to reinstall Opensuse, if I just copy my Virtual Box VM to a an extra partition, can I just copy it back after I reinstall OpenSuse and VirtualBox and not lose any of the work I’ve put into the VM so far?

Like other virtualization, Guests are always portable.
In this sense, it means that if for whatever reason you are able to copy the Guest to another Host running the same virtualization, and it will work.

So, your scenarios is one that is supported (Re-installation).
Another is if you wish to ever upgrade your hardware (even a completely different system altogether running on completely different hardware and even a different HostOS like another distro, another *NIX or even MS Windows), your Guest can be copied to that machine and will run immediately.

So, consider also making copies of your Guest, that’s an easy approach to backing up.

TSU

Good, Thanks. Bob

On Wed, 25 Mar 2015 01:56:02 +0000, robertsmits wrote:

> I’ve been trying to install Virtual Box 4.2.28 under a OpenSuse 13.1
> host.
>
> I had it working with sound, cds, and a floppy drive, which I’ve “lost”
> (no entry in /etc/fstab any more).
>
> The host has a physical floppy drive, and when I installed OpenSuse it
> found the floppy and it worked.
>
> I’m trying to figure out what to put in /etc/fstab, but if worst comes
> to the worst, and I need to reinstall Opensuse, if I just copy my
> Virtual Box VM to a an extra partition, can I just copy it back after I
> reinstall OpenSuse and VirtualBox and not lose any of the work I’ve put
> into the VM so far?

If it were me, I’d export to an OVF/OVA file. In fact, that’s what I
do. :slight_smile:

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Good, Thanks. Bob