I want a “smart rolling” retention policy that meets the following criteria:
- First snapshot retained forever.
- Retain more recent snapshots and fewer old snapshots.
The goal is to have an efficient backup that retains a history extending back to the first snapshot, but places more emphasis on recent snapshots. For example, if the first snapshot was ten months ago:
Snapshot 1: 10 months ago (First snapshot retained forever.)
Snapshot 2: Five months ago
Snapshot 3: 10 weeks ago
Snapshot 4: Five weeks ago
Snapshot 5: Two weeks ago
…
…
Snapshot 10: Most recent snapshot.
In 10 years the repository would look something like:
Snapshot 1: 10 years ago (First snapshot still retained.)
Snapshot 2: Five years ago
Snapshot 3: Two years ago
…
…
Snapshot 10: Most recent snapshot.
This example highlights 10 snapshots, but the policy can permit more snapshots to exist in the repository at any given time.
Is this possible?