Unable to connect to local repository

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.

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).

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).

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 :slight_smile: My current workaround was to do it through sftp.