User Tools

Site Tools


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
docs/tips_n_tricks/restic.html.1619599721.txt.gz · Last modified: 28.04.2021 10:48 CEST by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki