On Mon, Aug 3, 2020 at 3:52 PM
vs...@nodalexchange.com
<
vs...@nodalexchange.com> wrote:
>
> Hello Luca,
>
> Thank you for your reply. I see many lock files for the server in the barman home directory. Should they be deleted once the backup is taken? I understand barman creates a lock file when it is trying to take a backup but it looks like barman doesn't delete the lock file once the backup is complete.
As far as I know, the lock file should disappear once the backup has finished.
It seems to me that barman tries to acquire the lock, and in the case
there's a failure, it does not delete it if it thinks there is another
process running. At least, that's what this suggests to me
<
https://github.com/2ndquadrant-it/barman/blob/master/barman/server.py#L1097>,
but I would get some info from the developers about.
If the above is true, barman thinks there is still a process somewhere.
I would say a clean reboot could help fixing the process problem, but
again I'm not sure if this is a safe situation with regard to backups.
Are you really sure there are no barman processes running?
Luca