# Kopia cache, and repository server

**URL:** <https://kopia.discourse.group/t/kopia-cache-and-repository-server/3973>\
**Category:** General Topics\
**Created:** [May 25, 2025, 4:46am UTC](https://kopia.discourse.group/t/kopia-cache-and-repository-server/3973 "2025-05-25T04:46:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sfatula](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@sfatula](https://kopia.discourse.group/u/sfatula)\
**Post date:** [May 25, 2025, 4:46am UTC](https://kopia.discourse.group/t/kopia-cache-and-repository-server/3973/1 "2025-05-25T04:46:51Z")

</div>

So, I am using a repository server. I have a machine which connects to the repository server and does snapshots there. It appears caching is done on the client. Is it also done on the repository server for maybe any maintenance tasks?

Also, what is the normal cli process to do a backup (snapshot)? I was doing:

1. connect to the repo server
2. snapshot
3. disconnect

But I note when I disconnect, the cache is lost on the client. Is connecting a one time thing ever if I never need to switch repos? Even survives a reboot? Surely we do not want cache to go away.

---

<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:** [May 25, 2025, 8:08am UTC](https://kopia.discourse.group/t/kopia-cache-and-repository-server/3973/2 "2025-05-25T08:08:15Z")

</div>

Yeah - just don’t disconnect the repo from the command line. It actually doesn’t connect in the literal sense anyway, since this only manages the local connection config file, which each invocation of Kopia will use when run.
