-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
restic backup into existing repository fails with error "encoding/hex: invalid byte: U+002E '.'" #474
Comments
Hi, thanks for reporting, this seems to be a bug. Could you please compile restic with debug support by running:
Then please run the backup command again:
Afterwards please have a look at the last entries of the debug log file, maybe you can see what's going on. I suspect that there is an additional file in the |
Hi fd0, thanks for the quick reply! Your guess was spot-on. Some days ago, I mounted the volume that contains the restic repository and browsed the folders inside from my OS X machine. I don't really know why, I guess just because it's possible.
Deleting all those folders with By the way: Thank you very much for creating restic - it is the backup tool I've been waiting for years without really knowing what I missed with all the other tools I tried. Restic really does 100% what I need and nothing more. Great work 👍 Best regards, |
Hehe, nice guesswork there fd0 =D |
Thanks for trying it and providing feedback! And especially thanks for taking the extra effort and register a GitHub account just to create an issue 😄 I've added issue #475 as a reminder to ignore invalid index files. Especially for local repositories, files with invalid names should be silently ignored. |
Output of
restic version
I've just re-compiled restic with a new git clone, but this didn't solve the problem:
Another version on a Mac OS X machine that shows the same behaviour:
Expected behavior
Restic should - after successful authentication - start the backup process and insert an additional snapshot into the existing repository
Actual behavior
Steps to reproduce the behavior
See above
Preconditions
An existing restic repository with some existing snapshots. By the way, the repository can be opened and read:
I don't know how relevant this is, but the repository is quite large:
The text was updated successfully, but these errors were encountered: