Can I backup a running virtualbox Virtual machine?

What I would do in your case would be to click on "Save the machine state" in VirtualBox and then simply copy the whole VM folder to your backup drive. This way, when your laptop is returned to you with Windows 10, you can simply copy the VM folder back again to your VirtualBox VMs folder and then click on the yourVMName.vbox file to import the VM back into VirtualBox.

I have done this to move VMs to/from different computers and it's worked fine.


This is not possible.

Yes, you can save the state of the VM to disk and resume it later, but the upgrade to windows 10 will break it. I speak out of experience.

Technically speaking it should be possible to save and resume, but pratically I found out that it won't.


I am not sure about the whole system & virtual box change effect on your saved (cloned) VM. Honestly, I do not think it should break anything, that is what export is for, right?


But to answer the question that I came here with: Can I backup a running virtualbox Virtual machine?

The short answer is no. But there is a walk-around.

What you can do is use VirtualBox Snapshot. During snapshotting VBox freezes your system for a while, but it saves its current state. This might be enough if you do not want to move the machine.

I wanted to have a backup of this state. So now there is also a clone option. You can't clone a running VM. But you can clone a Snapshot of running VM :-)

So to have a copy of your machine:

  1. Create a Snapshot
    vboxmanage snapshot <uuid|vmname> take <snap-name>

  2. Clone the Snapshot
    vboxmanage clonevm <uuid|vmname> --snapshot <snap-name>

Docs: https://www.virtualbox.org/manual/ch08.html