Skip to content

v0.1.18

Choose a tag to compare

@github-actions github-actions released this 30 Jul 21:13
· 24 commits to main since this release

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 browser

Verify a download against checksums.txt:

sha256sum -c checksums.txt --ignore-missing

One change, and it is opt-in: the passwords backup-maker stores can move into
your operating system's keyring.

Passwords can live in the OS keyring — by choice

backup-maker stores two kinds of password: the login for each network drive,
and the zip password for each scheduled snapshot. They have always lived in
state.json — a file only your own account can read, which on a single-user
machine is a reasonable place for them. Now they can move into the keyring your
system already has: GNOME Keyring or KWallet on Linux, the Keychain on macOS,
the Credential Manager on Windows.

backup-maker keychain status     # where the passwords are, and whether the keyring works here
backup-maker keychain enable     # move them into the keyring
backup-maker keychain disable    # put them back

It is off unless you turn it on, because what a keyring costs is
availability, and availability is the thing a backup tool cannot trade away. A
headless machine — a Raspberry Pi, say — usually has no keyring at all, and a
daemon started at boot rather than at login has no keyring session even where
one is installed. A password that cannot be read is a destination that stops
backing up. So the edges are built to fail toward your files being protected:

  • keychain enable tests your keyring for real before it moves anything, and
    refuses if that test fails — you cannot walk into a broken setup by accident.
  • If the keyring stops answering later — locked, or the daemon now starts at
    boot — the daemon says so at startup by name, and keychain disable puts
    everything back.
  • If the keyring refuses a write, the password is kept in the file as
    before rather than lost, and you are told that it happened.

After enable, state.json keeps the names with a placeholder where each
value was: a keyring cannot be asked to list what it holds, so that list is the
only record of which passwords exist.

Deliberately not moved: the dashboard's access token, the sync engine's API
key, the webhook address and the ntfy token. Those are needed on every start —
including the starts where no keyring answers.

Run enable and disable with the daemon stopped; the command refuses while
it is running and prints the commands for your system. The full reasoning is in
the security page of the manual.

Under the hood

Every push now runs the full test suite on macOS and Windows as well as Linux,
and the suite was made honest on those platforms first — tests that had been
silently skipping, or reading the wrong directory for the platform, now
actually execute there. Nothing user-visible changed; it is how the per-OS
paths stay tested on machines the author does not own.

Upgrading

Nothing to do. Nothing changes until you run keychain enable, and if you
never run it, everything stays exactly where it was.


See the README for setup,
the Raspberry Pi destination guide, and restoring from a backup.