# Issue with retention policy

**URL:** <https://kopia.discourse.group/t/issue-with-retention-policy/1827>\
**Category:** Support\
**Created:** [February 26, 2023, 6:38pm UTC](https://kopia.discourse.group/t/issue-with-retention-policy/1827 "2023-02-26T18:38:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![olliebean](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/olliebean/32/583_2.png) [@olliebean](https://kopia.discourse.group/u/olliebean)\
**Post date:** [February 26, 2023, 6:38pm UTC](https://kopia.discourse.group/t/issue-with-retention-policy/1827/1 "2023-02-26T18:38:45Z")

</div>

If I want to keep hourly snapshots for the last week, it seems the way to do this would be to set Kopia to retain 168 hourly snapshots. But I have “Ignore Identical Snapshots”  
turned on, which means that on most days, only a few hourly snapshots are actually saved. So retaining 168 hourly snapshots actually results in several weeks of hourly snapshots being retained.

Is there any way to tell Kopia to retain latest/hourly/daily/etc. snapshots for a particular period of time, instead of a particular number of snapshots?

---

<div class="post-metadata">

**Author:** ![olliebean](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/olliebean/32/583_2.png) [@olliebean](https://kopia.discourse.group/u/olliebean)\
**Post date:** [March 5, 2023, 7:41pm UTC](https://kopia.discourse.group/t/issue-with-retention-policy/1827/2 "2023-03-05T19:41:16Z")

</div>

So based on the lack of reply, can I take it that it is not possible to retain snapshots according to their age, rather than their number?

---

<div class="post-metadata">

**Author:** ![budy](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/budy/32/38_2.png) [@budy](https://kopia.discourse.group/u/budy)\
**Post date:** [March 6, 2023, 11:41am UTC](https://kopia.discourse.group/t/issue-with-retention-policy/1827/3 "2023-03-06T11:41:09Z")

</div>

Yeah, I would agree. There’s no control to remove snapshots older than a particular date.

---

<div class="post-metadata">

**Author:** ![olliebean](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/olliebean/32/583_2.png) [@olliebean](https://kopia.discourse.group/u/olliebean)\
**Post date:** [March 10, 2023, 11:17am UTC](https://kopia.discourse.group/t/issue-with-retention-policy/1827/4 "2023-03-10T11:17:16Z")

</div>

I’ve submitted a feature request for this: [Retention based on time, rather than number of snapshots](https://kopia.discourse.group/t/retention-based-on-time-rather-than-number-of-snapshots/1867)
