Skip to content

Checksummed Store

You'll checksum every file in your archive, schedule a verification that runs without you, and catch a corrupted file you planted on purpose.

About

A backup copies whatever is on the disk, including the photo that quietly went wrong last year, and after two backup cycles the broken version is the only one left. A checksum is a fingerprint of a file's contents, and a manifest of them lets you ask, any time you like, whether every file still matches what it was the day you archived it. That's the difference between hoping and knowing. The tools are free: sha256sum or shasum on any system, hashdeep for audits, and the BagIt format from the Library of Congress for packaging a collection with its manifest inside. The badge takes a few weeks because the scheduled check has to run on its own more than once before you trust it. Where the copies live and how they get there is the backup badge in Security & Privacy.

At a glance

Per requirement
35 XP
Completion bonus
300 XP
Requirements
6
Takes
Three weeks
Skill level
Intermediate (months of practice)
Cost
Free
Supplies
You need some
Where
At home
Other people
On your own
Locked for now
Earn two more Uncommon badges in Digital Archiving to open this one. Log in to see how far along you are.

Requirements

  1. 1
    Write a manifest of every file in the archive. On Mac or Linux, find piped to shasum -a 256 writes one line per file, and on Windows hashdeep or 7-Zip's checksum menu does the same. Save it beside the archive as manifest-sha256.txt with the date in the name. A terabyte takes a few hours, so start it before bed. Take a photo of the first lines of the manifest and the line count. Photo
  2. 2
    Verify your second copy against the same manifest. Run the check on your second copy, which is the backup drive if you have one or a copy of one collection on any other disk you can borrow, and compare: every line should say OK and the count should match. The first run usually finds a handful that differ, and those are files that were already wrong before you started. Take a photo of the verification summary. Photo
  3. 3
    Schedule the check and show it running twice on its own. cron, launchd or Windows Task Scheduler runs the verify and writes a dated report to a folder. Run it weekly while you're setting up and drop it to monthly once you trust it, because a full pass over a terabyte takes hours and wears the drive. The report should say the number checked, the number matched and the names of any that didn't. Take a photo of two reports a week apart that ran without you touching anything. Photo
  4. 4
    Corrupt one byte in one file on purpose and catch it. On the second copy, never the only one you have, flip a single byte in a large photo with a hex editor or a one-line dd command. The image will still open and look fine, which is the point. Run the check and find the file flagged. Film the check running and flagging it, or take a photo of the flagged line in the report. Photo or video
  5. 5
    Restore the planted failure from the good copy and verify again. Copy the clean version over the damaged one, run the check on that file alone, and see it match. Then write down the steps you took as the recovery note in the README, because next time it won't be a drill. Take a photo of the clean result and the note. Photo
  6. 6
    Package one collection as a BagIt bag and validate it. The free bagit tool from the Library of Congress wraps a folder with its manifest and a bag-info file saying who made it and when. Validate the bag, copy it somewhere else, and validate it there. Take a photo of the bag validating in the second location. Photo