# Repository.config

**URL:** https://kopia.discourse.group/t/repository-config/1639
**Category:** General Topics
**Created:** [December 25, 2022, 11:15am UTC](https://kopia.discourse.group/t/repository-config/1639 "2022-12-25T11:15:18Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![manfredlotz](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/manfredlotz/32/175_2.png) [@manfredlotz](https://kopia.discourse.group/u/manfredlotz)
#### Post date: [December 25, 2022, 11:15am UTC](https://kopia.discourse.group/t/repository-config/1639/1 "2022-12-25T11:15:18Z")

</div>

Let’s say I connect to a repository then these files get created in `~/.config/kopia`

```auto
repository.config
repository.config.kopia-password
repository.config.update-info.json

```

Assume I run a `kopia snapshot create..` which takes some time.

Now in a different terminal I want to connect to another kopia repository.

I assume that then above `repository.config...` files get overwritten.

If my assumption is true then I am wondering if this can cause problems?

(I should add that out of being cautious I use `--config-file` when running kopia in a script)

---

<div class="post-metadata">

### Author: ![rhinomagnetar](https://avatars.discourse-cdn.com/v4/letter/r/a88e57/32.png) [@rhinomagnetar](https://kopia.discourse.group/u/rhinomagnetar)
#### Post date: [June 7, 2023, 7:49pm UTC](https://kopia.discourse.group/t/repository-config/1639/2 "2023-06-07T19:49:30Z")

</div>

Aren’t the configuration files stored in the repository itself? I noticed that whenever I disconnect the repository, the `repository.config` file disappears. Also, even if I transfer the repository to a different location, all I need is the path of the new location and the password to open it. Though I only use the GUI which can only open 1 repository at a time, so I’m not sure if the behavior is the same as your case.
