I recenty upgraded my Debian LXC running DNS and backups have started to fail. Here's a writeup of the investigation.
What is the right way to address this?
PVE 8.4.13
Issue:Automated backups of LXC container 101 (AdGuard2, Debian 11) started failing after running apt update && apt dist-upgrade in the container. Manual backups using --mode stop succeed, but scheduled backups using --mode snapshot fail during the suspend mode fallback.
Root Cause:
Container Configuration:
Questions for Proxmox Support:
Current Workaround:Manual backups using pct backup 101 --mode stop complete successfully.
What is the right way to address this?
PVE 8.4.13
Issue:Automated backups of LXC container 101 (AdGuard2, Debian 11) started failing after running apt update && apt dist-upgrade in the container. Manual backups using --mode stop succeed, but scheduled backups using --mode snapshot fail during the suspend mode fallback.
Root Cause:
- Container storage (local-zfs-dir) uses .raw file format, which doesn't support snapshots
- Backup automatically falls back to suspend mode, which uses rsync with -A flag (preserve ACLs)
- The Debian upgrade updated systemd, which now sets POSIX ACLs on /var/log/journal/ files
- Proxmox host's ZFS pool has acltype=off (confirmed: zfs get acltype rpool/ROOT/pve-1 returns "off")
- When rsync attempts to preserve ACLs to /tmp/ (on ZFS without ACL support), it fails with "Operation not supported (95)"
Code:
ERROR: rsync: [generator] set_acl: sys_acl_set_file(var/log/journal, ACL_TYPE_ACCESS): Operation not supported (95)
ERROR: rsync error: some files/attrs were not transferred (code 23)
Container Configuration:
- Storage: local-zfs-dir:101/vm-101-disk-0.raw,size=5G
- Type: Unprivileged container
- OS: Debian GNU/Linux 11
Questions for Proxmox Support:
- What is the recommended approach for this scenario?
- Enable ZFS ACLs system-wide (zfs set acltype=posixacl rpool/ROOT/pve-1)?
- Change automated backup mode from snapshot to stop?
- Another solution?
- Is this expected behavior? Should directory-based storage (.raw files) support snapshots, or should the backup job configuration have been using stop mode from the start?
- Are there any implications of enabling acltype=posixacl on the root ZFS dataset for other containers or the Proxmox host itself?
Current Workaround:Manual backups using pct backup 101 --mode stop complete successfully.
Last edited: