# Unable to connect to local repository

**URL:** <https://kopia.discourse.group/t/unable-to-connect-to-local-repository/1996>\
**Category:** Support\
**Created:** [May 1, 2023, 9:58am UTC](https://kopia.discourse.group/t/unable-to-connect-to-local-repository/1996 "2023-05-01T09:58:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thisbeyond](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/thisbeyond/32/690_2.png) [@thisbeyond](https://kopia.discourse.group/u/thisbeyond)\
**Post date:** [May 1, 2023, 9:58am UTC](https://kopia.discourse.group/t/unable-to-connect-to-local-repository/1996/1 "2023-05-01T09:58:02Z")

</div>

I’ve been backing up successfully to a NAS (an rpi 4) with attached USB storage. I now need to do a large restore (1TB) and doing it via the NAS is too slow. Instead I want to plug the USB drive with the kopia repository on it directly into my laptop and restore locally.

However, when I plug the drive in (mounted as G:) and try to connect to the repository I get a stream of errors about unable to read directory and it hangs forever.

```auto
2023-05-01T08:53:37.891427Z refreshing committed state because it's no longer valid (now 2023-05-01 09:53:37.891427 +0100 BST, valid until 0001-01-01T00:00:00Z)
2023-05-01T08:53:37.892493Z refreshAttemptLocked
2023-05-01T08:53:37.894110Z refresh attempt failed: error refreshing: error loading write epoch: error listing all blobs: error processing directory shards: error reading directory: readdir G:\kopia\: The system cannot find the path specified., sleeping 100ms before next retry
2023-05-01T08:53:38.005702Z refreshAttemptLocked
2023-05-01T08:53:38.008797Z refresh attempt failed: error refreshing: error loading write epoch: error listing all blobs: error processing directory shards: error reading directory: readdir G:\kopia\: The system cannot find the path specified., sleeping 150ms before next retry
2023-05-01T08:53:38.159239Z refreshAttemptLocked
2023-05-01T08:53:38.161210Z refresh attempt failed: error refreshing: error loading write epoch: error listing all blobs: error processing directory shards: error reading directory: readdir G:\kopia\: The system cannot find the path specified., sleeping 225ms before next retry
2023-05-01T08:53:38.390907Z refreshAttemptLocked
2023-05-01T08:53:38.392065Z refresh attempt failed: error refreshing: error loading write epoch: error listing all blobs: error processing directory shards: error reading directory: readdir G:\kopia\: The system cannot find the path specified., sleeping 337.5ms before next retry
2023-05-01T08:53:38.744801Z refreshAttemptLocked
....

```

The directory path is correct and I can access it fine from a terminal. However, note that the drive is ext4 formatted and my laptop is Windows so I am using Paragon Software Linux Filesystem Driver to mount and manage the drive (this works fine for all other uses).

---

<div class="post-metadata">

**Author:** ![ChrisA](https://avatars.discourse-cdn.com/v4/letter/c/b77776/32.png) [@ChrisA](https://kopia.discourse.group/u/ChrisA)\
**Post date:** [May 4, 2023, 5:15am UTC](https://kopia.discourse.group/t/unable-to-connect-to-local-repository/1996/2 "2023-05-04T05:15:22Z")

</div>

Hi,

mabye unrelated to your specific problem, but would extFAT work as a filesystem? It is supported by synology as well (in case that is your NAS).

---

<div class="post-metadata">

**Author:** ![thisbeyond](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/thisbeyond/32/690_2.png) [@thisbeyond](https://kopia.discourse.group/u/thisbeyond)\
**Post date:** [May 4, 2023, 4:34pm UTC](https://kopia.discourse.group/t/unable-to-connect-to-local-repository/1996/3 "2023-05-04T16:34:19Z")

</div>

Thanks for replying. I’m not sure - I haven’t played with exFAT before as I am comfortable with ext4. This would be on a raspberry pi server. I’m not tempted to redo the fs across terrabytes of data for just this problem though 🙂 My current workaround was to do it through sftp.
