RichardU Posted February 23, 2020 Share Posted February 23, 2020 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 2 Quote Link to comment
Geoff Bland Posted August 14, 2022 Share Posted August 14, 2022 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. Quote Link to comment
Arbadacarba Posted August 18, 2022 Share Posted August 18, 2022 One other suggestion: Copy the XML text and paste it over rather than recreating the configuration in the GUI 2 Quote Link to comment
Helmonder Posted March 23 Share Posted March 23 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 ? Quote Link to comment
SimonF Posted March 23 Share Posted March 23 20 minutes ago, Helmonder said: Where do you find that XML ? xml is in /etc/libvirt/qemu Quote Link to comment
Arbadacarba Posted March 25 Share Posted March 25 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 Quote Link to comment
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.