# Lost repository config after disconnect

**URL:** https://kopia.discourse.group/t/lost-repository-config-after-disconnect/1134
**Category:** Support
**Created:** [May 14, 2022, 11:17pm UTC](https://kopia.discourse.group/t/lost-repository-config-after-disconnect/1134 "2022-05-14T23:17:58Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![rbala](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/rbala/32/395_2.png) [@rbala](https://kopia.discourse.group/u/rbala)
#### Post date: [May 14, 2022, 11:17pm UTC](https://kopia.discourse.group/t/lost-repository-config-after-disconnect/1134/1 "2022-05-14T23:17:58Z")

</div>

I created a rclone backup (in Gdrive) using Kopia-UI in Ubuntu. The backup, restore and automatic backup, all worked as expected. For experimentation, I tried to disconnect and reconnect. But upon disconnect, I lost all the configurations and unable to connect back to the remote.

_How can I retrieve the list of backups that I had over the few weeks, and how to avoid this in future._

---

<div class="post-metadata">

### Author: ![jkowalski](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/jkowalski/32/3_2.png) [@jkowalski](https://kopia.discourse.group/u/jkowalski)
#### Post date: [May 14, 2022, 11:19pm UTC](https://kopia.discourse.group/t/lost-repository-config-after-disconnect/1134/2 "2022-05-14T23:19:59Z")

</div>

If you lost the password, there’s really no way to recover it. However assuming you have it, can you further describe the problem and symptoms you’re seeing?

---

<div class="post-metadata">

### Author: ![rbala](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/rbala/32/395_2.png) [@rbala](https://kopia.discourse.group/u/rbala)
#### Post date: [May 14, 2022, 11:22pm UTC](https://kopia.discourse.group/t/lost-repository-config-after-disconnect/1134/3 "2022-05-14T23:22:21Z")

</div>

I have the password, but I don’t see the repository details to connect back. The disconnect deletes the config file located in `~/.config/kopia/repository.config`. I dont see where the details of the repository are stored to connect back.

---

<div class="post-metadata">

### Author: ![jkowalski](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/jkowalski/32/3_2.png) [@jkowalski](https://kopia.discourse.group/u/jkowalski)
#### Post date: [May 14, 2022, 11:23pm UTC](https://kopia.discourse.group/t/lost-repository-config-after-disconnect/1134/4 "2022-05-14T23:23:51Z")

</div>

You should simply connect back to rclone remote you used before.

---

<div class="post-metadata">

### Author: ![rbala](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/rbala/32/395_2.png) [@rbala](https://kopia.discourse.group/u/rbala)
#### Post date: [May 14, 2022, 11:27pm UTC](https://kopia.discourse.group/t/lost-repository-config-after-disconnect/1134/5 "2022-05-14T23:27:58Z")

</div>

It removed the custom name I gave and just said connect to repository. That was the source of confusion. I can see that I’m able to connect back to it and see the tasks. Might be useful to retain the custom names provided even after disconnect to avoid confusion.

---

<div class="post-metadata">

### Author: ![jkowalski](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/jkowalski/32/3_2.png) [@jkowalski](https://kopia.discourse.group/u/jkowalski)
#### Post date: [May 14, 2022, 11:28pm UTC](https://kopia.discourse.group/t/lost-repository-config-after-disconnect/1134/6 "2022-05-14T23:28:53Z")

</div>

Pretty sure kopia does not touch rclone config. Your name should still be there.

---

<div class="post-metadata">

### Author: ![rbala](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/rbala/32/395_2.png) [@rbala](https://kopia.discourse.group/u/rbala)
#### Post date: [May 14, 2022, 11:39pm UTC](https://kopia.discourse.group/t/lost-repository-config-after-disconnect/1134/7 "2022-05-14T23:39:57Z")

</div>

Not the rclone config. The name give for the repository in kopia-ui. I’m attaching the screenshot where it says `<not-connected>` without the name that I actually gave. Just from user perspective, it will be helpful if kopia can store the custom names given to the rclone repositories when a new repository was created the first time.

 ![kopia_ui_name](https://global.discourse-cdn.com/free1/uploads/kopia/original/1X/092cc1aeff3e463f12f74960d9648349dea60361.png)

---

<div class="post-metadata">

### Author: ![jkowalski](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/jkowalski/32/3_2.png) [@jkowalski](https://kopia.discourse.group/u/jkowalski)
#### Post date: [May 15, 2022, 4:44am UTC](https://kopia.discourse.group/t/lost-repository-config-after-disconnect/1134/8 "2022-05-15T04:44:13Z")

</div>

If you click on that, it should prompt you to reconnect and select the provider. Use rclone again and type the same remote name as before.
