Skip to content

v0.1.24

Choose a tag to compare

@github-actions github-actions released this 01 Nov 10:50
· 3 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

A large release: three months of using it on real hardware, and most of what
is below was found that way rather than by the tests. Two of the fixes are
about losing backups, and are the reason to upgrade.

Fixes that matter for your data

Retention no longer deletes the last copy of a file. A file deleted from a
source folder is moved into the version store on every destination, and from
then on that version is the file. Pruning treated it as an ordinary old
version and removed it after about 30 days — so a file deleted by mistake
quietly disappeared from every backup a month later. Retention now always keeps
the newest copy of a path that no longer exists anywhere else. You can still
delete it yourself (see the file view below); retention won't do it for you.

Renaming a destination could stop it backing up, silently. A background
write could put a stale copy of the settings over the rename, leaving the
destination without its identity or password. It then copied nothing and the
dashboard didn't say so. Every settings write now goes through one lock and
touches only its own fields, and a rename is atomic.

A destination that refuses writes is no longer called "backed up". When a
USB disk drops and comes back read-only, every copy to it fails — and the status
used to say "backed up" for as long as that lasted (24 days, the time it
happened). A write-protected destination now gets its own red read-only state
and an alert at once.

A destination whose address changed can be found again. A share addressed by
IP goes offline the day your router hands its box a new address. Address it by
name instead — //backup-pi.local/backups — and backup-maker follows the box.
The release builds now look up .local names themselves, which they could not
do before. The destinations guide
explains, and the Raspberry Pi guide
has a five-line hook that keeps Samba listening when the Pi's address changes.

Timed snapshots

  • They make room before writing, instead of filling the drive. A full
    destination doesn't just fail the snapshot; it stops the continuous mirror to
    the same drive. The writer now estimates from the size of the last zip, and
    if it won't fit, deletes this schedule's oldest snapshots — never its only
    one, never another schedule's, never the mirror. If it still won't fit, it
    fails before writing a byte and says how much was needed.
  • Checking a large snapshot no longer runs out of memory. A 57GB, 412,000-file
    snapshot was killed while being verified, then restarted and killed again.
    Verification now streams, using about 1.5MB however many files there are.
  • A failing snapshot backs off — one minute, doubling, up to 30 — instead of
    retrying every 30 seconds, and every surface says how long it has been
    failing: "failing since 21 Oct 23:03 (3 attempts); trying again in 1m".
  • A retry that is running says "running", not "failed", and a schedule that
    is behind stays flagged while it catches up, with the date of the newest
    finished snapshot.

New on the dashboard

  • Back up now, on any backup: run a folder's copy, or write a snapshot,
    without waiting.
  • Pause one folder's copy to one destination, and resume it. Nothing already
    copied is touched, and a paused backup is never drawn as backed up.
  • A file view for each destination: what backup-maker put there, one
    directory at a time, each line saying whether it's still being backed up, the
    last copy of something gone from your computer, or left over from a backup
    you no longer have. Leftovers — a deleted schedule's snapshots, a removed
    destination's folders — can be deleted from there, with the name typed back.
    Nothing outside backup-maker's own folders is shown or reachable, and nothing
    on your computer is ever touched.
  • The setup wizard takes several folders at once. It used to hold one, and
    picking a second silently replaced the first. It also refuses to protect a
    folder inside one already picked, which would copy those files twice.
  • Settings are switches that save themselves; a folder's controls sit with the
    folder rather than on one destination's row; rows no longer move when you
    pause one; the last step's button is readable.

Smaller fixes

  • The read-only network view keeps trying to start until it is listening,
    instead of trying once at boot — usually before wifi has an address.
  • A rate-limited ntfy alert says why (a shared VPN address, usually) and waits
    once when ntfy says how long, rather than being lost.
  • Connecting to a network share now gives up after 5 seconds as intended; the
    timeout was never actually applied.

Upgrading

Nothing to do. Your settings carry over unchanged. To move a network share from
an IP address to its .local name, edit its url in config.toml and restart
backup-maker; the backups already there are found as before.


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