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
Corrupted backup with max compression on (Arch) Linux [restic 0.16.0] #4523
Comments
Thanks a lot for the bug report! The underlying issue is a data corruption caused by the zstd library used by restic. I've opened an issue there and added minimal examples (46 and 70KB) from the backup dataset that are sufficient to reproduce the issue: klauspost/compress#875 |
restic 0.15.2 is not affected by this bug. |
You're welcome, and thank you for this awesome piece of software. |
Note: You need to run |
Output of
restic version
restic 0.16.0 compiled with go1.20.7 on linux/amd64
Edit: I now tested this also on MacOS, here is the output of restic version:
restic 0.16.0 compiled with go1.20.6 on darwin/amd64
How did you run restic exactly?
I used the default environment variables. More info on the command i used
in the following sections. Note that I was trying to backup about 800 GB of
data, but i also tested this on the specific subfolder that was giving me problems.
The subfolder can be downloaded here:
https://drive.google.com/file/d/1O3XnVzEY6tNCVRo8_TmS1s5_JV0rGOGZ/view?usp=share_link
What backend/server/service did you use to store the repository?
I used a local repository, i tried storing the repository on different HDDs and NVMe to exclude
a possible hardware failure, but got the same result (with the same hashes) from restic check.
Expected behavior
Restic check should not return any errors after backing up the folder.
Actual behavior
Restic check output:
Steps to reproduce the behavior
Do you have any idea what may have caused this?
I don't exactly know, but without compression max it works on this folder, but
that may be just a coincidence.
Do you have an idea how to solve the issue?
No.
Did restic help you today? Did it make you happy in any way?
I love restic, and hope this will be fixed soon, thank you.
The text was updated successfully, but these errors were encountered: