ZFS Auto Snapshots and Scrubing

rmundel

Renowned Member
May 9, 2015
34
7
73
Brazil
Sup guys
I was thinking, what about offer ZFS Auto Snapshot and scrubbing via GUI with some kind of cron support?
Do you think it is worth developing that?
 
I was thinking, what about offer ZFS Auto Snapshot and scrubbing via GUI with some kind of cron support?
To support the configuration and execution of zpool scrub would be a nice feature. But for the auto-snapshot, this would encourage the usage as 'backup' method. And by far, snapshots are not a backup! Any damage to the storage, has the possibility to render the snapshots useless. This is best left as an advanced feature on the CLI.

Do you think it is worth developing that?
Would you like to develop the scrubbing feature?
 
Indeed snapshots are not backups.
But they're very handy in various cases.
Yesterday one of our clients accidentally updated without where (lol) a ton of records and because of the snapshots nobody noticed.
Some months ago we rolled back another client who got pwned by some ransomware.

About the scrubbing, I just started digging into the Proxmox Developer Documentation and experimenting some stuff.
Maybe if nobody catch me up (hope some one does lol).
Anyways, thanks!
 
Hi,
we use also auto snapshot for some customers + backup.
(some big database, like snapshot each 20min-1h, and a full backup each days).

here the script

http://odisoweb1.odiso.net/create_snapshot.sh

simply add a cron like

create_snapshot.sh -n myvmname -k <numberofsnapshottokeep>
 
  • Like
Reactions: ebiss
About the scrubbing, I just started digging into the Proxmox Developer Documentation and experimenting some stuff.
Maybe if nobody catch me up (hope some one does lol).
I wanted to add, please subscribe to the pve-devel mailing list. This is our Proxmox VE development list and you are invited to send patches or start development discussions there.
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel