proxmox zfs pool snapshot

ukro

Member
May 16, 2021
124
13
23
39
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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!