Hello,
I have Proxmox & TrueNAS on my network. I created a PBS container on Proxmox and want to use the TrueNAS as the backup datastore for PBS since I have already setup ZFS Replication from TrueNAS to another server. So when I use TrueNAS for PBS, I would get 2 backups for the price of 1.
For this, I created a new NFS share on TrueNAS called pbsDatastore. I added this NFS storage on Proxmox and then used a mountpoint in the PBS container to allow the PBS container to access the share. I have done this using the conf file:
Then I created a Datastore in PBS by adding the absolute path. Finally I added this datastore into Proxmox by adding a Proxmox Backup Server as the storage and put in the IP and user/password.
However, when I try to backup to this PBS datastore I keep getting the following error:
What can be wrong here?
I have Proxmox & TrueNAS on my network. I created a PBS container on Proxmox and want to use the TrueNAS as the backup datastore for PBS since I have already setup ZFS Replication from TrueNAS to another server. So when I use TrueNAS for PBS, I would get 2 backups for the price of 1.
For this, I created a new NFS share on TrueNAS called pbsDatastore. I added this NFS storage on Proxmox and then used a mountpoint in the PBS container to allow the PBS container to access the share. I have done this using the conf file:
Code:
mp0: /mnt/pve/pbsDatastore,mp=/mnt/freenas/pbsDatastore
Then I created a Datastore in PBS by adding the absolute path. Finally I added this datastore into Proxmox by adding a Proxmox Backup Server as the storage and put in the IP and user/password.
However, when I try to backup to this PBS datastore I keep getting the following error:
Code:
....
....
INFO: Starting backup protocol: Wed Sep 14 16:32:24 2022
INFO: No previous manifest available.
INFO: Upload config file '/var/tmp/vzdumptmp2478968_102/etc/vzdump/pct.conf' to 'root@pam@192.168.1.33:8007:pbsDatastore' as pct.conf.blob
INFO: Upload directory '/mnt/vzsnap0' to 'root@pam@192.168.1.33:8007:pbsDatastore' as root.pxar.didx
INFO: Error: unable to get shared lock - EIO: I/O error
INFO: restarting vm
WARN: old systemd (< v232) detected, container won't run in a pure cgroupv2 environment! Please see documentation -> container -> cgroup version.
INFO: guest is online again after 15 seconds
ERROR: Backup of VM 102 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/vzdumptmp2478968_102/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 102 --backup-time 1663191142 --repository root@pam@192.168.1.33:pbsDatastore' failed: exit code 255
INFO: Failed at 2022-09-14 16:32:37
INFO: Backup job finished with errors
TASK ERROR: job errors
What can be wrong here?