Repository navigation
v0.1.25
Real-time, versioned, one-way backups to local drives and LAN machines.
Download the archive for your OS below, unpack it, and put the
backup-maker binary somewhere on your PATH. There is nothing else to
install, and nothing to install on the destinations. Then:
backup-maker web # set everything up in the browserVerify a download against checksums.txt:
sha256sum -c checksums.txt --ignore-missingA small release from one night's outage: a backup box's disk dropped off its
USB connection, and for sixteen hours nobody was told. Upgrade if you back up
to an always-on box — a Raspberry Pi, a NAS, a shared folder on another
computer.
A destination can no longer go silent for good
backup-maker noticed within seconds that the storage behind the share was not
the storage it knows, and refused to write there — correctly. But it said so
only through the unrecognised storage alert, and that alert can be switched
off. With it off, nothing else would ever have spoken up: a refused destination
never counted as stale, so even the stale_after_days backstop stayed quiet.
Now anything not backed up for longer than stale_after_days raises "Backups
are not reaching …", whatever the reason. And the monitoring guide now says
plainly: keep the unrecognised-storage alert on for anything always-on — it is
the one that tells you within the minute.
The row says what is actually wrong
A destination that answers but holds storage that is not ours — a reformatted
card, a different disk at the same mount point, a network share whose disk has
gone — showed as offline on its folder's row, which sends people looking for
a cable. It now shows as unrecognised storage, the same thing the destination
itself and the snapshot writer were already saying. Nothing is written in
either case; only the words changed.
Smaller fixes
- A failing snapshot due to be retried within 30 seconds said "trying again
in .". It says "trying again in under a minute".
For Raspberry Pi destinations
tools/pi/backup-disk-recover
is a small script with a systemd timer that brings the disk back on its own
after it drops off USB: once a minute it checks the backup folder is still
mounted from the disk that is actually plugged in, and if not, repairs it with
e2fsck -p and mounts it again. It never touches a disk that is merely busy,
and stops for a person if the repair finds anything it will not fix safely. The
Raspberry Pi guide
has the five commands that install it, and how to tell whether your enclosure
is on a USB 2 link — the usual cause.
Upgrading
Nothing to do. If you had switched off unrecognised-storage alerts, it is worth
switching them back on: Settings → Notifications - Triggers → Unrecognised storage where a destination should be.
See the README for setup,
the Raspberry Pi destination guide, and restoring from a backup.