"Locked backup group" error when syncing with an off-site PBS

Darkbotic

Member
Jul 10, 2024
71
2
8
Hello everyone.
I'm getting this error when running a sync job with an off-site PBS.
Any idea what could be happening? Both PBS are running the latest version.

Code:
Encountered errors: while creating locked backup group 'BackupGroup { store: "Local", ns: BackupNamespace { inner: ["MrBackup"], len: 6 }, group: BackupGroup { ty: Vm, id: "100" } }'
 
Hi,
Hello everyone.
I'm getting this error when running a sync job with an off-site PBS.
Any idea what could be happening? Both PBS are running the latest version.

Code:
Encountered errors: while creating locked backup group 'BackupGroup { store: "Local", ns: BackupNamespace { inner: ["MrBackup"], len: 6 }, group: BackupGroup { ty: Vm, id: "100" } }'
PBS uses locks to guarantee consistency in case of concurrent operations on the same backup group and/or snapshot. So it seems that the sync fails because another operation is already holding an exclusive lock for the backup group mentioned in the backup. Do you have other task (e.g. backup, sync jobs, ...) running at the same time?
 
What is the output of stat /run/proxmox-backup/old-locking, executed on the sync target PBS instance? What do you get for fuser /run/proxmox-backup/lock/Local/MrBackup/vm-100, again on the sync target?