Documentation
Parbit
Keep your files safe from bit rot and bad sectors. Parbit watches a folder and keeps par2 recovery data for every file in it, so silent corruption is
Keep your files safe from bit rot and bad sectors. Parbit watches a folder and keeps par2 recovery data for every file in it, so silent corruption is found and repaired, instead of being discovered years later in a photo that won't open.
parbit 2.1 /media/archive
1520 files protected (212.4GB), redundancy 20%
Pending: 3 new, 1 modified, 0 deleted, 0 moved
Last verify: 2026-05-02 10:14:03 (208 days ago) — time for a verify
Schedule: off
1 Update parity protect new/edited files, drop deleted
2 Verify check integrity (offers repair)
3 Repair verify and fix damaged files
4 Status details and pending changes
5 Verify a path… check only a file or folder
...
Why Parbit
Hard disks, SSDs and USB sticks occasionally return wrong data without reporting any error: a flipped bit, a sector that went bad while the drive sat in a drawer. Backups don't help if they copy the damage too. Parbit stores a few percent of recovery data next to your files and checks them when you ask, or on a schedule.
- Per-file parity. Adding, editing or deleting a file only touches its own parity: there's no huge archive to rebuild.
- Smart about changes. Edited files get new parity. Moved and renamed files keep theirs, with nothing recomputed. A timestamp shifted by a time-zone change is told apart from real damage.
- Safe by design. File contents are only ever written to repair them. Parity is built aside and swapped in, interrupted runs are recovered, and if half your files vanish at once (drive not mounted?) Parbit asks before dropping their parity.
- Linux and Windows, one drive. Same commands and same on-disk format: protect an external drive on one system, check it on the other.
- Nothing to set up. One script (plus
par2.exeon Windows), an interactive menu, plain-text settings next to your data.
Quick start
Linux and Windows have separate packages on the releases page.
Unpack yours where you want to keep protected files, for example at the root of an
external drive. You get the script and an empty parbit/ folder: put the files to
protect there.
Linux: download Parbit-<version>-linux.tar.gz from the
latest release. Install par2 (sudo pacman -S par2cmdline, sudo apt install par2 or
sudo dnf install par2cmdline), then:
./parbit.sh # interactive menu
./parbit.sh update # protect new and changed files
./parbit.sh verify # check everything, offers to repair
Windows 10/11: download Parbit-<version>-windows.zip from the release
named for Windows. Nothing to install (par2.exe is included): double-click
parbit.bat, or run parbit.bat update and parbit.bat verify in a terminal.
Using one drive on both systems? Unpack both packages in the same folder.
From then on, run Update whenever you add or change files, and Verify every few months (or let a schedule do it). The user guide walks you through it.
Everyday commands
| You want to… | Run |
|---|---|
| protect new and edited files | parbit.sh update |
| see what's protected and what's pending | parbit.sh status |
| check every file | parbit.sh verify |
| check and fix damaged files | parbit.sh repair |
| check just one folder | parbit.sh verify parbit/photos |
| check automatically every week | parbit.sh schedule weekly |
| change the amount of recovery data | parbit.sh config REDUNDANCY 10 |
On Windows, use parbit.bat with the same commands. The command reference
covers all commands, options and exit codes.
What it does not do
Parbit protects against damage, not loss. The recovery data lives on the same drive as your files, so a dead or stolen drive takes both. Keep a separate backup of anything irreplaceable: Parbit makes sure that what you back up is still intact.
Documentation
- User guide: install, first run, daily use, external drives, scheduling
- Command reference: commands, options, settings, ignore list, exit codes
- How it works: on-disk layout, change detection, repairs, safety
- Windows: the Windows version and using a drive on both systems
- FAQ & troubleshooting
- Development: tests and releases
- Changelog
License
MIT, see LICENSE. The bundled bin/par2.exe is
par2cmdline under GPL-2.0
(details); its source code is attached to every release.