Jump to content

Virtual Machines...how do we back them up?


arretx

Recommended Posts

I guess I need some help understanding VM's.  I have a few running, and if I edit the configuration, each one has a Primary vDisk Location which points to a single file.

 

Is this file the entire VM setup, including any changes that have been made while accessing that VM and its features?

 

For example, if I back up the .qcow2 file in the /mnt/user/domains/home_assistant/ path, what am I actually backing up, and what am I not?

Link to comment
17 hours ago, arretx said:

if I back up the .qcow2 file in the /mnt/user/domains/home_assistant/ path, what am I actually backing up, and what am I not?

You are backing up the "hard drive" of the virtual computer but not the type of motherboard and other emulated hardware, or other details about the virtual system. Think of it as a custom built PC, if you restore the hard drive to a totally different system with different CPU, more or less RAM, a different video card, a different network card, etc, it may boot and run, it may not, but it will definitely know it's running on different "hardware".

 

If you also make a copy of the XML that is used to define those items, the XML that you reference here,

17 hours ago, arretx said:

I edit the configuration

you can use that XML (seen in advanced edit mode) to recreate the exact virtual system. You may also need to back up any other files besides the main vdisk file if any are referenced in the XML.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...