How to backup and restore windows VMs on windows host

Discussions related to using VirtualBox on Windows hosts.
Post Reply
descott12
Posts: 21
Joined: 14. May 2022, 22:41

How to backup and restore windows VMs on windows host

Post by descott12 »

Hello,
I have an XP vm and and Win 7 VM on a win 10 host. Virtual Box 6.1.34

The Win 7 VM is stored in c:\virtual hard disks\Win7.hdd

The Win XP VM is stored in c:\users\des\virtual box VMs\WinXP\WinXP Clone.hdd
This folder also has \Logs, \Snapshots, a .vbox file and a .vbox-prev file.

There is also a similar folder for the Win7 VM but the win 7 hdd file is stored in a different place for some reason.
So why the different locations and what does one need to restore or move a VM to a different machine?


Thanks
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: How to backup and restore windows VMs on windows host

Post by BillG »

To backup a vm, copy the entire folder for the vm to another location.

To move a vm to a different machine, copy the entire folder to the new host, then register it in its new location.

By default the files comprising a vm are stored in a folder called VirtualBox VMs in your user folder. If they are somewhere else, they were put there be the person who created them.


VM Storage.png
VM Storage.png (22.99 KiB) Viewed 210 times
Bill
Post Reply