So, I created my repo initially on an external hdd that was mounted to my system.
Let's it was mounted as
I then created my repository, created volumes, snapshots etc - all good.
Now the next day, I wanted to access my snapshots again. However, everytime I tried to access my snapshots (list them) I got an error: unable to load snapshot from any storage backend.
I figured out, that this has to do with how the repository is mounted when it was crated.
Because on that day, my drive with the repository was mounted as
/mnt/b/. And then there was a mismatch between the path that is saved in the knoxite configuration and the one that is specified.
Even tho I specified the correct path when I wanted to list the snapshots (
/mnt/b/), it failed. Most likely because internally it still uses the path from the knoxite configuration that was set upon repository creation (
When I umounted my harddrive and remounted it as
/mnt/a/, everything worked fine.
So, to recreate this problem, try this:
backupsor so. Initialize a new repo in there.
knoxite -r /mnt/a/backups snapshot list <volume_id>. Should work fine.
knoxite -r /mnt/b/backups snapshot list <volume_id>. It will fail with the error "unable to load snapshot from any storage backend".
thanks for the detailed description, trying to reproduce and fix tonight
Awesome! Let me know if you have any trouble reproducing it
masterthe right branch to use? Beacuse there are other branches that are more recent