I am running PVE and using PBS to back up the PVE host system. At the present time, I am not trying to back up the guests as I have legacy backup solutions for them.
I describe the problem in detail below. My question is, what is causing this error, and how do I correct it?
Thanks!
I have a simple script that simply invokes proxmox-backup-client three times, each sending a different set of data to the same data store. The first invocation seems to work well. However, the second and third invocations get this message:
Here is the script:
Here are the resulting messages:
The Content screen shows that all three invocations worked at first. But now, only the first one appears. All the backups are verified and can be browsed.
I describe the problem in detail below. My question is, what is causing this error, and how do I correct it?
Thanks!
I have a simple script that simply invokes proxmox-backup-client three times, each sending a different set of data to the same data store. The first invocation seems to work well. However, the second and third invocations get this message:
Error: unable to acquire lock on snapshot directory "/datastore/<redacted>" - base snapshot is already locked by another operation
Here is the script:
Code:
proxmox-backup-client backup root.pxar:/ --repository root@pam@192.168.1.37:8007:PVEHypervisor
proxmox-backup-client backup boot-efi.pxar:/boot/efi --repository root@pam@192.168.1.37:8007:PVEHypervisor
proxmox-backup-client backup etc-pve.pxar:/etc/pve --repository root@pam@192.168.1.37:8007:PVEHypervisor
Here are the resulting messages:
Code:
root@leghorn:~# ./pbsbackup
Starting backup: host/leghorn/2022-08-02T22:40:26Z
Client name: leghorn
Starting backup protocol: Tue Aug 2 18:40:26 2022
Downloading previous manifest (Tue Aug 2 18:38:56 2022)
Upload directory '/' to 'root@pam@192.168.1.37:8007:PVEHypervisor' as root.pxar.didx
skipping mount point: "boot/efi"
skipping mount point: "dev"
skipping mount point: "etc/pve"
skipping mount point: "proc"
skipping mount point: "run"
skipping mount point: "sys"
skipping mount point: "var/lib/lxcfs"
root.pxar: had to backup 40.401 MiB of 11.043 GiB (compressed 10.276 MiB) in 20.72s
root.pxar: average backup speed: 1.949 MiB/s
root.pxar: backup was done incrementally, reused 11.004 GiB (99.6%)
Uploaded backup catalog (1.191 MiB)
Duration: 20.75s
End Time: Tue Aug 2 18:40:46 2022
Starting backup: host/leghorn/2022-08-02T22:40:56Z
Client name: leghorn
Starting backup protocol: Tue Aug 2 18:40:56 2022
Error: unable to acquire lock on snapshot directory "/datastore/<redacted>/2022-08-02T22:40:26Z" - base snapshot is already locked by another operation
Starting backup: host/leghorn/2022-08-02T22:41:06Z
Client name: leghorn
Starting backup protocol: Tue Aug 2 18:41:06 2022
Error: unable to acquire lock on snapshot directory "/datastore/<redacted>/2022-08-02T22:40:26Z" - base snapshot is already locked by another operation
The Content screen shows that all three invocations worked at first. But now, only the first one appears. All the backups are verified and can be browsed.