# How Kopia retention works?

**URL:** <https://kopia.discourse.group/t/how-kopia-retention-works/2049>\
**Category:** General Topics\
**Created:** [May 18, 2023, 8:57am UTC](https://kopia.discourse.group/t/how-kopia-retention-works/2049 "2023-05-18T08:57:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhaolan](https://avatars.discourse-cdn.com/v4/letter/z/bbe5ce/32.png) [@zhaolan](https://kopia.discourse.group/u/zhaolan)\
**Post date:** [May 18, 2023, 8:57am UTC](https://kopia.discourse.group/t/how-kopia-retention-works/2049/1 "2023-05-18T08:57:09Z")

</div>

I would need to apply a retention policy as follow:

- 1 snapshot by day for the last 4 days
- 1 snapshot by weekly
- 1 snapshot by monthly

I have a cron job to create snapshot everyday, but I noticed the weekly tag is always on the latest snapshot.

How does the retention work? daily snapshot will be purged after 4 days, right? Then, which snapshot will be kept for a week or a month?
