Skip to content

BackupZit 0.56.0

Choose a tag to compare

@stefanzeljkic stefanzeljkic released this 20 Nov 19:32
· 348 commits to main since this release

A security and reliability release: agents install only updates the release signature names, backup snapshots and checkpoints never stay unnoticed, VMware hosts can be reached through the proxy agent alone, and the fixes from a second full review of the code. Recommended for everyone. Update the console first, then the agents (the console offers 0.56.0 on the Agents page): agents 0.56 accept updates only from a console of 0.56 or newer.

Security

  • Agent updates are checked against the release signature (GHSA-v284-8576-jp84, reported by sapientem). The console used to give the agent both the installer and its checksum, so someone who could replace an installer on the console could have it installed on every agent. The server package now carries a list of the agent installers signed with the release key; agents 0.56 check it with the key built into them, install only an installer it names, and never go back to an older version. The console refuses an installer that differs from the list.
  • Appliance: a random password for bzadmin on every new instance, shown on the VM console like the web admin password (it was the same on every appliance).
  • Adding agents and VMware proxies needs the Storage permission: an agent receives the storage credentials and recovery keys of its jobs, so a backup operator could have obtained them through an agent of their own. Operators keep managing jobs on enrolled agents.
  • LDAP and single sign-on settings, and giving a user more rights, ask for your password or two-factor code; a stored LDAP, SMTP or SSO secret is reused only for the same server, so changing only the address cannot send it elsewhere.
  • PostgreSQL backups: root no longer writes or changes ownership inside folders the postgres account can write, so a compromised database account cannot turn a backup or restore into root access.
  • Windows agents: the agent's folders under ProgramData get SYSTEM as owner, also the update folder.
  • Crafted ext4 disks in VM backups (symbolic link loops, impossible superblocks, oversized extent trees) no longer crash file restores.
  • Signed checksums for the images and other release files: SHA256SUMS.sig and release-files.sha256(.sig); the installation guide shows how to check them with OpenSSL.
  • Smaller hardening: SAML responses with the artifact in the query string or an encrypted NameID are checked like the others (GO-2026-6909 mitigation); host names in CSV reports are escaped; the repository server's configuration folder belongs to root; package scripts no longer follow links; the database password stays out of the process list during installs and console updates; repository pack sizes and key files are bounded; docker-compose.yml pins PostgreSQL by digest.

New

  • Snapshots and checkpoints never stay unnoticed. VMware, Proxmox VE and Hyper-V backups record each snapshot or checkpoint (and VMware disk copies, the Proxmox VE backup lock) before creating it, and drop the record only when a fresh listing shows it gone; removals are tried three times over about ten minutes, and VMware disks that need consolidation are consolidated. A cancel during the creation waits for the snapshot and removes it. After an agent crash or power loss the agent removes what is left at its start and every 15 minutes (Proxmox VE, Hyper-V), or at its next VMware backup and in an automatic clean-up run (VMware). The dashboard lists every leftover under Attention with Remove now, each leftover is notified once by email and chat, and the VMware VM list shows BackupZit snapshots left by older versions too.
  • VMware hosts through the proxy agent (#51, requested by bwd1982). Tick Connect through the proxy agent when adding a host (or in its row): the proxy checks the address and password, reads the VM list, version and license, and reports the certificate and SSH key it saw, which the console pins. Refresh and the VM list every 10 minutes come from the proxy too. The console then needs no route to ESXi or vCenter, so customer networks behind NAT or with overlapping addresses work. The proxy needs agent 0.56.

Fixed

  • Removing a further VMware proxy (vCenter with several proxies) with its backups no longer touches the repository the connection's other proxies use; the removal page says what stays.
  • Data checks no longer take a pack for missing because one listing of the storage missed it: it is looked up on its own first, and a listing that is empty or misses most packs gives no verdict.
  • Linux file jobs: idle automount points are read again as in 0.54 (0.55 skipped them).
  • Split VMware jobs: retention holds after a suspicious backup apply per repository; data checks and restore tests use the job's agent and cover every part; chains and copies also start after parts the console failed, and queued parts of proxies that stay offline expire; two proxies polling at the same moment can no longer both start a run of the same connection.
  • Proxmox VE: a replica whose last update was interrupted, or whose task log cannot be read, is compared in full; a guest that already has the backup lock gets a message naming the cause and qm unlock.
  • Restores of Linux guest files to Windows skip names with : instead of writing them into a stream of another file; NTFS streams are still restored as streams.
  • PostgreSQL point-in-time restores stop a recovered cluster whose start failed before its folder is removed.
  • Repair shows the other problems a check found as a warning when no pack is damaged.

Database changes are applied automatically when the console starts.

Thanks to sapientem for the private report on agent updates, to bwd1982 for the clear write-up in #51, and to gtawelt for testing the VSS fallback with the QEMU guest agent provider (#45).

Releases are signed with the BackupZit release key; consoles verify them before installing, and agents verify their updates.