Am I the only one who would find this useful? (ZFS "hold" to protect important snapshots)

Joined
Oct 22, 2019
Messages
3,641
I'm trying to make the best argument possible for why this feature needs to be available in the GUI:


This is just a quick mock screenshot I made up. It serves only to give an idea of how it can be presented:
hold-snapshot.png




To reiterate:
  1. When creating a new snapshot, one of the options should be a checkbox to "Hold" it (i.e, protect it)
  2. When reviewing snapshots, one of the visible columns should be "Hold" (to review or sort by this feature)
  3. When reviewing snapshots, one of the options should be the ability to toggle on/off its "Hold" property (see above mock screenshot)

Since installing FreeNAS (now TrueNAS), up until even today, I'm using "xargs" with zfs "holds" and "list" just to review such protected snapshots in an SSH terminal. To protect a particular snapshot, I have to manually type out the entire dataset and snapshot name within the "hold" command. :frown: Tedious. I don't consider protecting snapshots to be some sort of fringe use-case (especially those that were created with a periodic snapshot task that you might want to protect beyond its expiration date).

We setup NAS solutions for the very reasons of data integrity, backups, and restores. Protecting important or milestone snapshots from being destroyed (either inadvertently or automatically) is part of that solution.
 
Last edited:

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
It's already there for the boot pool...

I voted for your proposal in Jira. (man Jira is slow today)
 

Cuprum

Cadet
Joined
Aug 15, 2018
Messages
6
I also believe that it would be an important feature addition. I have also added my vote in Jira.

Hope this suggestion will become a reality anytime soon.
 
Joined
Oct 22, 2019
Messages
3,641
Much appreciated, people! :smile:

(man Jira is slow today)
I've noticed that too. Sometimes I have to refresh the page for it to load properly. Is this across the board, or just for iXsystem's tracker? I remember it being slow and sluggish overall, in the past as well.
 

Adrian

Contributor
Joined
Jun 29, 2011
Messages
166
Recently iX's Jira has been much worse exercise in frustration for me. Click and wait, and wait, and ... Seems to take minutes to get going.
 
Top