Skip to content
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

Ignore index files with invalid names #475

Closed
fd0 opened this issue Feb 24, 2016 · 0 comments
Closed

Ignore index files with invalid names #475

fd0 opened this issue Feb 24, 2016 · 0 comments

Comments

@fd0
Copy link
Member

fd0 commented Feb 24, 2016

In #474, @tbraun-de reported that restic is not usable any more when the (local) repository contains additional files in the index directory. In this case, the files were created by the operating system and contained a dot (.). The error message was:

encoding/hex: invalid byte: U+002E '.'

Index files with invalid names should be ignored silently for now.

fd0 added a commit that referenced this issue Feb 24, 2016
This commit uses ParallelWorkFuncParseID() to load all indexes and
ignores file names with invalid format.

This fixes #475.
@fd0 fd0 self-assigned this Feb 24, 2016
@fd0 fd0 closed this as completed in #476 Feb 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant