Dear community, I'm facing an issue on backup 2 LXC where I hosted AdGuard Home.
This is the error I have:
The LXC config:
My other LXCs don't have any issue in backup, but they don't have the following settings:
Is this settings the root cause? Currently I'm using STOP MODE and I'm able to do backup. Is there any other way?
Thank you
Lucas
This is the error I have:
Code:
INFO: starting new backup job: vzdump 202 --notification-mode auto --remove 0 --mode snapshot --node myhostname --compress 0 --storage local --notes-template '{{guestname}}'
INFO: Starting Backup of VM 202 (lxc)
INFO: Backup started at 2024-08-03 07:07:21
INFO: status = running
INFO: CT Name: AdGuard2
INFO: including mount point rootfs ('/') in backup
INFO: mode failure - some volumes do not support snapshots
INFO: trying 'suspend' mode instead
INFO: backup mode: suspend
INFO: ionice priority: 7
INFO: CT Name: AdGuard2
INFO: including mount point rootfs ('/') in backup
INFO: starting first sync /proc/2649616/root/ to /var/lib/vz/dump/vzdump-lxc-202-2024_08_03-07_07_21.tmp
ERROR: rsync: [sender] readlink_stat("/proc/2649616/root/snap/adguard-home/7100") failed: Permission denied (13)
ERROR: rsync: [sender] readlink_stat("/proc/2649616/root/snap/core22/1380") failed: Permission denied (13)
ERROR: rsync: [sender] readlink_stat("/proc/2649616/root/snap/snapd/21759") failed: Permission denied (13)
ERROR: rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1338) [sender=3.2.7]
ERROR: Backup of VM 202 failed - command 'rsync --stats -h -X -A --numeric-ids -aH --delete --no-whole-file --sparse --one-file-system --relative '--exclude=/tmp/?*' '--exclude=/var/tmp/?*' '--exclude=/var/run/?*.pid' /proc/2649616/root//./ /var/lib/vz/dump/vzdump-lxc-202-2024_08_03-07_07_21.tmp' failed: exit code 23
INFO: Failed at 2024-08-03 07:07:22
INFO: Backup job finished with errors
INFO: notified via target `mail-to-root`
TASK ERROR: job errors
The LXC config:
Code:
arch: amd64
cores: 4
features: nesting=1,fuse=1
hostname: AdGuard2
memory: 512
nameserver: 1.1.1.1
net0: name=eth0,bridge=vmbr7,gw=192.168.10.1,hwaddr=BC:24:11:94:6E:A2,ip=192.168.10.19/24,type=veth
onboot: 1
ostype: ubuntu
rootfs: local:202/vm-202-disk-0.raw,size=4G
searchdomain: 8.8.8.8
startup: order=4
swap: 2048
unprivileged: 1
lxc.mount.auto: cgroup:rw
lxc.mount.auto: sys:rw
My other LXCs don't have any issue in backup, but they don't have the following settings:
Code:
features: nesting=1,fuse=1
lxc.mount.auto: cgroup:rw
lxc.mount.auto: sys:rw
Is this settings the root cause? Currently I'm using STOP MODE and I'm able to do backup. Is there any other way?
Thank you
Lucas