Skip to content

Releases

v0.1.26

Choose a tag to compare

@github-actions github-actions released this 20 Nov 20:33

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 one-fix release. Upgrade if you address a network share by its .local
name and ever use a VPN.

A .local share is found with a VPN connected

Since v0.1.24, a share can be addressed by name — //backup-pi.local/backups —
so it follows the box when the router hands it a new address. Finding that name
means asking the local network, and a VPN with a kill switch can send that
question into its tunnel instead, where nothing answers. The destination then
showed as offline for as long as the VPN stayed connected, even though the
VPN still allowed the backup traffic itself. A share addressed by IP was never
affected.

The question now goes out of your wifi or ethernet interface directly, never
into a VPN tunnel.

Upgrading

Nothing to do. A destination that went offline this way reconnects on its own
within a minute of the upgrade, and catches up.


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

v0.1.25

Choose a tag to compare

@github-actions github-actions released this 02 Nov 04:43

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 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.

v0.1.24

Choose a tag to compare

@github-actions github-actions released this 01 Nov 10:50

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.

v0.1.23

Choose a tag to compare

@github-actions github-actions released this 03 Aug 19:50

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

You can clear things off "Recently reported"

That panel had no way to remove anything. An entry sat there until it was seven
days old, and there was no answer to "I have read this, stop showing it to
me"
— which is a fair thing to want from a section whose job is the present.

Each entry now has a ×, with Dismiss all beneath them.

They hide; they do not delete. The record stays in the history, so
backup-maker alerts still lists it — marked (dismissed) — and still says
where it got to.

That is deliberate rather than fussy. This history exists because alerting that
has stopped working is the one fault backup-maker cannot announce by alerting,
and "delivered nowhere" is the most important line it holds: it is the state
in which backups can fail without anybody hearing about it. A dismiss that
deleted the row would let that evidence be cleared away by somebody tidying a
dashboard — the person least likely to know that is what they were doing.
Hiding costs nothing and keeps the record.

Dismiss all clears what is on the page and nothing newer. An alert that
arrives while you are reading is still there afterwards, because nobody has
read it yet.

Why this came up

If you use the read-only network view with specific devices, you may have
noticed the shape of the problem already. A device's request to watch expires
after five minutes — but the notification it raised does not. So trying the view
from a phone leaves several rows describing requests that no longer exist, and
the only button that could ever have answered them, Deny, belonged to the
request and vanished with it. The short-lived half of that pair was actionable
and the lasting half was not.

Upgrading

Nothing to do. Your alert history is untouched, and nothing is dismissed until
you dismiss it.


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

v0.1.22

Choose a tag to compare

@github-actions github-actions released this 03 Aug 19:11

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

Both changes are about the read-only network view, and only affect you if you
have set it to specific devices on this network.

You can see what is asking to watch your backups

A device asking to read the network view showed up as a short code, a coarse
guess at what it was, and a LAN address — enough to know something is asking,
not enough to know what you are letting in. In a house with three iPhones on
it, an address that moves with the DHCP lease settles nothing.

The device is the only end that knows what it is, so the holding page now asks,
and whatever is typed there appears beside the code on your dashboard:

KTM-4RQ Alex's phone
iPhone at 192.168.1.23 — asked 30 seconds ago

Nobody has to type anything. A device that gives no name is listed exactly as
it was before.

Treat the name as a hint and the code as the check. It is typed by whoever
is holding the device, which is the point — but it also means anyone on your
wifi chooses what their own row says about itself. The code is generated on
your machine and shown on both screens, so it is the one thing neither end can
pick. Names are bounded, stripped of control and text-direction characters,
stored and displayed as plain text, and recorded against the token in that
browser's own cookie — a device can name itself and nothing else. A name
decides nothing, and names are never published on the network view itself.

Denying a device now actually stops it asking

This one is a bug, and an annoying one if you ever hit it.

Deny used to delete the device's record — and that record was the only
thing that recognised the browser. The holding page refreshes itself every five
seconds, so the device came straight back as one nobody had ever seen, with a
new code and a new notification. Turning something down produced an alert
every five seconds for as long as it kept the page open, and the only way
to stop it was switching that whole category of notifications off.

Deny now means what it says. The device keeps seeing the holding page — it is
told nothing about having been turned down — but it raises no further
notifications and does not come back to the top of your dashboard.

A denial lasts a week, then the device may ask again, so a phone you denied
by mistake is not locked out for good. To change your mind sooner, denied
devices stay listed under the access setting with Allow beside them;
Forget there discards the record instead, which lets that device ask again
straight away.

Upgrading

Nothing to do. If you have never switched the network view on, or you have it
set to all devices on this network, nothing about this release changes
anything for you.


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

v0.1.21

Choose a tag to compare

@github-actions github-actions released this 31 Jul 03:30

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

Documentation only — no behaviour changes.

Installing on Windows is now actually documented

The Windows portable ZIPs have shipped with every release since v0.1.0, but
the documentation never walked a Windows user through using them — the
install examples were all tar and sudo, and the one Windows sentence
suggested running the exe from wherever it landed, which is exactly what the
autostart feature needs you not to do. The README and the install guide now
carry the PowerShell steps side by side with the Linux ones: where to put
backup-maker.exe, how to verify the checksum with Get-FileHash, what the
SmartScreen prompt on an unsigned download looks like, and the one honest
platform difference — the autostart entry takes effect at your next sign-in,
so the first backup-maker daemon --background is yours to run.

Also corrected: the README still listed the OS-keychain credential storage as
"not yet built"; it shipped in v0.1.18.

Upgrading

Nothing to do, and nothing changes.


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

v0.1.20

Choose a tag to compare

@github-actions github-actions released this 31 Jul 02:17

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

Documentation only — no behaviour changes.

The manual now says how long versions are kept

v0.1.19 made the version store actually follow its retention schedule, which
means old versions now visibly disappear as they age. The restoring guide
says what to expect: one version per 30 seconds for the last hour, one per
hour for the first day, one per day up to about 30 days — and documents
versioning_max_age_days for keeping more or less. The manual is embedded
in the program (and copied onto each destination), so it ships as a release.

Upgrading

Nothing to do, and nothing changes. If you skipped v0.1.19, read its notes —
your destinations will get space back on the first start after upgrading.


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

v0.1.19

Choose a tag to compare

@github-actions github-actions released this 31 Jul 02:04

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 fix: old file versions are now actually thinned out the way the manual
says they are.

Version history now really is "about 30 days"

backup-maker keeps old versions of changed and deleted files in
.backup-maker-versions/ on each destination, and promises to keep about
30 days of them, thinned on a staggered schedule: everything from the last
hour, then one version per hour for a day, one per day up to about 30 days.
The schedule existed — but the pruning that enforces it only ran after the
program had been running for 24 hours without interruption. A computer that reboots,
sleeps overnight, or picks up an update never gets there, so on most real
machines the version store was never thinned at all: every save of every
file, kept forever. A frequently-saved file could quietly eat gigabytes.

Pruning now runs shortly after the program starts and then once a day,
measured from the last time it actually ran rather than from an uninterrupted
timer. Nothing changes about what may be deleted — pruning only ever
touches the version store, never your live backup and never a source folder.

Also closed while in there: a hand-edited versioning_max_age_days = 0 in
config.toml would have been read as "every version is too old" the moment
pruning ran. It now means the 30-day default instead.

Upgrading

Nothing to do. On the first start after upgrading, each destination's version
store is thinned to the documented schedule — expect to get some space back.


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

v0.1.18

Choose a tag to compare

@github-actions github-actions released this 30 Jul 21:13

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.

v0.1.17

Choose a tag to compare

@github-actions github-actions released this 30 Jul 07:14

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

Two changes, both for the moment you are holding a drive rather than sitting at
the computer that wrote it: the manual is now on every destination, and a
destination can be named after the drive it actually is.

The manual is on the drive, beside the backups

The whole manual is built into the binary, and until now you read it in the
dashboard — which is served by the computer being backed up. That is exactly
what you have not got in the situation the manual was written for: a backup
drive in your hand, the machine that made it dead, and no idea where to start.

Every destination now carries a copy, in <machine>/.backup-maker-manual/. Open
index.html in any browser: no daemon, no web server, no internet. The status
page sitting beside it links to it, and says so in as many words — "Need to get
these files back, or set up a new computer? The manual is on this drive."

It is written once per version, not on the status page's rhythm: about 2MB,
nearly all of it screenshots, and it only changes when you upgrade. If a
destination was offline or full when it was due, it arrives on a later attempt.

The page only offers the manual where the manual actually is. Somebody
holding a drive whose computer will not start is the last person who should be
sent to a link that does not resolve.

backup-maker docs --export ./manual still writes it anywhere you like.

Destinations can be named after the drive, and no longer collide

The name a network drive was given was the bare share name — a fact about the
server, not about the disk. A box exporting one backups share with a directory
per disk gave every disk on it the same default name, and adding the second was
refused outright, with no suggestion of anything that would work.

  • //pi/backups/drive1 is now called pi-drive1: which box the disk hangs off,
    and which disk. An address rather than a hostname is left out of the name —
    it is longer, harder to read, and wrong the day your router hands out a
    different lease.
  • A name that is taken gets a number on the end. A name you typed is never
    silently changed: it is refused, and the message names one that is free.
  • You can rename a destination — Rename… on its card, or
    backup-maker rename-target backups pi-drive1. Nothing on the drive moves and
    nothing is re-copied, so the drive does not even have to be plugged in.
    Everything that points at it comes along: its stored password, the recorded
    identity of the storage, snapshot schedules aimed at it, and how long ago each
    folder last reached it.

"Which of these two identical cards is this?"

Two cards out of the machine look the same, and a network drive's volume label
cannot be read over SMB at all. So you can now write a note onto the drive
itself:

backup-maker describe-target sdcard "Samsung 64GB card, lives in the laptop"

It appears beside the destination's name on the dashboard, and because it lives
on the storage rather than in this computer's configuration, it is still there
when you plug that card into a machine that has never seen it. It is never sent
anywhere, and it is deliberately left out of the read-only network view.

Two smaller things

Two destinations can no longer share a name. The name keys the recorded
identity of the storage, the share password and every folder's sync clock, so
two of them sharing one meant sharing all three — one destination refused as
foreign storage, or handed the other's password. A hand-edited config.toml with
a duplicate is now refused, naming both.

A renamed destination keeps its history. The clocks that say how long ago
each folder reached it live in memory while the daemon runs, so without care a
rename would have left every folder reading "never synced" to a destination that
has been backed up for months — and a drive nobody had plugged in since would
have looked merely offline rather than overdue.

Upgrading

Nothing to do. Existing destinations keep their names; the new defaults apply
only to destinations you add from now on. The manual appears on each destination
within a few minutes of the daemon starting, which is the only new writing this
version does — about 2MB per computer per destination, once per version.


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