I used this helper script to create a LXC for PBS.
https://helper-scripts.com/scripts?id=Proxmox+Backup+Server
I wanted to write my backups to my NAS so I used this guide to pass though my NAS drive to the LXC which is mounted to /mnt/nas_pbs
https://github.com/JamesTurland/JimsGarage/tree/main/LXC/NAS
I can see and write to the NAS drive in the PBS Shell, I have also added it as a data store and the .chunks and .locks were created.
I then connected PBS to my PVE and i can see it as data store.
when i go to a Container and click on backup it errors and fails. below is the error
I can not get it to back up any container where am i going wrong?
here is the LXC config.
https://helper-scripts.com/scripts?id=Proxmox+Backup+Server
I wanted to write my backups to my NAS so I used this guide to pass though my NAS drive to the LXC which is mounted to /mnt/nas_pbs
https://github.com/JamesTurland/JimsGarage/tree/main/LXC/NAS
I can see and write to the NAS drive in the PBS Shell, I have also added it as a data store and the .chunks and .locks were created.
I then connected PBS to my PVE and i can see it as data store.
when i go to a Container and click on backup it errors and fails. below is the error
INFO: starting new backup job: vzdump 101 --remove 0 --mode snapshot --storage backup --notes-template '{{guestname}}' --notification-mode auto --node pveINFO: Starting Backup of VM 101 (lxc)INFO: Backup started at 2024-05-30 12:13:23INFO: status = runningvm 101 - unable to parse value of 'usb0' - unknown setting 'usb0'vm 101 - unable to parse value of 'usb1' - unknown setting 'usb1'INFO: CT Name: frigateINFO: including mount point rootfs ('/') in backupINFO: excluding bind mount point mp0 ('recordings') from backup (not a volume)INFO: mode failure - some volumes do not support snapshotsINFO: trying 'suspend' mode insteadINFO: backup mode: suspendINFO: ionice priority: 7INFO: CT Name: frigateINFO: including mount point rootfs ('/') in backupINFO: excluding bind mount point mp0 ('recordings') from backup (not a volume)INFO: starting first sync /proc/3111/root/ to /var/tmp/vzdumptmp91735_101INFO: first sync finished - transferred 4.06G bytes in 12sINFO: suspending guestINFO: starting final sync /proc/3111/root/ to /var/tmp/vzdumptmp91735_101INFO: final sync finished - transferred 405.07K bytes in 2sINFO: resuming guestINFO: guest is online again after 2 secondsINFO: creating Proxmox Backup Server archive 'ct/101/2024-05-30T11:13:23Z'INFO: set max number of entries in memory for file-based backups to 1048576INFO: run: /usr/bin/proxmox-backup-client backup --crypt-mode=none pct.conf:/var/tmp/vzdumptmp91735_101/etc/vzdump/pct.conf root.pxar:/var/tmp/vzdumptmp91735_101 --include-dev /var/tmp/vzdumptmp91735_101/. --skip-lost-and-found --exclude=/tmp/?* --exclude=/var/tmp/?* --exclude=/var/run/?*.pid --backup-type ct --backup-id 101 --backup-time 1717067603 --entries-max 1048576 --repository root@pam@192.168.1.146:proxmox_backupINFO: Starting backup: ct/101/2024-05-30T11:13:23ZINFO: Client name: pveINFO: Starting backup protocol: Thu May 30 12:13:37 2024INFO: No previous manifest available.INFO: Upload config file '/var/tmp/vzdumptmp91735_101/etc/vzdump/pct.conf' to 'root@pam@192.168.1.146:8007:proxmox_backup' as pct.conf.blobINFO: Error: fchmod "/mnt/nas_pbs/ct/101/2024-05-30T11:13:23Z/pct.conf.tmp_Unj1Xt" failed: EPERM: Operation not permittedvm 101 - unable to parse value of 'usb0' - unknown setting 'usb0'vm 101 - unable to parse value of 'usb1' - unknown setting 'usb1'vm 101 - unable to parse value of 'usb0' - unknown setting 'usb0'vm 101 - unable to parse value of 'usb1' - unknown setting 'usb1'ERROR: Backup of VM 101 failed - command '/usr/bin/proxmox-backup-client backup '--crypt-mode=none' pct.conf:/var/tmp/vzdumptmp91735_101/etc/vzdump/pct.conf root.pxar:/var/tmp/vzdumptmp91735_101 --include-dev /var/tmp/vzdumptmp91735_101/. --skip-lost-and-found '--exclude=/tmp/?*' '--exclude=/var/tmp/?*' '--exclude=/var/run/?*.pid' --backup-type ct --backup-id 101 --backup-time 1717067603 --entries-max 1048576 --repository root@pam@192.168.1.146:proxmox_backup' failed: exit code 255INFO: Failed at 2024-05-30 12:13:40INFO: Backup job finished with errorsINFO: notified via target `mail-to-root`TASK ERROR: job errorsI can not get it to back up any container where am i going wrong?
here is the LXC config.
GNU nano 7.2 /etc/pve/lxc/109.conf #<div align='center'><a href='https%3A//Helper-Scripts.com' target='_blank' rel='noopener noreferrer'><img src='https%3A//raw.githubuserco>## # PBS LXC## <a href='https%3A//ko-fi.com/D1D7EP4GF'><img src='https%3A//img.shields.io/badge/☕-Buy me a coffee-blue' /></a># </div>##http%3A//192.168.1.146%3A8007arch: amd64cores: 4features: keyctl=1,nesting=1hostname: proxbackservmemory: 4096mp0: /mnt/pve/nas_pbs/,mp=/mnt/nas_pbsnet0: name=eth0,bridge=vmbr0,hwaddr=BC:24:11:49:02:84,ip=dhcp,type=vethonboot: 1ostype: debianrootfs: nvme-2tb:109/vm-109-disk-0.raw,size=10Gswap: 512tags: proxmox-helper-scriptsunprivileged: 1