Repository navigation
Upgrading from 0.5.0
Install 0.6.0 and start it: that is the whole upgrade for the program (#1648).
-
Stop 0.5.0 first. A 0.6.0 start beside a running 0.5.0 daemon is refused, and so is a command, with a message saying another Ladderback holds the data folder.
-
On its first start, 0.6.0 renames
agent-idandagent-keytomachine-idandmachine-key, keeping the machine's ID and key. It copies the operation log into the new baseline schema and keeps the old log beside it asladderback.db.before-baseline. The copy needs about three times the log's size free in the data folder. To go back to 0.5.0, putladderback.db.before-baselineback asladderback.dband install 0.5.0. -
Retag the snapshots 0.5.0 took. Their tag
ladderback-agent:<id>is nowladderback-machine:<id>(#1631), and Ladderback doesn't rewrite your repositories itself. Until they are retagged, those snapshots list as orphaned history of an unknown machine, a plan's next backup finds no parent among them and reads its sources in full, and the repository counts as shared with another machine for 30 days.For each repository, and each machine that backs up to it, with
<id>from that machine'smachine-idfile (on macOS in~/Library/Application Support/ladderback), run these four commands in order. rustic 0.11 refuses--addtogether with--remove, so it takes two passes, each tried with--dry-runfirst:rustic --no-cache --dry-run tag --filter-tags ladderback-agent:<id> --add ladderback-machine:<id> rustic --no-cache tag --filter-tags ladderback-agent:<id> --add ladderback-machine:<id> rustic --no-cache --dry-run tag --filter-tags ladderback-agent:<id> --remove ladderback-agent:<id> rustic --no-cache tag --filter-tags ladderback-agent:<id> --remove ladderback-agent:<id>
-
An exported rustic profile that filters on
ladderback-agent:is refused on import; export it again from 0.6.0.
Breaking
- The wire and stored names say machine where they said agent: the snapshot tag, the sync protocol, the API's error and warning codes, and the key files in the data folder (#1631). API clients that match on a code that said
agentmust use the new one. - Hub mode is set in
config.toml's[serve]table, with the address and the allowed host names;serve --hubtakes an optional=false(#1634). - One reviewed baseline schema replaces the 29 migrations (#1635). A 0.5.0 operation log is copied into it on the first start (see above); a build from before the baseline can't open the copy.
- A prune waits while another machine backs up to its repository (#1636).
- Every build ships the hub; the
hubCargo feature is gone (#1645).
Added
- A Docker image of the release binary, for an agent or a hub, not yet supported (#1196)
- Connect a paired machine to its hub and check it with hub-status (#1199)
- Give each API token its own permissions (#1214)
- Mark a changed live table row until it is seen (#1218)
- Say when a run with no total last reported, and draw a still spinner as dots (#1217)
- AI agents can list a snapshot's folder and find a file across snapshots through MCP (#1201)
- An AI agent can read the daemon's log through MCP, filtered and paged (#1232)
- Describe every command and option of --help in the reader's language (#1239)
- Make a pairing token in the hub's Settings, shown once with the hub key's fingerprint (#1231)
- Choose each API token's permissions and what AI agents may do without a token (#1244)
- A hub serves its own TLS, and its pairing tokens pin its certificate (#1254)
- Build demo and test repositories from a declared snapshot history (#1266)
- Flag lookalike machine hostnames and refuse invisible ones (#1260)
- Approve a waiting machine from the hub's terminal (#1275)
- A paired machine follows its hub to a new address (#1270)
- An AI agent can read the pairing steps and this machine's hub through MCP (#1273)
- Name the before-hook that stopped a backup and show its warnings live (#1286)
- A paired machine tells its hub its time zone (#1285)
- Warn on a hub's Machines tab and in the guide that a hub behind a reverse proxy must turn sign-in on (#1288)
- Approve a waiting machine on the hub's Settings page (#1279)
- Name each restore by its entry and target, and end a backup that gave way to a newer run as superseded (#1297)
- Let readers hide, show and reorder a table's columns (#1292)
- Show the running version in a footer at the foot of every page (#1350)
- Stand the header's content in the page's frame and draw the pages' links in the text's color (#1322)
- Put the pages' links behind a menu button below 41rem (#1347)
- Send the web UI's files precompressed and answer a handler's panic with 500 (#1388)
- Stop maintaining in a data folder copied from another computer (#1410)
- Paired machines send their operations' starts and ends to the hub, replayed in order after outages (#1436)
- The hub gives each repository at most one maintenance owner (#1451)
- Take one computer under each machine ID, and forget it at the hub's terminal (#1477)
- The hub's dashboard of its approved machines, followed live (#1483)
- A paired machine maintains a repository only while it holds its hub's lease (#1485)
- A machine its hub refused as a second computer can take a new machine ID (#1487)
- A paired machine reports its plans and progress to the hub's dashboard (#1494)
- Remove or reject a machine on the hub, and let a waiting one lapse after 7 days (#1492)
- A hub that starts moves no repository to a new owner until its machines report (#1499)
- A one-line header with a Settings menu, and links standing alone without an underline (#1496)
- A paired machine tells its hub when a repository holds another machine's snapshots (#1510)
- A paired machine shows and alerts when its maintenance is paused for want of a lease (#1512)
- A machine its hub removed or rejected can take a new machine ID and ask again (#1515)
- End hub recovery mode from the Machines page (#1602)
- The hub's Machines tab flags a machine whose ID it refused for a second computer (#1605)
- A paired machine stays connected to its hub, and the hub shows it online (#1611)
- A shared navigation bar whose small-screen menu opens over the page and closes on a press outside (#1614)
- The hub alerts when a paired machine stays offline 15 minutes (#1641)
- A machine leaves a lost or replaced hub with
ladderback unpair(#1643) - A machine running 0.5.0 upgrades by installing 0.6.0 and starting it (#1648)
- A hub's start page is its dashboard (#1667)
Changed
- Sort every table's rows with one sort function (#1441)
- The web UI downloads 28% less, its wasm built for size (#1442)
Fixed
- A toast no longer moves what follows it on the page (#1209)
- Steadier loading, progress and tooltip motion (#1213)
- Refuse a second waiting backup of a plan started by hand (#1211)
- Import-profile lists a profile's commands and asks before writing them (#1219)
- Log a failing session store again only after a write changed the sessions (#1228)
- Advise ftps:// in the plain-FTP warning (#1229)
- Drop the stale note under the Propose permission (#1230)
- Escape the import's notices and the service manager's words on the command line (#1235)
- Log a failing API-token store again only after a write changed the tokens (#1236)
- Say why a snapshot listing failed in rustic's own words, as maintenance does (#1252)
- A run whose keyring is locked waits for it to be unlocked (#1233)
- Read the admin password and its file safely: named pipes, permissions and terminal echo (#1257)
- Say the keyring is locked when its unlock prompt was dismissed (#1268)
- Show the pairing token's lapse time in the viewer's time zone (#1276)
- Refuse relative option paths at job start and ignore relative XDG folders (#1284)
- Compare, log and cancel repository locations as decisions 49 and 80 say (#1289)
- The pairing steps say to approve on the hub's Settings page (#1298)
- Settings → Machines speaks through the screen-reader announcer (#1296)
- Read cargo tree without color in the release-test plan (#1304)
- A wrong step-up and "Copied." are read once on Settings → Machines and Pending changes (#1313)
- Log when a machine pairs with the hub (#1315)
- A backup that waited for its keyring and never ran says why (#1318)
- Write pairing-token's times in the person's own time zone (#1316)
- A wrong admin password on Settings → AI agents is read once (#1321)
- Make the hub's keys at its first start (#1319)
- Say which hostname the hub holds when a machine pairs again (#1323)
- How queued and keyring-waiting backups end when the history, a cancel or a deleted plan gets in the way (#1331)
- Refuse every character that hides in a machine's hostname (#1348)
- An approved machine that pairs again is told so, and the hub logs approvals (#1363)
- Confirm a step-up by the hub key's fingerprint, the one ID every screen shows (#1364)
- Bound request heads and served connections, and close the hub's front door on shutdown (#1370)
- Pairing over a plain http address names no certificate (#1376)
- Set-password and pair turn core dumps off before they prompt, and Ctrl-\ puts echo back (#1379)
- Point the start page and sign-in notices to the web UI's own pages (#1382)
- Check-keyring says when the macOS keychain asks, and install-restart waits for the answer (#1412)
- Keep a panic's message out of the daemon's log and the commands' stderr (#1417)
- Point set-password notices to the Admin password tab (#1414)
- Leave a panic's message out of the web UI's console line (#1422)
- Pairing_state names no certificate for a plain http address (#1423)
- Say when install-service starts a service another daemon will block (#1424)
- Clear a step-up field's wrong-password error when a later try is refused for another reason (#1433)
- Show a repeated row once and sort times by instant (#1435)
- Announce a second wrong try in the gallery's step-up demos (#1438)
- Read a debug build's UI files off the async runtime (#1446)
- Say what each pairing-token use would do while the hub runs (#1448)
- A machine paired with a new hub takes that hub's lease grants (#1493)
- Drop the replacement token from the proof-refused message (#1497)
- Maintenance on a paired machine judges its leases by the floor its hub sync sets, so a clock set back can't lengthen one (#1519)
- Sign development installs on macOS (#1600)
- Keep a plan's interval schedule when its form is saved, and say how often it runs (#1608)
- Each repository's row says who maintains it (#1615)
- Say when an imported plan has no schedule, at the import and on the start page (#1616)
- A prune deletes nothing once its machine's hub lease has lapsed (#1482, #573 slice 1) (#1617)
- A lease the hub grants, or a machine gives up, survives a crash or, on Linux, a power cut (#1632)
- The Machines table and pairing-token say machine ID, not agent ID (#1640)
Known limits
- With a hub, a repository several machines back up to is maintained by none of them: the hub leases a repository only to a machine alone in using it, and choosing a shared repository's owner on the hub comes in M9 (#1445). A machine that asks to maintain such a repository is refused with
maintenance-no-lease, and nothing changes in it. - That machine's Repositories and Snapshots pages don't yet say its maintenance is paused, and still offer the maintenance buttons (#1671).