Hello guys,
i run a Win10 VM running my Invoice software and since it has been difficult to properly setup, i’d like to create a 1:1 image that can be restored in a VM or in a windows system later.
Which is the best way to do so?
Thank you
I have been trying to figure this out too.
You should be able to do dd if=/dev/zvol/path/to/image of=/path/to/backup/file
. Probably want to add bs=1m
or so to speed things up. And it’d probably be safest to do it with the VM powered off.
From the gui, choose the VM and click the Clone option in the row of bottom commands.
I dont think that will create an image that he can put on other hardware. That will create a backup VM.
Hourly ZFS snapshots are a real life saver and cost next to nothing. Just saying.
Only useful to recreate the VM on some suitable host, but not necessarily TrueNAS. Could be e.g. Proxmox.
Folks, setting up snapshot tasks for everything you store on TrueNAS should be the first thing you do right after creating any share, jail, app, VM, whatever …
I would say simply use Clonezilla (or you preferred alternative for this) and create an image file on a network share. (You do need to set up a network bridge if the destination is the Truenas system itself.)
Then you can easily later recover the machine wherever you like, physical hardware or a hypervisor of your choice.
That is a good idea.
If you setup a smb/nfs etc share on the truenas and connect the VM to it you could probably send the clonezilla output to it.