# Size of Kopia repository

**URL:** <https://kopia.discourse.group/t/size-of-kopia-repository/1717>\
**Category:** Support\
**Created:** [January 17, 2023, 3:02pm UTC](https://kopia.discourse.group/t/size-of-kopia-repository/1717 "2023-01-17T15:02:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ecuso100](https://avatars.discourse-cdn.com/v4/letter/e/a698b9/32.png) [@ecuso100](https://kopia.discourse.group/u/ecuso100)\
**Post date:** [January 17, 2023, 3:02pm UTC](https://kopia.discourse.group/t/size-of-kopia-repository/1717/1 "2023-01-17T15:02:26Z")

</div>

The size of my Kopia repository is growing, even though I have deleted snapshots from a particular date and also deleted all snapshots for one particular job which was almost 90GB. I did not see my repository shrink by 90GB. Is there something I need to do in order to reduce the size of the repository after deleting snapshots?  
Thanks in advance for your assistance.

---

<div class="post-metadata">

**Author:** ![Dan\_Medhurst](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/dan_medhurst/32/487_2.png) [@Dan\_Medhurst](https://kopia.discourse.group/u/Dan_Medhurst)\
**Post date:** [January 20, 2023, 12:42am UTC](https://kopia.discourse.group/t/size-of-kopia-repository/1717/2 "2023-01-20T00:42:47Z")

</div>

you probably need to wait for (or run manually) a maintenance task

---

<div class="post-metadata">

**Author:** ![ecuso100](https://avatars.discourse-cdn.com/v4/letter/e/a698b9/32.png) [@ecuso100](https://kopia.discourse.group/u/ecuso100)\
**Post date:** [January 20, 2023, 3:17pm UTC](https://kopia.discourse.group/t/size-of-kopia-repository/1717/3 "2023-01-20T15:17:21Z")

</div>

Thanks Dan, how can I manually run a maintenance task?

---

<div class="post-metadata">

**Author:** ![IcePic](https://avatars.discourse-cdn.com/v4/letter/i/74df32/32.png) [@IcePic](https://kopia.discourse.group/u/IcePic)\
**Post date:** [January 25, 2023, 8:39am UTC](https://kopia.discourse.group/t/size-of-kopia-repository/1717/4 "2023-01-25T08:39:21Z")

</div>

> **[maintenance run](https://kopia.io/docs/reference/command-line/advanced/maintenance-run/)**
>
> $ kopia maintenance run Run repository maintenance
> Flag Short Default Help --\[no-\]full false Full maintenance --safety full Safety level --\[no-\]force false \[ADV\] Run maintenance even if not owned (unsafe)

Perferably with “–full” if you need data to clean out, I guess.

---

<div class="post-metadata">

**Author:** ![Ulli](https://avatars.discourse-cdn.com/v4/letter/u/f04885/32.png) [@Ulli](https://kopia.discourse.group/u/Ulli)\
**Post date:** [April 30, 2024, 3:58pm UTC](https://kopia.discourse.group/t/size-of-kopia-repository/1717/5 "2024-04-30T15:58:50Z")

</div>

How to do that on the UI-version?  
Would be also good automatically with every snap.

---

<div class="post-metadata">

**Author:** ![dimejo](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/dimejo/32/287_2.png) [@dimejo](https://kopia.discourse.group/u/dimejo)\
**Post date:** [May 2, 2024, 9:35am UTC](https://kopia.discourse.group/t/size-of-kopia-repository/1717/6 "2024-05-02T09:35:08Z")

</div>

> [@Ulli](#):
>
> How to do that on the UI-version?

There is no such option in the UI, you need to run it in the terminal.

> [@Ulli](#):
>
> Would be also good automatically with every snap.

Full maintenance is enabled by default and run every 24 hours (adjustable). You can run `kopia maintenance info` as the repository owner (user who created the repository) to print information about maintenance.

```auto
Owner: user@host
Quick Cycle:
  scheduled: true
  interval: 1h0m0s
  next run: 2024-05-02 12:31:20 CEST (in 58m25s)
Full Cycle:
  scheduled: true
  interval: 24h0m0s
  next run: 2024-05-03 09:31:18 CEST (in 21h58m23s)
Log Retention:
  max count: 10000
  max age of logs: 720h0m0s
  max total size: 1.1 GB
Object Lock Extension: enabled

```
