Snapshot auto delete based on snapshot count not time

Description

So something that bugs me with snapshots is that if I set them to delete after 2 weeks... and I do no changes. Eventually, I will have no snapshot history.

It would be great if there was a way to configure something like..
Snapshot lifetime 14 days at 1h per day = 336 snapshots. = this will NOT auto-delete them after 14 days. Simply it will create a queue of 336 slots.

What would happen then is if a new snapshot gets added, the last snapshot gets deleted on the list.
This way I would always have 336 snapshots per my share, but they could spam years instead of weeks given how often the volume is used.

Activity

Show:

Kris Moore 
July 18, 2024 at 5:57 PM

Thank you for submitting this feature request! To better accommodate and gauge community interest for future versions of TrueNAS we have moved the submission process to our TrueNAS Community Forums. If this feature is still important and relevant for consideration, please refer to the links below on how to submit it for community voting and TrueNAS roadmap review.

Feature Requests Forum:
https://forums.truenas.com/c/features/12

Feature Requests FAQ:
https://forums.truenas.com/t/about-the-feature-requests-category-readme-first/8802

Sean Nugent 
August 23, 2021 at 5:02 PM

Or perhaps a way of deleting snapshot over time such to achieve a result like

keep all for x days

keep daily for x weeks

keep monthly for x months

keep yearly for x years

 

Unresolved

Details

Priority

Assignee

Reporter

More fields

Katalon Platform

Created August 23, 2021 at 12:23 PM
Updated July 18, 2024 at 6:03 PM