dubbleb Posted June 4 Posted June 4 Long story short, I lost my cache drive for docker containing appdata. I replaced the drive and restored and Docker is up and running(I think).  I noticed while restore docker that all of my virtual machines are missing and the screen is blank like initial config. The Domains share still has all of my vdisks for the virtual machines.  I have cross checked the domain.cfg and everything appears to be correct. I have even verified that the libvirt.img is in the location specified.  /mnt/user/system/libvirt/libvirt.img. I believe the libvirt.img was on the cache drive that I lost and I dont have a backup.  Can anyone give some guidance on how I can restore the VMs?  Also what is the best method of backing up the hypervisor and VMs on unraid? Scripts to copy the libvirt image to another server?  I have attached diagnostic tools but it is not showing any logs in QEMU.    asgard-diagnostics-20240603-2333.zip Quote
Solution JorgeB Posted June 4 Solution Posted June 4 59 minutes ago, dubbleb said: Can anyone give some guidance on how I can restore the VMs? If you don't have a libvirt.img backup, you can recreate the VMs with the same settings as they had and point to the existing vdisks, that should work for most. Quote
dubbleb Posted June 4 Author Posted June 4 Thanks @JorgeB I was hoping that might not be the answer. I have some odd virtual machines like GNS3, so not really sure I can remember the settings. I will test on a small one. Quote
JorgeB Posted June 4 Posted June 4 Make sure for the future to have a current backup of that file, all the VMs XMLs are kept there. Quote
dubbleb Posted June 4 Author Posted June 4 Thank you, will definitely back it up from now on. Â I mainly mess around with the docker containers so never really thought about backing up the VMs. Quote
homelabber-geekz Posted September 27 Posted September 27 hi guys, i have vm backup using the VB Backup plugins, but there is no restore options. i lost my cache drive. i have my vm ".xml" file and ".fd" file with my vdisk.img, but i have no clue where to copy this back to my cache drive for it to appear in my vm folder? can anyone help? Quote
JorgeB Posted September 27 Posted September 27 53 minutes ago, homelabber-geekz said: i have my vm ".xml" file and ".fd" file with my vdisk.img, but i have no clue where to copy this back to my cache drive for it to appear in my vm folder? can anyone help? See here: https://forums.unraid.net/topic/175306-strange-console-error-behavior-with-shutting-down-windows-11-vm/?do=findComment&comment=1467549 Â Quote
Recommended Posts
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.