github junkerderprovinz/bombvault v9.3.0

latest releases: v10.6.7, v10.6.6, v10.6.5...
one month ago

Every restore now checks first and shows what it will change, and a container can be started from its backup in an isolated copy to prove it comes up. A new item gets a restore check right after its first backup, and verify, restore checks and prune show how far they have got. Two instances on the same network pair without a relay, also inside Docker's default bridge network, and pairing explains itself better: the badge says Paired only once another instance is there, a group that stays alone says what to do, and the Fleet tab shows every instance of the group as a card. Settings, schedules and repositories carry over as they are, and scheduled start tests start off.

✨ Added

Safer restores

  • Checks before every restore. Before anything runs, the restore dialog checks that the repository answers, that the stored key opens it, that the restore point is there and that the target has room for what the restore writes. Start stays locked while a check fails, and the (i) in the button names it. A figure that could not be measured shows grey and does not block. The checks write nothing.
  • A plan of what the restore changes. Before you confirm, the dialog counts new, replaced and unchanged files, with the list on request, and the files at the target that are not in the backup. Those stay where they are. restic works this out as a dry run from size and modification time without reading the files. A very large tree stops after 30 seconds and says the numbers are a lower bound.
  • Settings compared with now. For a container the plan compares image and tag, ports, variables and volumes with the running one, and for a VM its memory, vCPUs, disks and network. Variables are compared by name only, their values are never shown.
  • Shared folders. An in-place restore names every other container, running or not, whose bind mount reaches into a folder it writes to, for example "this path is also used by nextcloud-db". It warns and does not block.
  • Stacks are checked member by member. Restore stack checks and plans every member and names the one that blocks.

Proving a restore works

  • A restore check after the first backup. Once an item's first backup is done, BombVault restores a sample of it (up to 100 files and 256 MiB) into a temporary folder under the restore folder, has restic read every file back against its hashes and compares the sizes with the backup. A file too large for the sample, such as a VM disk, gets its first 64 MiB read back. The result shows on the item and a failure sends a notification. Check restore runs the same check on the newest backup whenever you want.
  • Start test. Start test on a container card restores its newest backup into a copy whose name starts with bombvault-test- and starts it on an internal Docker network of its own, with no published ports, no way to the LAN, 1 CPU and 2 GiB of memory. It passes when the container's healthcheck reports healthy, without one when its first exposed port answers, and with neither when it keeps running.
  • The original container is never stopped or changed. The copy carries none of the original's labels and runs without the capabilities, security options and sysctls the original adds; when that makes it fail, the result says what it ran without. The copy, its network and its data are removed afterwards, also when BombVault restarts in the middle of a test, and each install removes only its own copies. Containers on the host network, privileged ones, ones with devices and ones that need another container show as not testable.
  • Scheduled start tests are off by default. Switch on Start test in Automatic restore checks under Settings, Integrity to test one container per scheduled check, the one tested longest ago first. The result shows on the card and on the dashboard.
  • Progress for verify, restore checks and prune. The activity log and the Integrity card show how far restic has got, such as "12 of 47 packs", with the time left in that step once it can be estimated. restic counts packs, snapshots and index files here, not bytes, so that is what the bar shows.

🎨 Changed

Pairing

  • Two instances on the same network pair without a relay, also inside Docker's default bridge network, where multicast never arrives (#270). Each instance learns its own address from the browser at sign-in and searches its own subnet with a signed call only a group member can answer, and the one it finds learns the searcher's address from that call, so both list each other right away. With a relay the members exchange the same addresses and move to a direct route, and the member list in the phrase card says Direct or Via relay for each one.
  • Can't find it? takes one address by hand, for an instance on another subnet or on an unusual port.
  • The tab opens with one sentence: connect all your instances with a 12-word phrase. An (i) beside it says the words make the key, which never leaves your instances.
  • The three step cards are shorter: generate a phrase once on one instance, press Enter phrase on every other one, done. Their (i) bubbles are gone.
  • Create phrase is now Generate phrase, and both buttons are large tiles with a line saying what each does. Generate phrase shows the twelve words with a Copy button and what to do on the next instance. If you pressed it by mistake, Enter phrase under "Already have a phrase?" leaves the empty group and opens the field instead.
  • The field for the words takes a paste as it comes: one word per line, numbered, or separated by commas. Twelve numbered slots fill as you type, a word that is not on the list is named with its position right away, and Pair stays off until all twelve are known words. The checksum still catches a mistyped or swapped word that is on the list.
  • The badge says Paired only once another instance is there. Before, an instance showed Paired as soon as it had a group, even with nobody in it, so two instances that both pressed Create phrase ended up in two separate groups and never found each other. Now it says New group right after generating the phrase, Searching in the first minute after joining, and Still alone after that.
  • Still alone after a minute, the card says what to do. Without a relay it asks whether the other instance is on another network and offers a Project relay button right there, while this instance keeps searching its own network. If both instances generated a phrase, it shows two steps: leave this group, then enter the other instance's words. It also offers to show the phrase in case nothing was entered over there yet.
  • A line in the phrase card shows the relay: connected, not reachable, or no relay. If the relay can't be reached and nobody has joined, the card lists what to check: outgoing HTTPS on port 443 to relay.halleluja.design, a firewall or DNS filter, or for your own relay whether it runs and its address is right.

Relay

  • The relay card starts with what a relay is for: it connects BombVault instances across different networks. A badge in its header says Connected, Not connected or No relay.
  • The card shows this instance's address on your network, as the browser reported it. Change it when a reverse proxy or another port sits between your browser and the instance.
  • Your own relay says up front that there are two ways to run one, the BombVault Relay container or any paired instance that can be reached from outside.
  • How does it work? opens the details only when you want them: the route picture, what the relay sees next to what it never sees, and how the traffic is encrypted.
  • The route picker uses filled glyphs: a cloud for the project relay, a house for your own relay and a crossed-out cloud for no relay.

Fleet

  • Every instance of the group has a card with the BombVault logo, this one first and marked This instance. Each card shows Connected or Not connected and the protection scorecard. Whether a member is reached directly or through the relay is left to the member list in the phrase card.
  • Poll now is gone. While the tab is open it checks every 20 seconds who is connected, and it fetches a connected member's scorecard by itself once the last one is older than 15 minutes. Check now and the monitoring switch are under Details.

Settings and Instances

  • The tabs at the top are single tabs in one row instead of one wide selector. They share the row evenly while every name fits, a long name such as Notifications gets the room it needs, and where the names don't fit side by side every tab shows its glyph with the name as its tooltip.
  • The switch that turns on the Fleet tab is called Instances. Receiver and Pull are named after their tabs.

⚡ Improved

  • The MCP server knows the restore checks. list_items carries each item's restore check and each container's start test, and get_status each domain's last start test.
  • The settings export carries the start test switch.
  • BIND_HOST sets the address the web interface listens on. It defaults to every interface, which the container needs for its published ports, so leave it unset there. The healthcheck asks the same address, so a web interface bound to one address no longer shows as unhealthy.

🐛 Fixed

  • A restored container keeps its healthcheck. The stored container definition left out a healthcheck set in compose or with --health-cmd, so a restore recreated the container without it. Definitions saved from the next backup on keep it; older ones fall back to the image's own healthcheck.
  • Two installs sharing a local repository no longer remove each other's lock. Every install runs under the host name bombvault, so the cleanup of locks left by an interrupted run could take the live lock of a second install for one of them and delete it. A lock now also has to go 10 minutes without a refresh, and restic refreshes a held lock every 5 minutes. After a restart, the lock of an interrupted run is cleared within 10 minutes instead of at once.
  • Signing in over plain HTTP no longer sends you back to the login screen. After a sign-in over HTTPS the browser keeps a secure login cookie for that host, and a page served over plain HTTP on the same host can't replace it, so a correct password looked wrong. Plain HTTP uses its own cookie name now.
  • A restore drill of a container that has only database dumps tests its newest dump. It used to find no backup of the container and fail.
  • A VM's Graceful/Live switch keeps its size when you click it. While it saved, the switch lost track of how wide its segments are and came back narrower.
  • A container card on a phone says "1 path" for a single path. It said "1 paths".
  • The repository picker has one (i). When the choice of repository was locked, a second (i) appeared next to the first. The remaining one also says why it is locked.
  • The authorize command on the Host SSH card wraps inside its box. It was cut off on the right at desktop widths, and the box stays empty until there is a key to show.
  • A VM whose name starts with a dash is no longer read as a virsh option.
  • A schedule you switched off on purpose no longer shows in red. An item left out of the schedule, a domain that is switched off or an own schedule set to off all said "Not backed up automatically" in red, like a fault. The line now says which of these it is, in muted text, and only a schedule that cannot be read stays red (#199).
  • The buttons at the top of Folders and ZFS stay inside the window. In windows between about 780 and 900 px wide they ran past the right edge. They wrap onto a second line now.

🌐 Translations

  • Every new card, hint and message: 139 new strings in all 42 languages, and the reworded pairing, relay and Fleet texts.
  • The new parts of the features, configuration, MCP server, troubleshooting and offsite recovery pages in all 26 documentation languages.

Upgrading

  • Nothing has to be changed. The database is upgraded on the first start, settings export files from older versions still import, and no setting or environment variable was removed or renamed. restic stays at 0.17.3 and the repositories are left as they are.
  • Scheduled start tests are off. A start test starts a copy of a container, so it runs on a schedule only after you switch it on.
  • The restore check after the first backup runs for items first backed up after the update. For the items you already have, press Check restore on the item.
  • A lock left by an interrupted run can hold checks and prunes back for up to 10 minutes after a restart.
  • Each instance learns its own network address the next time someone signs in.
  • An instance that is already in a group counts as having joined at the update. If no other instance is reachable then, it shows the Still alone hint after a minute.

Don't miss a new bombvault release

NewReleases is sending notifications on new releases.