In the documentation for snapshot.expiry it just says:
snapshots.expiry
When snapshots are to be deleted
| Key: | snapshots.expiry |
|---|---|
| Type: | string |
| Live update: | no |
Specify an expression like 1M 2H 3d 4w 5m 6y.
But it doesn’t say what the given value would actually do. Does it mean that snapshots older than approximately 6 and a half years will be deleted? (In which case it would be clearer as 6y 5m 4w 3d 2H 1M, as you would speak it)
Or is it keeping some snapshots for 1 minute, some snapshots for 2 hours, some for 3 days, and so on?
Also, is a “month” a calendar month, or some static value like 30 days? Otherwise, a period like “6 years, 5 months, 4 weeks and 3 days” is variable, depending on the current year and month.
Thanks!