Hello. I am trying to create backups with the Proxmox Backup Server.
For this I have mount an external storage (CIFS) in my system.
My source directory is: mnt/storage-01
The monut is carried out with the following command in /ect/fstab
The storage is also displayed corrently in the web interface of the backup server.
An integration into the Proxmox server itself also seems to have worked without problems.
However, when I now try to create a backup, i get the following errors.
Proxmox (Server) Console:
Proxmox backup server console output:
Does anyone have any idea what this could be? I would be very grateful for any help.
FYI: I have intentionally renamed te hostname in the logs.
Versions:
Proxmox Virtual Environment 7.2-11
Proxmox Backup Server 2.2-7
For this I have mount an external storage (CIFS) in my system.
My source directory is: mnt/storage-01
The monut is carried out with the following command in /ect/fstab
Code:
//<host>/mnt/storage-01 cifs iocharset=utf8,rw,credentials=/etc/backup-credentials.txt,file_mode=0777,dir_mode=0777 0 0
The storage is also displayed corrently in the web interface of the backup server.
An integration into the Proxmox server itself also seems to have worked without problems.
However, when I now try to create a backup, i get the following errors.
Proxmox (Server) Console:
Code:
NFO: including mount point rootfs ('/') in backup
INFO: starting first sync /proc/1655/root/ to /var/tmp/vzdumptmp2198260_101
INFO: first sync finished - transferred 681.18M bytes in 2s
INFO: suspending guest
INFO: starting final sync /proc/1655/root/ to /var/tmp/vzdumptmp2198260_101
INFO: final sync finished - transferred 0 bytes in 0s
INFO: resuming guest
INFO: guest is online again after <1 seconds
INFO: creating Proxmox Backup Server archive 'ct/101/2022-10-13T12:38:00Z'
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/vzdumptmp2198260_101/etc/vzdump/pct.conf fw.conf:/var/tmp/vzdumptmp2198260_101/etc/vzdump/pct.fw root.pxar:/var/tmp/vzdumptmp2198260_101 --include-dev /var/tmp/vzdumptmp2198260_101/. --skip-lost-and-found --exclude=/tmp/?* --exclude=/var/tmp/?* --exclude=/var/run/?*.pid --backup-type ct --backup-id 101 --backup-time 1665664680 --repository root@pam@host:storage-01
INFO: Starting backup: ct/101/2022-10-13T12:38:00Z
INFO: Client name: prox
INFO: Starting backup protocol: Thu Oct 13 14:38:02 2022
INFO: No previous manifest available.
INFO: Upload config file '/var/tmp/vzdumptmp2198260_101/etc/vzdump/pct.conf' to 'root@pam@host:8007:storage-01' as pct.conf.blob
INFO: Error: fchmod "/mnt/storage-01/backup/ct/101/2022-10-13T12:38:00Z/pct.conf.tmp_MB6GVy" failed: EPERM: Operation not permitted
ERROR: Backup of VM 101 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/vzdumptmp2198260_101/etc/vzdump/pct.conf fw.conf:/var/tmp/vzdumptmp2198260_101/etc/vzdump/pct.fw root.pxar:/var/tmp/vzdumptmp2198260_101 --include-dev /var/tmp/vzdumptmp2198260_101/. --skip-lost-and-found '--exclude=/tmp/?*' '--exclude=/var/tmp/?*' '--exclude=/var/run/?*.pid' --backup-type ct --backup-id 101 --backup-time 1665664680 --repository root@pam@host:storage-01' failed: exit code 255
INFO: Failed at 2022-10-13 14:38:03
INFO: Backup job finished with errors
TASK ERROR: job errors
Proxmox backup server console output:
Code:
()
2022-10-13T14:38:02+02:00: starting new backup on datastore 'storage-01': "ct/101/2022-10-13T12:38:00Z"
2022-10-13T14:38:02+02:00: protocol upgrade done
2022-10-13T14:38:02+02:00: GET /previous_backup_time
2022-10-13T14:38:02+02:00: POST /blob
2022-10-13T14:38:02+02:00: POST /blob: 400 Bad Request: fchmod "/mnt/storage-01/backup/ct/101/2022-10-13T12:38:00Z/pct.conf.tmp_MB6GVy" failed: EPERM: Operation not permitted
2022-10-13T14:38:02+02:00: backup ended and finish failed: backup ended but finished flag is not set.
2022-10-13T14:38:02+02:00: removing unfinished backup
2022-10-13T14:38:02+02:00: TASK ERROR: backup ended but finished flag is not set.
Does anyone have any idea what this could be? I would be very grateful for any help.
FYI: I have intentionally renamed te hostname in the logs.
Versions:
Proxmox Virtual Environment 7.2-11
Proxmox Backup Server 2.2-7