docs:tips_n_tricks:restic.html
Table of Contents
restic
Find broken files
Precious solution in page history
find /restic/repo -type f -not -name config \ | while read line do echo "${line##*/} ${line}" done \ | tee restic-repo.sha256 sha256sum --quiet -c restic-repo.sha256
Check single packs
~ $ restic cat --no-cache pack 9fb60fb52b491d778c25c20c2b6cdf45b444c6de32618c80303aed3a9995f5bd | sha256sum Warning: hash of data does not match ID, want 9fb60fb52b491d778c25c20c2b6cdf45b444c6de32618c80303aed3a9995f5bd got: 32fe80fa9516fcf7ad177b8d1a985567210fdb844dbe83fc93e18c4a44f8c420 32fe80fa9516fcf7ad177b8d1a985567210fdb844dbe83fc93e18c4a44f8c420 - ~ $
References:
docs/tips_n_tricks/restic.html.txt · Last modified: 16.03.2025 16:37 CET by peter