0.58.0 release notes (without [#53], which goes to 0.59)
A security and reliability release. Recommended for everyone. Update the console first, then the agents (the console offers 0.58.0 on the Agents page); all changes below are in the agent, the new job option needs agent 0.58.
Security
- Restores write only into the folders they opened. File restores checked a path and then wrote to it by name. A user who may write to a folder of the path (his own profile at the original location, or a folder below the restore folder) could swap that folder for a link while the restore ran and make the agent, as SYSTEM or root, write the rest of the restored files somewhere else, and set their owner and permissions there (for example on
/etc/shadow). Every folder is now opened once, from the restore folder or the volume root down, and every create, rename, link and permission change goes through it; owner, permissions and attributes are set on the restored file itself. At the original location links on the way are followed only when they belong to the system or an administrator and nobody else may change or replace them: the old compatibility links in user profiles (such as Application Data), which belong to SYSTEM but which the user may point anywhere, are no longer followed; a link to a folder that does not exist is an error, and nothing is created where it points. This covers file backups, and files from VM and image backups restored to the original location (0.57 covered restores of those into a folder).
New
- VMware: job option for crash-consistent snapshots (#59, suggested by bwd1982): Crash-consistent snapshots (no VMware Tools quiescing) for guests whose quiescing fails or misbehaves. Off by default.
- Hyper-V: VMs that are off are read incrementally on every run. Their change tracking ID never advanced without a checkpoint, so every backup of a VM that stayed off read again everything changed since it last ran (1.1 GiB of a 4 GiB disk in our lab, every run). They now get a recovery checkpoint too, which also keeps the read consistent if the VM is started meanwhile; Replica VMs, and VMs Hyper-V cannot take one of, are read directly as before.
Fixed
- VMware: Windows VMs with VMware Tools were refused on some hosts (#59, found and analysed by bwd1982): on ESXi 6.7 the disk of a quiesced snapshot is a small delta written by the quiescing, and the backup took it for a snapshot of the VM's own ("… is a snapshot delta disk"). That delta is now read with the snapshot; a VM with snapshots of its own is still refused.
- A retention that could not list or lock the repository ended the run green with only a note; it is now a warning, so old backups that are never removed do not go unnoticed.
Thanks to bwd1982 for the precise report with the hostd.log lines and the analysis.
Releases are signed with the BackupZit release key; consoles verify them before installing, and agents verify their updates.