backup failed: can't aquire lock

offerlam

Renowned Member
Dec 30, 2012
218
0
81
Denmark
Hi all,

I starting to get these emails where it says my backup is locked and so gets a timeout

vzdump backup status (proxmox01.ins.local) : backup failed: can't aquire lock '/var/run/vzdump.lock' - got timeout

but the funny thing is that i do get a successfull email also on the mashines involved. In the lock error it says its VM being backed up on backup02 storage and those VM are being backed up successfully according to another email from vzdump saying it was successful

Any suggestions?
 
do you have multiple backup cron jobs that run very long? on each host, vzdump will aquire a global lock and can only run once at the same time. the default timeout for aquiring the lock is 3 hours.
 
You can either make them one job (if they are similar enough), space them sufficiently apart (difference between start of second and end of first < 3 hours) or increase the timeout in /etc/vzdump.conf .
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!