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