qemu libvirt configuring path


caplam

Recommended Posts

Last week i had a bad experience with virt manager. I created a vm and did not pay attention to the path of the image file. It was stored in /var/lib/libvirt which is not persistent so i lost my vm.

I'm converting all my vms to qcow2 to be able to take snapshots (very convenient before upgrading a server). Unfortunately unraid can not manage snapshots with a gui.

So i use virt manager (docker) or Webvirtmgr (docker). But when i take a snapshot it goes to /var/li/libvirt/qemu/snapshot.

There is no setting in virt manager to change the path of the snapshot.

Ideally i'd like to put the snapshots in /mnt/cache/domains/myvm which is persistent. But i don't know where to configure  that.

I've seen no option in libvirtd.conf or qemu.conf.

 

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.