# Automatic or manual maintenance with cli snapshots?

**URL:** <https://kopia.discourse.group/t/automatic-or-manual-maintenance-with-cli-snapshots/8704>\
**Category:** General Topics\
**Created:** [November 18, 2025, 9:36pm UTC](https://kopia.discourse.group/t/automatic-or-manual-maintenance-with-cli-snapshots/8704 "2025-11-18T21:36:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mentosa](https://avatars.discourse-cdn.com/v4/letter/m/e68b1a/32.png) [@Mentosa](https://kopia.discourse.group/u/Mentosa)\
**Post date:** [November 18, 2025, 9:36pm UTC](https://kopia.discourse.group/t/automatic-or-manual-maintenance-with-cli-snapshots/8704/1 "2025-11-18T21:36:59Z")

</div>

Hi, I have set up policies in KopiaUI and it works well. Now I want to run the same setup with Cli, using kopia snapshot create --all.  
Will maintenance then be performed automatically?  
If not, should I perform maintenance before or after each backup?  
Which parameters should I then configure, full or not? maintenance set?

I just red this: “Starting with v0.6.0 the repository maintenance is automatic and will happen occasionally when `kopia` command-line client is used.”  
Am I understanding this correctly: if “kopia snapshot create” is called hourly by a timer, it performs “occasionally” automatic maintenance before or after the snapshot?

---

<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:** [December 17, 2025, 7:54am UTC](https://kopia.discourse.group/t/automatic-or-manual-maintenance-with-cli-snapshots/8704/2 "2025-12-17T07:54:41Z")

</div>

Yes, if that client is the one “owning” the repo, it will do maintenance on one of your hourly runs.
