public inbox for [email protected]
help / color / mirror / Atom feedFrom: Ron Johnson <[email protected]>
To: pgsql-general <[email protected]>
Subject: Re: PgBackRest client_loop: send disconnect: Connection reset
Date: Thu, 29 Aug 2024 10:47:23 -0400
Message-ID: <CANzqJaCR28GEWA_NsfBwzpFJpjakKcX5HsPT9=N+VPpsdRGamA@mail.gmail.com> (raw)
In-Reply-To: <CAKAnmmKHuJGL5g+yWchJqDFA67Cveo3O+PkqDNDwnkN++QJPGA@mail.gmail.com>
References: <CAKgGyB9pD2JtjN2RwZ5_jUnQN7OvQrJZ_oOMffXQFhcx02n0aA@mail.gmail.com>
<CAKAnmmKHuJGL5g+yWchJqDFA67Cveo3O+PkqDNDwnkN++QJPGA@mail.gmail.com>
On Thu, Aug 29, 2024 at 10:12 AM Greg Sabino Mullane <[email protected]>
wrote:
> On Thu, Aug 29, 2024 at 9:31 AM KK CHN <[email protected]> wrote:
>
>> "Unable to acquire lock on file '/tmp/pgbackrest/Repo-backup.lock'
>>
>
> When this happens, take a look inside this file. If there is another
> pgbackrest process running, the pid will be inside that file. Kill that
> process before trying to run another backup.
>
Or don't run pgbackrest when another instance is running. This is what I
do:
pgrep -a pgbackrest | grep -q "pgbackrest backup" && { echo "another
pgbackrest back is running"; exit 1; }
(There's probably a better way to check that, but this works.)
--
Death to America, and butter sauce.
Iraq lobster!
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: PgBackRest client_loop: send disconnect: Connection reset
In-Reply-To: <CANzqJaCR28GEWA_NsfBwzpFJpjakKcX5HsPT9=N+VPpsdRGamA@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox