Incremental backup fail

Hi!

I scheduled an automated incremental backup for all virtual servers and i use ssh to upload it to another server somewhere.

One day it stopped to work in automated mode but it was possible to do the backup manually and it was working.

Now, for a while, it fail all the time giving error "Failed to lock the file, like this:

HTTP/1.0 500 Perl execution failed Server: MiniServ/1.730 Date: Sun, 25 Jan 2015 14:11:57 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close

Error - Perl execution failed

Failed to lock file /home/airmat2/.backup after 5 minutes. Last error was : at /usr/libexec/webmin/web-lib-funcs.pl line 1397

Can you help me to fix this issue please?

Thanks in advance!

Status: 
Closed (fixed)

Comments

Is there another backup running of the same domain at the same time?

If not, check the file /home/airmat2/.backup.lock for the PID of the process that has locked the domain. It may be a stuck backup which can be killed, thus freeing up the lock.

Hmm. Yes, i'm doing a full backup on local drive at 00:00 and an incremental backup that i upload on another server that start at 01:00 .. I seen that my full backup runned around 10 hours, so, it's possible that some domain has been backup at the same time.

However, when i do it manually like now, no backup is running and it give me the same error.

Does it help if you delete that .backup.lock file (or kill the process whose PID is in the file) ?

In fact, you got it. It was coming from another backup running at the same time. I just switched my incremental backup to run before the full backup, so, it has time to finish and everything is ok.

Thanks for you help.

Automatically closed -- issue fixed for 2 weeks with no activity.