Just wanted to mention that in rustic (A restic client written in rust - #8 by alexweiss) I added the option --keep-id
which does exactly this, i.e. keep that particular snapshot. But here, also this option has to be given for each forget
run.
Actually thinking about it I would favor to add an extra (optional) field remove_after
in each snapshot file:
-
"remove_after":"2023-04-26T14:38:45.569970645+02:00"
would mean this snapshot is automatically removed by aforget
run after the given date -
"remove_after":"never"
would mean this snapshot is never removed at all byforget
-
"remove_after":"instantly"
would mean this snapshot is removed by the nextforget
run.
Then we would additionally need a command to modify this field in one ore more snapshots…
Do you like this idea? Any thoughts?
I’l sleep a night over this and maybe include it in rustic