proxmox zfs pool snapshot

ukro

Member
May 16, 2021
125
13
23
40
Greetings,
my eyes are bleading from googling.
Can anybody please help.
How can i automate snapshoting and hold specific amount of them (rotating lets say per hour basis) for the zfs pool that i have when i run zpool status.
I imported it from truenas machine that i killed. I see the data everything is okay, but proxmox GUI doesnt allow to set automated snapshot for it. or i didn't found.

Thank you for any pointers
 
I found this
Code:
I use ZFS on ProxMox and there is already a GUI option on the main datacenter page to perform daily snapshots with a maximum number of stored snapshots that will rotate once reached. They show up on the main GUI and can be restored from there too.
https://www.reddit.com/r/Proxmox/co...z?utm_source=share&utm_medium=web2x&context=3
But i am not able to find it in GUI

I also found this. Is this ne only most ez way? :-E
https://www.proliferoustech.com/blogs/20180630-zfs-backups-on-proxmox-with-znapzend/
 
Last edited:
So i tryed and this is working perfectly. Does somebody think that there is some automated script? Or i would need to do my own?
Code:
zfs list -t snapshot
zfs list
zfs snapshot rpool/somedataset@test
zfs rollback rpool/somedataset@test
zfs destroy rpool/somedataset@test