Hello,
one of my LXC container use snap for certbot, and it fails the job backup with error:
As you can see i tried adding some exclude in the
Any idea to achieve the thing ?
regards
one of my LXC container use snap for certbot, and it fails the job backup with error:
Code:
309: 2025-06-26 12:55:06 INFO: starting first sync /proc/3654028/root/ to /var/lib/vz/tmp/vzdumptmp2181495_309/
309: 2025-06-26 12:55:09 ERROR: rsync: [sender] readlink_stat("/proc/3654028/root/snap/certbot/4737") failed: Permission denied (13)
309: 2025-06-26 12:55:09 ERROR: rsync: [sender] readlink_stat("/proc/3654028/root/snap/certbot/4730") failed: Permission denied (13)
309: 2025-06-26 12:55:09 ERROR: rsync: [sender] readlink_stat("/proc/3654028/root/snap/core24/988") failed: Permission denied (13)
309: 2025-06-26 12:55:09 ERROR: rsync: [sender] readlink_stat("/proc/3654028/root/snap/core24/1006") failed: Permission denied (13)
309: 2025-06-26 12:55:09 ERROR: rsync: [sender] readlink_stat("/proc/3654028/root/snap/snapd/24718") failed: Permission denied (13)
309: 2025-06-26 12:55:09 ERROR: rsync: [sender] readlink_stat("/proc/3654028/root/snap/snapd/24505") failed: Permission denied (13)
309: 2025-06-26 12:55:31 ERROR: rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1338) [sender=3.2.7]
309: 2025-06-26 12:55:33 ERROR: Backup of VM 309 failed - command 'rsync --stats -h -X -A --numeric-ids -aH --delete --no-whole-file --sparse --one-file-system --relative '--exclude=/root/snap/*' '--exclude=/root/snap/**' '--exclude=/root/snap' '--exclude=/proc/\*' '--exclude=/tmp/?*' '--exclude=/var/tmp/?*' '--exclude=/var/run/?*.pid' /proc/3654028/root//./ /var/lib/vz/tmp/vzdumptmp2181495_309/' failed: exit code 23
As you can see i tried adding some exclude in the
job.cfg
, but without success :
Code:
exclude-path /root/snap/*
exclude-path /root/snap/**
exclude-path /root/snap
exclude-path /proc/\*
Any idea to achieve the thing ?
regards