I’d like to add a zfs hold to each monthly snapshot as its created - its for long term archive of some critical data.
The main reason I want to add a hold is to stop an accidental error or miss-configuration in the future (basically protecting me from myself).
I’ve been looking into using a Sanoid post_snapshot_script
and the relevant env vars
, but was wondering if there’s a better way or an existing script.