On Thu, Aug 29, 2024 at 10:12 AM Greg Sabino Mullane <htamfids@xxxxxxxxx> wrote:
On Thu, Aug 29, 2024 at 9:31 AM KK CHN <kkchn.in@xxxxxxxxx> 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.
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!