Ledge 0.0.3
Pre-releaseThird pre-release. Backups, and one editor fix.
Backups
ledge backup setup --existing no longer takes a backup when it joins a repository. It used to back up the machine it was joining from, which on a machine being rebuilt meant backing up an empty disk and then thinning old snapshots, deleting the newest snapshot minutes before the restore asked for it. It now opens the repository, writes the profile, and prints the newest snapshot with the restore command to run.
The retention policy keeps the ten newest snapshots whatever times they were taken at, on top of the hourly, daily, weekly and monthly rules. Every one of those rules keeps a single snapshot per period, so before this a backup taken beside a recent one thinned that one away.
A machine thins nothing in a repository until it has a snapshot of its own in it.
ledge backup setup opens or creates the repository before it writes the backup profile. A setup that fails, on a mistyped password or a --replace that should have been --existing, now leaves a working machine backing up exactly as it was.
Editor
A click in the blank space beside a link places the caret there instead of opening the link.
Install
The Mac app is the DMG below: drag Ledge to Applications and open it from there.
A server:
curl -fsSL https://github.com/ledgesh/ledge/releases/download/v0.0.3/server.sh | sh
This is a pre-release. https://ledge.sh/server.sh still points at the newest full release, which there is not one of yet.