Proxmox VE containers (LXC) on ZFS can now be backed up, plus a reliability release for Object Lock storage, a safer file restore, a fix for mixed Hyper-V jobs and a tidier job form. Recommended for everyone, especially with immutable backups on S3 (above all at a distant provider such as Hetzner Object Storage).
Fixed
- File restores never write through a symbolic link. A link already at the restore location (for example one that root in a container put into its volume, or one left by an earlier restore) could send restored files to where it points. The temporary file of each restored file is now created anew, and a link where the backup has a folder is replaced by a folder when restoring into a folder or a container volume; at the original location only links of the system (owned by root or the agent's user) are followed. Found in the review of #42.
- Copy jobs copy only what they keep. A copy job with a shorter retention than its source (e.g. 30 daily backups at the source, 12 monthly in the copy) copied every source backup on each run, and its retention removed most of them again right after. It now copies only the backups its retention keeps; the run message says how many older ones were left out.
- Extending Object Lock no longer stops at the first slow answer. After every backup the agent extends the lock of all data the job's retention keeps. One request that timed out ("The server did not respond in time") stopped the whole step, so reused data could keep a shorter lock than intended. Each object now gets retries; one that still fails keeps its current lock, all others are extended anyway, the run warns with the number, and the next backup tries again. A storage that is down (five failures in a row) stops the step instead of waiting through every object. The same for hardened repositories (#38).
- Temporary S3 errors on reads are retried. The retries of 0.51 did not recognise a provider's timeout or server error when it came on a ranged read, because our own message wrapped it. They do now (#38).
- A run cut short by a stopped agent says so. Instead of "context canceled", a service stop, shutdown or reboot (e.g. Windows Update) gives "The agent was stopped during the run" (#38).
New
- Proxmox VE: containers (LXC) on ZFS. Containers whose volumes are ZFS subvolumes (
subvol-<ID>-disk-N) were refused so far. They are now backed up file by file from a ZFS snapshot while they run: owners (also the shifted IDs of unprivileged containers), permissions, times, extended attributes and ACLs, hard and symbolic links and device files are kept; from the second backup on only changed files are read. They are restored onto a ZFS storage as new subvolumes, their files can be browsed, downloaded and restored into a folder like those of a file backup, and restore tests restore random files. The run page, the job page and the job form list VMs (QEMU) and containers (LXC) apart, and the storage list of a restore offers only storages that fit the guest. Replicas of such containers are not supported yet. Contributed by cedric-marcoux (#42, #43). - Faster start on large repositories. Opening a big repository on S3, Azure or a hardened repository read thousands of index files one after another (28–51 minutes before the first VM at about 855 GB). They are now read eight at a time, and the agent log shows "loading the repository index" with its progress (#38).
- Hyper-V: VMs that may be crash-consistent. In a job with VMs with and without VSS, guests that cannot prepare a checkpoint themselves (e.g. old Linux without the Hyper-V daemons) made every run a warning. List them under VMs that may be crash-consistent (names or patterns): their crash-consistent checkpoint is then no warning, and the run page still shows it. Require application-consistent checkpoints takes precedence (#41).
- Job form: the backup window and the speed limit's time window each sit on one line, and the VMs below All VMs … / Only these: are set apart from the three choices.
Updates
- github.com/letsencrypt/pebble/v2 2.10.3 (test ACME server only).
The S3, lock, Hyper-V, container, restore and copy changes are in the agent: update the agents to 0.53.0 as well (the console offers it on the Agents page). Containers on ZFS need agents 0.53.0 on the Proxmox hosts; older agents refuse them as before.
Thanks to cedric-marcoux for the ZFS container support (#42, #43) and for the detailed reports from production in #38 and #41.
Releases are signed with the BackupZit release key; consoles verify them before installing.