[SOLVED] Snapshot of the system installation disc only

Coben

New Member
Apr 14, 2021
2
0
1
48
Good morning all.
above all, sorry for my level of English ...
I have a question regarding VM snapshots.
I am under PVE 6.3.
My setup is: a small hard drive for VMs and a pool of 3 large drives for data. I assigned this pool to a Truenas VM, it is used to store non-sensitive data.
When I want to take a snapshot of this VM, everything is backed up: the installation disk and the data disk pool.
The snapshot therefore takes up a lot of space and takes 2 to 3 days to take place. I would like to know if it is possible to only back up the system disk without the data disk (virtio2-3-4) pool.
Thanks in advance.
 

Attachments

  • pve2.png
    pve2.png
    185.6 KB · Views: 29
Hi,
In the advance options of the edit disk menu, there is a 'backup' checkbox which specifies whether or not a particular disk should be included in a backup job.
 
Ok good! Not easy to find for a newbie! Thank you very much!
Another question suddenly: if my VM crashes, and I create a new VM with this backup, will the storage pool be automatically attached to this restore?
 
Ok good! Not easy to find for a newbie! Thank you very much!
In fairness, I don't see any reference to it in our documentation either (which i'll update soon).

Another question suddenly: if my VM crashes, and I create a new VM with this backup, will the storage pool be automatically attached to this restore?
They will still be shown in the hardware section, but will be detached. To attach them again, you'll just have to select them, click edit, uncheck the backup option again, and hit add. For this, it's best to leave the "start after restore" option unchecked.