Hi,
I try to get my backups working on the PBS V3.2.1. In side the PBS I have a datapool connect to an SMB share.
To start i first connected the SMB share directly to the PVE Storage "SMB", and I was able to to a BackUp to the SMB-Share. see:
Than I connect the same Share to the PBS as Datastore "test" and than connected the PBS to the PVE. When I run the backUp now I get the following Error:
To what is the permission error linked?
I locked to the pbs via shell and test i f I can write to the share. This works, so I guess the SMB Share is just right.
To the PBS and the PVE I am logged in as root@pam.
Any Hints where to search?
Thanks
I try to get my backups working on the PBS V3.2.1. In side the PBS I have a datapool connect to an SMB share.
To start i first connected the SMB share directly to the PVE Storage "SMB", and I was able to to a BackUp to the SMB-Share. see:
Code:
INFO: starting new backup job: vzdump 202 --notes-template '{{guestname}}' --remove 0 --mode snapshot --compress zstd --storage SMB --node proxmox
INFO: filesystem type on dumpdir is 'cifs' -using /var/tmp/vzdumptmp1753408_202 for temporary files
INFO: Starting Backup of VM 202 (lxc)
INFO: Backup started at 2024-02-03 00:15:09
INFO: status = running
INFO: CT Name: jellyfin
INFO: including mount point rootfs ('/') in backup
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
Logical volume "snap_vm-202-disk-1_vzdump" created.
INFO: creating vzdump archive '/mnt/pve/SMB/dump/vzdump-lxc-202-2024_02_03-00_15_09.tar.zst'
INFO: Total bytes written: 2479872000 (2.4GiB, 163MiB/s)
INFO: archive file size: 883MB
INFO: adding notes to backup
INFO: cleanup temporary 'vzdump' snapshot
Logical volume "snap_vm-202-disk-1_vzdump" successfully removed.
INFO: Finished Backup of VM 202 (00:00:16)
INFO: Backup finished at 2024-02-03 00:15:25
INFO: Backup job finished successfully
INFO: notified via target `mail-to-root`
TASK OK
Than I connect the same Share to the PBS as Datastore "test" and than connected the PBS to the PVE. When I run the backUp now I get the following Error:
Code:
INFO: starting new backup job: vzdump 202 --notes-template '{{guestname}}' --remove 0 --node proxmox --storage testSMB --mode snapshot
INFO: Starting Backup of VM 202 (lxc)
INFO: Backup started at 2024-02-03 00:20:31
INFO: status = running
INFO: CT Name: jellyfin
INFO: including mount point rootfs ('/') in backup
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
Logical volume "snap_vm-202-disk-1_vzdump" created.
INFO: creating Proxmox Backup Server archive 'ct/202/2024-02-02T23:20:31Z'
INFO: run: /usr/bin/proxmox-backup-client backup --crypt-mode=none pct.conf:/var/tmp/vzdumptmp1757351_202/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 202 --backup-time 1706916031 --repository root@pam@192.168.1.181:test
INFO: Starting backup: ct/202/2024-02-02T23:20:31Z
INFO: Client name: proxmox
INFO: Starting backup protocol: Sat Feb 3 00:20:32 2024
INFO: Error: Permission denied (os error 13)
INFO: cleanup temporary 'vzdump' snapshot
Logical volume "snap_vm-202-disk-1_vzdump" successfully removed.
ERROR: Backup of VM 202 failed - command '/usr/bin/proxmox-backup-client backup '--crypt-mode=none' pct.conf:/var/tmp/vzdumptmp1757351_202/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 202 --backup-time 1706916031 --repository root@pam@192.168.1.181:test' failed: exit code 255
INFO: Failed at 2024-02-03 00:20:32
INFO: Backup job finished with errors
INFO: notified via target `mail-to-root`
TASK ERROR: job errors
To what is the permission error linked?
I locked to the pbs via shell and test i f I can write to the share. This works, so I guess the SMB Share is just right.
To the PBS and the PVE I am logged in as root@pam.
Any Hints where to search?
Thanks