Hi
In the Last 2 Weeks i got Problems with my Scheduled Backups. One after another of my repos got Errors which did show up after a Restic Check with the --read-data option.
In did find that in every snapshot in my repos there was a single error with a single Pack.
Example:
"Pack ID does not match, want 50ebe3d250cf77a7ea0fa27145345735e6c5395835bdeaf92ad67bd2d194f35c, got 31d6fcbfc46121f974745b83628544f7d7ec809f49002edc619a79d980851b9b"
I did initalisize a fresh repo, did one backup and got the error.
Example:
$ restic backup -r /mnt/path/to/repo dump.sql
enter password for repository:
repository e899adb4 opened (version 2, compression level auto)
created new cache in /home/userxyz/.cache/restic
no parent snapshot found, will read all files
Files: 1 new, 0 changed, 0 unmodified
Dirs: 0 new, 0 changed, 0 unmodified
Added to the repository: 26.812 GiB (4.561 GiB stored)
processed 1 files, 27.150 GiB in 2:45
snapshot db66fc4e saved
$ restic backup -r /mnt/path/to/repo dump.sql restic check -r /mnt/path/to/repo --read-data
using temporary cache in /tmp/restic-check-cache-1574055377
enter password for repository:
repository e899adb4 opened (version 2, compression level auto)
created new cache in /tmp/restic-check-cache-1574055377
create exclusive lock for repository
load indexes
check all packs
check snapshots, trees and blobs
[0:00] 100.00% 1 / 1 snapshots
read all data
Pack ID does not match, want 50ebe3d250cf77a7ea0fa27145345735e6c5395835bdeaf92ad67bd2d194f35c, got 31d6fcbfc46121f974745b83628544f7d7ec809f49002edc619a79d980851b9b
[3:16] 100.00% 287 / 287 packs
Fatal: repository contains errors
Does anyone have an idea how this can happen?