Ability to clone VM's


stelks

Recommended Posts

Relatively simple feature. I would like the ability to clone a VM when its off. This would be done off of the click menu:

image.png.1ecefc0418917264b22098f2c6607958.png

Lot of use cases for this and easier to implement then snapshots. Sometimes I want to test things in VM's and want to just be able to make a copy to then have in case I want to revert. Also useful for having a baseline image that is already configured to easy prop up a VM without doing the whole install. Recently I wanted to try Windows 11. Would have been nice to simply be able to duplicate my Win10 VM and upgrade that, then have both available to me to choose from. 

  • Like 4
  • Upvote 6
Link to comment
  • 4 weeks later...
2 hours ago, Arbadacarba said:

Even just the ability to clone the configuration and give it a new name... I do this routinely when I'm resurrecting a clients dead drive. I plug it into my USB or Drive Bay (Hot Swap) and boot the machine up with a standard configuration and attach the physical drive to the VM

For the config (only), just copy paste the config using XML mode, it is a manual method, but not that arduous to do.

Edited by tjb_altf4
  • Like 1
Link to comment
  • 10 months later...

+1

 

I'm doing this manually at the moment, with a baseline VM that I copy vdisks from to a new VM's folder, than manually edit settings.

 

Ideally, clicking "Clone" would bring you to a VM creation page, with all details filled out to match the previous VM.

Starting at this point would give some sort of error, telling you to change at least the name, I guess.

  • Like 1
Link to comment

+1 - As someone that has come from a Window OS and learning more each day the more "manual" way I can say having the steps to clone being something as simple as

  1. Right-Click
  2. Select Clone
  3. Depending on settings it either
    1. Auto creates an exact copy just adds suffix to file name or something like that
    2. Takes you to the VM creation page pre populated with original VM settings.
  • Like 1
Link to comment
  • 2 months later...

+1

 

Did the same as @-Daedalus; found creating the config afresh is better than copying the xml file. However, there seems to be an issue with the computer name: it'll be the same for both in a Domain Controller use case. Using my QNAP NAS as a DC for some tests. Changed the clone's name which reflected the same under Computers in the DC. Stopped this VM and turned on the original VM and the computer name reverted back to this original's one. The Computer name remained as that of the original VM with both VMs on. Not a major issue though. Perhaps clone and change the names before joining either to the DC?🤔

Edited by Kich902
Link to comment
  • 3 weeks later...
  • 2 weeks later...
  • 4 weeks later...
  • 3 weeks later...
  • 3 weeks later...
  • 4 weeks later...

I have starting working on a Clone option along with snapshots........ Current PR for snapshots https://github.com/limetech/webgui/pull/1331, PR clone not created yet.

 

 

 

May also include option for Sparce files and option to check for free space like snapshot.

 

image.png

 

 

 

Progress will been shown similar to block pull for snapshots.

 

 

image.png

 

 

Any other suggestions for other options.

  • Like 4
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.