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

Error message for par2 files in snapshot dir #1402

Open
hirschenberger opened this issue Jan 15, 2025 · 0 comments
Open

Error message for par2 files in snapshot dir #1402

hirschenberger opened this issue Jan 15, 2025 · 0 comments
Labels
A-backends Area: Related to backends in `rustic-core` A-core Area: Generally related to `rustic_core` C-bug Category: Something isn't working as expected

Comments

@hirschenberger
Copy link
Contributor

I use par2 to create redundancy files of my backups with the official settings:

[repository.options]
post-create-command = "par2create -qq -n1 -r5 %file"
post-delete-command = "sh -c \"rm -f %file*.par2\""

But when I do a rustic repoinfo or rustic snapshots I get error messages for all par2 files:

...
[ERROR] Error while listing files: Error: Failed to decode hex string `6d100f9b4d7ace5c9d4dd8ff381ae31dd8aae8c50196d135da61f008c149ea78.par2` into Id. The value must be a valid hexadecimal string. (kind: related to invalid user input): caused by: Odd number of digits
[ERROR] Error while listing files: Error: Failed to decode hex string `6d90637edf3fceac260e769b88ff465c171fb4fe3cf8003361157324785690bb.vol000+100.par2` into Id. The value must be a valid hexadecimal string. (kind: related to invalid user input): caused by: Invalid string length
[ERROR] Error while listing files: Error: Failed to decode hex string `6d19a4898795755b7a54ac1be4ac79ce6237a6b55c39899af10ed37ae24364f3.vol000+100.par2` into Id. The value must be a valid hexadecimal string. (kind: related to invalid user input): caused by: Invalid string length
...

I think rustic is still working as expected but this can frighten users.

@github-actions github-actions bot added the S-triage Status: Waiting for a maintainer to triage this issue/PR label Jan 15, 2025
@aawsome aawsome added C-bug Category: Something isn't working as expected A-backends Area: Related to backends in `rustic-core` A-core Area: Generally related to `rustic_core` and removed S-triage Status: Waiting for a maintainer to triage this issue/PR labels Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-backends Area: Related to backends in `rustic-core` A-core Area: Generally related to `rustic_core` C-bug Category: Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

2 participants