github junkerderprovinz/bombvault v10.0.0

latest releases: v10.7.0, v10.6.9, v10.6.8...
one month ago

BombVault 10.0.0 is the biggest release so far, and a breaking one. The interface is fully revamped: five entries in the sidebar, one list for everything that is backed up, a page for every entry, one page to restore from, and settings as tiles. Underneath, a lost server comes back without its old APP_KEY in the template, through the recovery kit or a key keeper in your group, groups of instances work by request and Allow, and a ZFS dataset can keep a block-exact replica on a second ZFS host.

Read Breaking changes before you update.

⚠️ Breaking changes

  • Everyone is signed out once at the first start, browsers and phones alike, so no session from before the update keeps more than it should. Sign in again with your password; the new Android app does it by itself.
  • Older Android apps lose the sign-in with the twelve words. An app older than this release still lists your servers and opens them, but it has to sign in with the server's password, since only the new app gets a session from the twelve words. Update the app.
  • Members on BombVault 9.x keep working, with limits. A role you switch on for them is active at once, because they cannot answer a request, and a request from them waits for Allow here. They cannot keep a key deposit or take ZFS replicas, and they sign nothing. A 9.x member this instance knew before the update may call unsigned until it updates; one that joins later has to sign.
  • There is no way back to 9.9 once 10.0 has started. 9.9 would start on the upgraded database but ignore what 10.0 added, such as a key taken over in an emergency, roles and key deposits, and the other members would refuse its unsigned calls. If you want a way back, keep a settings backup from before the update (Export / import settings under Settings, System) or a copy of the appdata folder taken with the container stopped.
  • Containers no longer update after a backup unless you say so. A container that was set to update after its backup keeps doing so as its own choice. Every other container follows the new switch Update containers after a successful backup on the Schedule page, which starts off.
  • A section with its own plan leaves the full backup. A section that had its own plan and was also in the full backup now runs on its own plan only. The Schedule page lists what the full backup still includes.
  • The protected count can be lower than you expect. An entry that no schedule backs up counts as not protected, even when it has older backups. Put it back into a schedule, or mark it Don't back up if you leave it out on purpose.
  • Deleting backups for good takes a login password. Without a password set under Settings, Security, BombVault no longer deletes backups, single backups, off-site copies or ZFS safety snapshots, and does not prune by hand.

✨ Added

Backups: one list for everything

  • One list. Containers, VMs, folders, the flash drive and ZFS datasets stand in one list. Tiles above it pick a kind, and they select instead of hiding the rest of the page.
  • Filter, Sort and Search are three buttons above the list. Sort goes by name, status, IP address, last backup, size or schedule, and every field except the IP address sorts both ways.
  • The last runs as a strip. A row shows its last fourteen runs as small squares and one status. Everything else about it is in the info bubble beside its name, and with the pointer on the row that text stands in the row itself.
  • Select like in a file manager, with Ctrl+click, Shift+click, Ctrl+A or a long press, and a right-click menu on every row. A selected row shows a check in place of its icon, and the selection can be backed up at once or taken out of the schedule.
  • Don't back up. An entry you leave out on purpose can be marked that way. It then stops counting as not protected, and No longer exclude takes it back.
  • Add from one window: a folder or a ZFS dataset, with the system configuration offered as a suggestion.

A page for every entry

  • Three tabs: Backups, Settings and Verify, under a flat header with the name, one line of state and the actions as buttons.
  • Backups lists the entry's backups with a bar per day, the storage locations that hold them, the size by folder and the last runs.
  • Every backup has a menu. Tag it, compare it with another one, restore it, or delete it from one storage location only.
  • Export writes a stored backup to a folder on the server as tar, as zip, or as a restic repository of its own with one backup or all of them. A running container or VM can be exported as it is right now.
  • Settings holds the schedule and storage location, exclude patterns, commands before and after, other containers to stop, database dumps, stacks, former names and the folders that are backed up. Schedule and storage locations follow the default until the entry gets a value of its own.
  • Verify shows the checks, the entry's anomalies and its repository.

Restore

  • One page. Pick a section, search for what you want back and choose a backup from a list with the newest at the top. A handle on the list's rail drags from one backup to the next.
  • One window for every kind, containers, VMs, folders, the flash drive and ZFS datasets alike. It asks in steps and plays the scene of the target you picked.
  • Restore several entries together. Select them on the Restore page the way you select rows in the Backups list, and one window restores them one after the other, each from the backup a single restore would recommend or from one moment you pick for all of them. Every entry is checked first the way a single restore is, and Stop after this one lets the running restore finish and starts no more. The Backups list no longer restores a selection.
  • Some kinds go their own way. In such a restore the flash drive comes as a ZIP for a new stick, and ZFS datasets and the self-backup are restored one at a time. A container this host lacks the GPU or runtime for gets Restore without GPU and runtime in its row.
  • Next to the original is the default. A container comes back as a second, stopped container with free ports, a VM's disks go into a folder of their own and a folder lands beside the old one, each named with -restored. The original stays as it is.
  • Back up the current state first. Before a restore replaces something, BombVault can back up what is there now, so you can go back. If that backup fails, the restore does not start.
  • A restore folder per section. Restore folders under Settings, Restore sets where a restore into a folder goes, with a subfolder per section or an exception for one.
  • Other sources stand beside it: From an old backup folder, opened with its recovery kit or its typed APP_KEY, and Import from the Appdata.Backup plugin.

Emergency restore without the old APP_KEY

  • Three ways in. Emergency on the Restore page starts the Emergency wizard for a server that is gone or was set up again. Upload recovery kit, Through the group or Type the key shows BombVault the key of the old backups, and it tries that key on every storage location before anything is saved.
  • The key is taken over, the template stays. Take the key over makes the new install write its backups with the old server's key. It keeps the APP_KEY from its own template and stores the old one as its backup key, so you no longer have to copy the old APP_KEY into the container. Undo the takeover works until the first backup has run.
  • What a recovery kit holds. The key and the restic password derived from it, every storage location with the repository of each section, the sign-ins of remote locations and the restic commands to restore without BombVault. After a takeover it prints the backup key and this server's APP_KEY, and Save sign-ins takes the kit's sign-ins over, asking before it replaces any.
  • Settings come back, the login stays. The wizard restores BombVault's settings from the newest self-backup and keeps this server's password. Secrets that cannot be taken over are listed, so you can enter them again.
  • A changed APP_KEY stops backups instead of using the wrong key. If APP_KEY changes after a takeover, the backup key no longer opens. BombVault then backs nothing up and says so under Needs you until you upload the kit again or set APP_KEY back.
  • A server with backups of its own refuses the takeover and points to From an old backup folder, which reads the other server's backups without taking its key.

Key keeper

  • A fourth role between instances. Switch on Key keeper on an instance's card and choose Make deposit. That instance keeps a sealed copy of this server's recovery kit and cannot open it, and this server renews the copy when the kit changes.
  • A recovery code of 20 characters, in four groups of five, is shown once and is not stored. Only that code opens the deposit, and Make a new code replaces it while this server still runs.
  • Handed out only after Allow. In the Emergency wizard, Through the group asks the keeper for the deposit. Someone at the keeper has to press Allow, and the request shows who asks and whether that instance was ever seen there. The new install types the code itself, so the code never reaches the keeper.
  • On that day you need three things: the twelve words of your group, the recovery code, and someone at the keeper's interface. A request nobody answers runs out after a day, the deposit has to be collected within 30 minutes of the Allow, and an instance that asks too often waits an hour.

Storage locations

  • Delete the backups at a storage location. Remove storage location and delete the backups there first reads what is stored there and lists what goes, which of it is nowhere else, and which repositories stay because delete protection refuses or something else still uses them. You confirm by typing the location's name.
  • An entry's only backup is kept unless you name it. Entries that would lose their last backup are listed apart and stay unless you switch on Delete these as well. Deleting needs a login password. Without one you can still remove the location, only not its backups.
  • Move a section to another storage location. Move takes the copy of one section there with its whole history and runs in the background, with its progress on the overview. Everything stays in the old place, and BombVault deletes nothing there.
  • A section's off-site copy can follow a storage location. Use below a section's off-site field moves the copy into that section's folder at the storage location. Name, sign-in, storage class and the immutable switch then come from the storage location, which lists the section under Used by, and append-only switched on or off there carries over. Type a location ends the link. (#319)

Anomalies

  • Tiles for Critical, Warnings and Notes, with Open and Closed above the list.
  • A finding offers its fix first, and its details show the value as a curve over the usual range.
  • Learning progress. When nothing is open, a ring per entry shows how far the detection has learned what is normal.

The overview

  • A status head and four cards to start with: what needs you, the protection of each section, the storage locations with a forecast of when they fill up, and the history with runs and log.
  • The other cards wait under Customize: anomalies, not backed up, the calendar, storage, the summary, statistics and the host integration. Every card can be moved, resized and hidden; the status head stays on top.
  • The ring in the head shows how much is protected and turns into a progress ring with its stations while a backup runs. A full backup counts its entries as it goes.
  • One count everywhere. Every card and the server count an entry as protected only while a schedule reaches it and it has a backup. An old backup on its own does not count.

Pictures that explain

  • 3-2-1 as a flow. Every line from a section to a place is a switch you flip with one click, Local included. Graph / Switches brings back the plain table. A section with only off-site places backs up straight to them, and BombVault picks the repository there itself. Its entries move along, and the backups they leave behind show up as Only earlier backups, and you can still restore from them. A section with every line off says Not backed up, the nightly run passes over it instead of failing, and Back up now says why it cannot start.
  • n entries differ. Where an entry backs up somewhere else than its section, the flow says so and leads to it.
  • 3-2-1 needs a copy off the premises. A copy in a folder on the same server does not meet it. A target counts as off the premises when its storage location is marked that way.
  • Retention as a timeline that shows which backups a rule keeps.
  • A fill level as a vessel, with the mark where the place is full. The liquid sloshes from wall to wall and carries bubbles that burst at the top.
  • The week as a band, with every planned run from Monday to Sunday.
  • Scenes for pairing, the relay, the emergency restore, encryption, database dumps, deduplication, the off-site copy, the delete protection and the checks. They stand still when motion is switched off.

Instances and pairing

  • Every instance is paired with the group's twelve words. Pairing on the Instances page leads to a page where three step cards show how, and a finished pairing is confirmed there. This instance's name and its Known addresses, the addresses it found for itself, stand above them as two settings.
  • A card per instance with its roles as tiles: Receiver, Fetcher, ZFS server and Key keeper. An info bubble says how the roles differ, and Details opens the rest.
  • A role starts with a request. Switching on Receiver, Fetcher or ZFS server asks the other instance, and nothing starts until someone there presses Allow. A key keeper takes the deposit at once and asks for Allow only before it hands the deposit out. The request shows on that instance's card as a badge, and an allowed role can be revoked at any time.
  • The group as a net on the Instances page shows who does what for whom. A role that still waits is dashed.
  • The relay in four forms, each with its picture, a paired BombVault among them.
  • A ZFS server without BombVault is connected over SSH from the same place.
  • The Android app opens a server from any network. When the server's own address does not answer, the app loads its interface through the relay and reaches what a paired phone reaches at home, with every answer signed by the server and a warning when that key changes. Signing in with the password, signing out, the password reset and downloads stay at the server's own address, and over the relay More says how the phone is signed in.

ZFS replica

  • A second copy as real datasets. A ZFS entry can replicate to a ZFS server over SSH or to a paired BombVault, after every backup or on a schedule of its own, with its own retention on the target (#320).
  • Beside the backup, not instead of it. The ZFS kind in the Backups list is the ZFS backup you already had, read from a snapshot and stored with restic. The replica is a second copy next to it, and older versions, single files and the checks still come from the backups.
  • Incremental and resumable. A run sends only what changed, and an interrupted stream continues where it stopped.
  • Bring it back as a new dataset, or clone a snapshot on the target with the commands the page shows.
  • A paired instance has to allow it, with a pool, a root and a retention rule, and can take the permission away again.
  • A current replica counts as a copy off the premises in 3-2-1, not as a backup.
  • A paired instance has to answer over HTTPS. BombVault sends nothing to a plain http address, and every transfer leaves a tenth of the receiving pool free.

Password reset

  • Forgot password? on the login page. BombVault writes a code of 12 characters to its container log (on Unraid: Docker tab, BombVault icon, Logs), and that code with a new password signs you in. A code is valid for 10 minutes, and wrong guesses do not use it up, also behind a reverse proxy.
  • A reset removes every other way in. It switches two-factor authentication off, removes every passkey, revokes every API token, MCP key and OAuth sign-in and ends every other session. It also signs paired phones out and keeps phones from pairing until you switch that on again under Settings, Security. The page afterwards lists what was removed.
  • Whoever can read the container log can reset the password. That includes a log viewer such as Dozzle, a container given the Docker socket (read-only is enough) and a log shipper. Give those only to people you would trust with the password.
  • A reset cannot be undone or probed. A password change that was started before a reset and saved after it is refused, and a wrong code gets the same answer as an expired one.

What's new after an update

  • Green dots mark what changed, also on the tabs and tiles that lead there. A click hides a dot.
  • New in the Version card under Settings, Info counts the changes you have not seen and opens them in a window with two tabs: Release notes, and Changes with every change, Go there and one button that marks them all as seen. After an update the window opens by itself on the release notes.

First start

  • A welcome page with what BombVault has found, the three steps to the first backup, and the way to restore from an existing backup.
  • A section you switch on there gets a nightly schedule, and the containers and VMs it found go into it, so the first night already backs them up.

🎨 Design

Navigation

  • The sidebar has five entries: Overview, Anomalies, Backups, Restore and Settings. Anomalies shows while detection is on. Storage locations and Instances are settings tiles that can be pinned to the sidebar.
  • Pages start with their content and use the whole width beside the sidebar. There are no page headings, and a page's main action floats at the bottom right.
  • A window's buttons stand in its foot, in one row on the right with the step forward last. On a phone the foot keeps the way out and the main action, and More holds the rest.
  • Sign out stands above Settings, and a count in the sidebar wears the colour of its entry.
  • On a phone the bar holds four entries and More.

Settings

  • Fourteen tiles: General, Look, Schedule, Storage locations, Restore, Notifications, Verify, Security, Instances, Pairing, Integrations, Apps, System and Info. Where a column beside the page would squeeze it, they become a strip above it that scrolls sideways.
  • A search over all of them, opened with / or Ctrl+K. It also finds the names pages had before.
  • Info holds Version, Help and About. Version lists BombVault, GlimStone, restic and rclone with Check for updates and New, and Help has the Manual and the Bug report.
  • Nothing folds out, and there is no Simple or Advanced switch. Rare things have a card of their own or a window, and explanations sit in info bubbles.
  • System is a third theme beside Dark and Light, in the Android app as well. It follows the device.
  • Every choice under Look has its symbol, Corners and Animation as well as Theme.

Storage locations

  • One place for local and off-site. A location is added from provider tiles and has a page of its own with its connection, retention, copy, delete protection and its section of the rclone config. Its connection can be changed there later. The folder on this server is called Local everywhere, unless there are several, which keep their names.
  • Retention as Short, Balanced, Long or Custom values, with a question before a shorter rule deletes backups.
  • An off-site target is named after its place, the server or the last folder, and keeps a name you give it.

Details

  • One picker window for storage providers, container registries and MCP clients, with tiles three to a row and a search at the top right.
  • Number fields have plain arrows.
  • A new logo, the same in dark and light, and also the icon of the app and of the Community Applications listing. Hold it and it shakes and bursts while the sidebar shakes with it. On a phone the small logo above the overview does the same, and with motion switched off nothing moves.
  • Orange warnings, five type sizes and GlimStone 3.5.0.

⚡ Improved

Schedule

  • Schedules read as sentences, such as "Weekly on Sunday at 04:00", and are edited from that sentence. A section can have a plan of its own and exceptions.
  • Days are spelled out wherever there is room.
  • Update containers after a successful backup is one switch on the Schedule page, off by default. A single container can be set differently on its own page.
  • A section with its own plan leaves the scheduled full backup, so it is no longer backed up twice. Back up everything now still takes every section that is switched on.
  • A failed off-site copy can be acknowledged like a failed backup. The next copy that fails counts again.

Security

  • A paired phone reaches only what the app shows. The Android app, signed in with the group's twelve words, gets the overview, the runs, the backups to look at, start and restore, the anomalies and the Instances page. Keys, the recovery kit, settings and deleting backups need a sign-in at the instance itself, and a restore from the phone that replaces something backs up the current state first (a ZFS dataset gets a safety snapshot), or is refused when it cannot. A restore from the phone into a folder only goes into a new or empty one.
  • Phones can pair with the group's twelve words is a switch in the Android app card under Settings, Security, so you can stop phones from signing in without the password.
  • Group members sign what they ask for. Role answers, withdrawals, the handing out of a restic password and receiver logins are signed with a key that each instance pins for each member, and a call signed with another key is refused. Forget key in an instance's details drops a pinned key.
  • Deleting backups for good takes a login password. Deleting an entry's backups, single backups, an off-site copy, ZFS safety snapshots, a storage location's backups and pruning by hand all need a password set under Settings, Security and your own sign-in. Without a password the page says so instead of deleting.
  • Restores stay out of BombVault's own data folder. A restore into that folder, into a folder inside it or into one that holds it is refused, after links are followed and on every Unraid pool and disk.
  • Passwords in names stay where they are. A name such as https://user:pass@host on an instance, storage location, VM or key reaches notifications, the log, the diagnostics bundle, MCP and other group members without its password.
  • A gone container is not brought back over a running one. BombVault refuses to recreate it where it was while another running container uses its appdata folder.
  • A restored settings backup keeps this server's login unless it proves to be this server's own, so a backup from elsewhere cannot replace your password.

Keyboard and screen readers

  • Arrow keys move through choices, such as where a restore goes or which backup it takes. Enter, Space or a click saves the choice.
  • Screen readers hear the counts: how many entries are selected, that a search found nothing, and how far a restore of several entries has got.
  • Contrast of at least 4.5:1 for quiet text on raised surfaces and for the words on a lit provider tile. On a touch screen every button takes a tap within 44 pixels.

Android app

  • One tap back to the app's overview. With a server open in the app, its name stands at the top of the overview, and the arrow beside it leads back to the app's own overview with all your servers and the activity log.
  • A crashed page no longer closes the app. The app goes back to the server list with a notice, and when Android ends the page to free memory, it opens the same server again.
  • Errors in words. A server that does not open says why in a sentence, with the raw error in an info bubble, and a call the server refuses shows its reason instead of an HTTP code.
  • Faster to reach. The app's overview shows each server as soon as it answers and keeps the last state and log while it refreshes. Opening a server tries its own address and the relay at the same time, so a server that is only reachable through the relay opens without waiting for its own address first. Over the relay the app keeps the last page each server signed and shows it at once while it fetches the current one. A server that is already in use opens on its overview without loading its whole list of entries first.

🐛 Fixed

  • A long off-site copy after a backup was cancelled after two hours. The stall guard kept counting through retention and the off-site copy, so a copy that ran longer than two hours after Back up now stopped as stalled. It now counts only while the backup itself runs. (support thread)
  • A moved off-site target always claimed it would receive the whole history. Before you save a new location for a target, for example the same server over another VPN route, BombVault now lists that location and says whether it holds everything, part of it, or nothing. If it holds nothing, the location does not lead to the old repository, so a wrong path shows up before the upload starts. (#334)
  • A recovery kit written with encryption switched off named no key. Container and VM definitions are sealed with that key either way, so they could not be recreated from such a kit. The kit now prints the key in that case too.
  • A restore could write over BombVault's own data. A folder restored onto the appdata share, or a container bind that pointed there, could replace the database and the keys. Such a target is now refused.
  • A password typed into a name showed up in notifications and the log.
  • The host check asked rclone.org for the newest rclone every time it ran. It reads the installed version only.
  • A container that binds a single file could not be restored. A bind to one file, such as a database, failed its restore with "not a directory". BombVault restores such a file from the folder that holds it, and treats a folder entry that points at one file the same way, so its backups do not count as empty. (#341)
  • The log filled up with harmless errors. Each time BombVault read a storage location that has no repository yet, restic's "repository does not exist" went into the log, and a browser that does not trust the self-signed certificate left a TLS handshake error on every reconnect. BombVault skips restic for a local location without a repository and keeps the error out of the log, and it logs a rejected certificate once per address and hour.
  • The Backups list loaded slowly on a host with many containers. Each load listed every repository again, and every restic call spends about half a second deriving the key. BombVault reuses a repository's listing until its backups change, and reads the names and states of all VMs with one virsh call, which saves an SSH connection per VM over qemu+ssh.
  • A tapped server or the activity log in the app's overview kept a frame around it.

🌐 Translations

  • The new interface in all 42 languages, and the documentation in all 26.
  • One word for each thing. Every language now names an entry, a section, a backup and a storage location the same way everywhere, and addresses you in one form throughout.
  • Numbers and sizes are written the way the page's language writes them, such as 1,2 GB in German.

Upgrading

  • Your template stays as it is. The database is upgraded on the first start, old links lead to the new pages, and an overview you arranged keeps its cards, with run history and activity log merged into History and Last backups gone.
  • Receivers and fetchers you had keep working. On the instance that does the work, each one becomes a role it allowed.
  • From now on BombVault refuses to start on a database that a newer version has upgraded. It names the version to start instead and changes nothing in the database.

Don't miss a new bombvault release

NewReleases is sending notifications on new releases.