Hello. I'm trying to restore a backup for a 200G LXC container, but I get the following errors:
ecovering backed-up configuration from 'nas01:backup/vzdump-lxc-109-2025_06_05-23_03_37.tar.zst'
Logical volume "vm-401-disk-0" created.
Creating filesystem with 52428800 4k blocks and 13107200 inodes
Filesystem UUID: a076fa89-31eb-47ac-aeb2-69926d881f65
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872
restoring 'nas01:backup/vzdump-lxc-109-2025_06_05-23_03_37.tar.zst' now..
extracting archive '/mnt/pve/nas01/dump/vzdump-lxc-109-2025_06_05-23_03_37.tar.zst'
tar: ./var/lib/php/sessions/sess_0i67sp8kgepvrmchugknjf8fht: Cannot open: No space left on device
tar: ./var/lib/php/sessions/sess_2s9i3kjb05aeqgh4fh5j6tu7jb: Cannot open: No space left on device
tar: ./var/lib/php/sessions/sess_ja7umnkbo56nblgio8hbgggdnc: Cannot open: No space left on device
… [hundreds of these messages]
tar: ./var/lib/php/sessions/sess_bhtk5q3hlqqnki7nc1vm46hr1p: Cannot open: No space left on device
tar: ./var/lib/php/sessions/sess_qasriimlnt986vtveglgm1jujj: Cannot open: No space left on device
Total bytes read: 89188997120 (84GiB, 33MiB/s)
tar: Exiting with failure status due to previous errors
Logical volume "vm-401-disk-0" successfully removed
TASK ERROR: unable to restore CT 401 - command 'tar xpf - --zstd --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/401/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2
I am restoring onto a 2TB disk that has 1.6TB available, so there is plenty of space on the target disk for the restore.
It looks like an error with the backup itself. Any way to instruct tar for the recovery to ignore /var/lib/php/sessions?
ecovering backed-up configuration from 'nas01:backup/vzdump-lxc-109-2025_06_05-23_03_37.tar.zst'
Logical volume "vm-401-disk-0" created.
Creating filesystem with 52428800 4k blocks and 13107200 inodes
Filesystem UUID: a076fa89-31eb-47ac-aeb2-69926d881f65
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872
restoring 'nas01:backup/vzdump-lxc-109-2025_06_05-23_03_37.tar.zst' now..
extracting archive '/mnt/pve/nas01/dump/vzdump-lxc-109-2025_06_05-23_03_37.tar.zst'
tar: ./var/lib/php/sessions/sess_0i67sp8kgepvrmchugknjf8fht: Cannot open: No space left on device
tar: ./var/lib/php/sessions/sess_2s9i3kjb05aeqgh4fh5j6tu7jb: Cannot open: No space left on device
tar: ./var/lib/php/sessions/sess_ja7umnkbo56nblgio8hbgggdnc: Cannot open: No space left on device
… [hundreds of these messages]
tar: ./var/lib/php/sessions/sess_bhtk5q3hlqqnki7nc1vm46hr1p: Cannot open: No space left on device
tar: ./var/lib/php/sessions/sess_qasriimlnt986vtveglgm1jujj: Cannot open: No space left on device
Total bytes read: 89188997120 (84GiB, 33MiB/s)
tar: Exiting with failure status due to previous errors
Logical volume "vm-401-disk-0" successfully removed
TASK ERROR: unable to restore CT 401 - command 'tar xpf - --zstd --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/401/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2
I am restoring onto a 2TB disk that has 1.6TB available, so there is plenty of space on the target disk for the restore.
It looks like an error with the backup itself. Any way to instruct tar for the recovery to ignore /var/lib/php/sessions?