How to backup my whole VM properly ?

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Hisham
Posts: 6
Joined: 12. Feb 2022, 21:06

How to backup my whole VM properly ?

Post by Hisham »

Hello,

I've several VMs where all of them running Linux Mint as guest and I'm running Windows 10 as host.

I'm running the latest version of virtualbox and would like to know the proper way to backup my whole VM on my portable ssd.

Thanks.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: How to backup my whole VM properly ?

Post by scottgus1 »

The best way to back up a VM: shut the VM down completely from within the VM's OS (not saved state). Then copy the whole VM folder, and any disk files placed outside the VM's folder.

Running backups of a live VM should be done with inside-the-VM-OS 3rd-party live backup software, saving to another host or network disk through a real non-Virtualbox-provided shared folder.

Do not rely on any backup "routine" that involves taking a snapshot. Such a snapshotted backup is ultimately of a VM that acts upon restore as if the power had been unplugged on the OS, with dirty and lost data.
Hisham
Posts: 6
Joined: 12. Feb 2022, 21:06

Re: How to backup my whole VM properly ?

Post by Hisham »

Thank you so much for your reply.

This helped me a lot.
Post Reply