Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Recover Virtual Machine?

Featured Replies

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.  

 

image.thumb.png.de7b085dabfc9e46537e703ab61f464d.png

 

asgard-diagnostics-20240603-2333.zip

Solved by JorgeB

  • Solution
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.

  • Author

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.

Make sure for the future to have a current backup of that file, all the VMs XMLs are kept there.

  • Author

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.

  • 3 months later...

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?

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.