February 23, 20206 yr I have two unRaid servers, and I sometimes move a vm from one to the other. Here's how I do it: On the old server: Shutdown the vm. Turn off auto-start if it's on. Edit the configuration to see the name and location of the .qcow2 file (probably in domains). Keep that configuration open. On the new server: Copy the qcow2 file to where you want it (probably in domains). Create a new VM. Fill it out the new configuration exactly the same as the old configuration. Set the Primary vDisk Location to Manual and point it to the new location. Be sure to copy over the Network MAC: address as well. That means your router's DHCP reservation will point to the new location. (You will probably need to reboot your router.) Cheers, Richard
August 14, 20223 yr Thanks for this write up - still works perfectly in 2022. One small difference, I found my VM images had the extension .vdi and not .qcow2 but copying them still works. Not sure if the different extension is just a later VM engine or just a change in the extension used by UNRAID.
August 18, 20223 yr One other suggestion: Copy the XML text and paste it over rather than recreating the configuration in the GUI
March 23, 20242 yr On 8/18/2022 at 7:58 PM, Arbadacarba said: One other suggestion: Copy the XML text and paste it over rather than recreating the configuration in the GUI Where do you find that XML ?
March 23, 20242 yr Community Expert 20 minutes ago, Helmonder said: Where do you find that XML ? xml is in /etc/libvirt/qemu
March 25, 20242 yr I was thinking more of editing the VM and switching to XML View from Form View in the top right corner. Then Select ALL, copy and paste into a new one
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.