docs:tips_n_tricks:restic.html
This is an old revision of the document!
restic
Find broken files
find /restic/repo -type f -not -name config -exec sha256sum '{}' ';' | tee restic_repo.sha256 cat restic_repo.sha256| while read sum file ; do if [ "$sum" = "${file##*/}" ] ; then echo "OK: $sum $file" ; else echo "NOT MATCHING: $sum $file" ; break ; fi ; done
References:
docs/tips_n_tricks/restic.html.1619600167.txt.gz · Last modified: 28.04.2021 10:56 CEST by peter