I have the latest version PVE running and PBS as a LXC on that PVE. A mountpoint in the LXC connecting to a PVE dit that is connected to a SMB directory on a NAS. From the PBS LXC I can reach and write that dir. Can also make a Datastore on that and connect it as backup storage in the PVE.
When run a backup of a LXC as test I'm getting the following error:
In PBS the task error is:
I am not clear how to proceed.
When run a backup of a LXC as test I'm getting the following error:
Code:
INFO: starting new backup job: vzdump 122 --notification-mode auto --node proxmox1 --remove 0 --storage pbs --mode stop --notes-template '{{guestname}}'
INFO: Starting Backup of VM 122 (lxc)
INFO: Backup started at 2024-07-25 10:17:47
INFO: status = running
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: CT Name: whoogle
INFO: including mount point rootfs ('/') in backup
INFO: stopping virtual guest
INFO: creating Proxmox Backup Server archive 'ct/122/2024-07-25T08:17:47Z'
INFO: set max number of entries in memory for file-based backups to 1048576
INFO: run: lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- /usr/bin/proxmox-backup-client backup --crypt-mode=none pct.conf:/var/tmp/vzdumptmp3779201_122/etc/vzdump/pct.conf root.pxar:/mnt/vzsnap0 --include-dev /mnt/vzsnap0/./ --skip-lost-and-found --exclude=/tmp/?* --exclude=/var/tmp/?* --exclude=/var/run/?*.pid --backup-type ct --backup-id 122 --backup-time 1721895467 --entries-max 1048576 --repository root@pam@192.168.1.39:pbs-synology
INFO: Starting backup: ct/122/2024-07-25T08:17:47Z
INFO: Client name: proxmox1
INFO: Starting backup protocol: Thu Jul 25 10:17:51 2024
INFO: No previous manifest available.
INFO: Upload config file '/var/tmp/vzdumptmp3779201_122/etc/vzdump/pct.conf' to 'root@pam@192.168.1.39:8007:pbs-synology' as pct.conf.blob
INFO: Error: fchmod "/mnt/pbs/ct/122/2024-07-25T08:17:47Z/pct.conf.tmp_xzyPwV" failed: EPERM: Operation not permitted
INFO: restarting vm
INFO: guest is online again after 5 seconds
ERROR: Backup of VM 122 failed - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- /usr/bin/proxmox-backup-client backup '--crypt-mode=none' pct.conf:/var/tmp/vzdumptmp3779201_122/etc/vzdump/pct.conf root.pxar:/mnt/vzsnap0 --include-dev /mnt/vzsnap0/./ --skip-lost-and-found '--exclude=/tmp/?*' '--exclude=/var/tmp/?*' '--exclude=/var/run/?*.pid' --backup-type ct --backup-id 122 --backup-time 1721895467 --entries-max 1048576 --repository root@pam@192.168.1.39:pbs-synology' failed: exit code 255
INFO: Failed at 2024-07-25 10:17:52
INFO: Backup job finished with errors
INFO: notified via target `mail-to-root`
TASK ERROR: job errors
In PBS the task error is:
Code:
2024-07-25T10:17:51+02:00: starting new backup on datastore 'pbs-synology' from ::ffff:192.168.1.30: "ct/122/2024-07-25T08:17:47Z"
2024-07-25T10:17:51+02:00: protocol upgrade done
2024-07-25T10:17:51+02:00: GET /previous_backup_time
2024-07-25T10:17:51+02:00: POST /blob
2024-07-25T10:17:51+02:00: POST /blob: 400 Bad Request: fchmod "/mnt/pbs/ct/122/2024-07-25T08:17:47Z/pct.conf.tmp_xzyPwV" failed: EPERM: Operation not permitted
2024-07-25T10:17:51+02:00: backup failed: connection error: not connected
2024-07-25T10:17:51+02:00: removing failed backup
2024-07-25T10:17:51+02:00: TASK ERROR: connection error: not connected
I am not clear how to proceed.