Windows 10 - clone and use as VM?


Recommended Posts

I found something PRETTY COOL.

 

This tool let you make images while you in windows, its free and it can run via cmd.

 

http://www.drivesnapshot.de/de/intro.htm

 

So i guess, i could write a batch file which i run on every shutdown (or every X min) to create a image.

        C:\> SNAPSHOT C:   X:\C-Drive.sna

 

BUT

 

How do i get it in the VM? (sadly, its not .img)

 

I would need to shutdown the VM automatic (how?)

 

Then i need to boot something like DOS (or a docker????) [i found https://github.com/jgoerzen/docker-dosemu which is a DOS in a docker]  which imports the image and then starts Windows 10 VM.

 

Has anyone any idea how to do this?

 

1.) How can i automatic disable/enable a VM?

2.) can dos mount the image and then do the incr restore?!

Edited by nuhll
Link to comment

I thought about this, i think its possible with user scripts plugin...

 

1. Shutdown Windows 10, let a task run which does a incre. backup and send it to //unraidserver/Windows 10 VM/

        C:\> SNAPSHOT C:   X:\C-Drive.sna

 

2. script turns off Windows 10 VM

-Need to write script via user script plugin which detects when a new backup is there (maybe check every 5 min?)

-Then stops Windows 10 VM


3. script startet DOS (z.B.), öffnet Windows 10 VM image, spielt image ein

-user script starting e.g. DOS, mount .img (Windows 10 VM Image) and uses drive snapshot to restore the backup created in 1.)


4. script startet windows 10 VM

- user script plugin needs to start Windows 10 VM (and maybe delete old backup - not sure by now)

Link to comment
  • 1 year later...
  • 10 months later...

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.