A feature, security and reliability release. Recommended for everyone. Update the console first, then the agents.
New
- Windows recovery ISO with a graphical restore (built on #61 by gtawelt). The recovery program restores without the console:
- a whole disk, also onto a smaller or larger disk: NTFS is shrunk (also by moving data, after a consistency check of the source) or grown; onto the original disk it keeps the layout of the backup when it fits;
- single partitions over an existing partition or into free space, while the other partitions stay;
- GPT ↔ MBR conversion, boot repair, drivers, BitLocker unlock;
- access packages (
.bzaccess, created under Recovery media or withbackupzit-agent access-package): the location, credentials and key of backups, encrypted with a passphrase, so the medium opens them without the console. The passphrase needs 12 characters of three kinds (16 of two, 20 of one); common passwords are refused, and the page offers a generated one that types the same on QWERTY, QWERTZ and AZERTY keyboards; - in the console's 14 languages; Windows PE gets the language and keyboard of the PC that builds the ISO;
- with
\backupzit\recovery.jsonon the medium, the recovery agent connects to the console as before, so someone on site only boots the stick. The command line has the same:image-restore --fit/--style,image-layout,partition-restore,boot-repair,bitlocker,drivers,ntfs-check. - Files that are only in iCloud Drive or OneDrive are no longer read errors (#62, reported by cedric-marcoux). On a Mac with Optimize Mac Storage and on Windows with OneDrive Files On-Demand, a file whose content is only in the cloud is not opened (no download, no waiting). If the previous backup has it unchanged, its content is kept from there. The others are counted per folder in a block of their own on the run page and in the mails, with how to fix it; real read errors stay listed one by one. The run warns, since that content is not in the backup.
- Enroll a Mac from the menu bar app. Right after the installation the app asks for the enrollment code, and macOS for an administrator's password: no Terminal. Later: Enroll this Mac… in its menu.
- One macOS package for Apple silicon and Intel Macs (
backupzit-agent_<version>_darwin_universal.pkg), also for updates. - Storage reachable only from an agent's site (#63, requested by cedric-marcoux): a network target can be tested from an agent instead of the console. With Reachable by agents only the console never connects to it, Find backups goes through an agent, it is not offered for the console backup, and browsing says to restore with paths. Failed connection tests go to the console log.
Safer
- Restores check the target disk again before every write, by size, model, serial number and partition table ID: a disk that got the chosen number in the meantime (a USB disk plugged in again) is refused. Disks holding the repository (also
usb://), the recovery medium or access packages are never targets. - Nothing malformed reaches the disk: image metadata and layouts are checked before the partition table is written, and every block is written within its partition's bounds.
- Boot files: written only where the boot configuration needs them (MBR, conversions); from a running Windows the restored disk's boot entry is added last, so the computer keeps starting from its own disk. Boot repair always saves the boot data first, on another drive.
- The macOS agent never asks iCloud to download a file (
MaterializeDatalessFilesoff; the package writes the service definition again at every update).
Fixed
- Install on the update page asks the update source again before it downloads (after the testing channel moved on, the files it showed were gone).
Other
image-restoreandpartition-restoreexit with code 3 when the data was written but finishing the disk failed.- Fuzz targets for the new parsers (access packages, NTFS, drive layouts, pnputil output; the last one found a crash, fixed).
Thanks to gtawelt for the Windows recovery program, the NTFS resizer and the access packages: our version is built on his code. Thanks to cedric-marcoux for the careful iCloud analysis, the storage proposal and testing on real Macs, and to everyone who tested the macOS agent.
Releases are signed with the BackupZit release key; consoles verify them before installing, and agents verify their updates.