Re: Full backup failed

Поиск
Список
Период
Сортировка
От Michael Banck
Тема Re: Full backup failed
Дата
Msg-id 65d30861.5d0a0220.ef3a3.0214@mx.google.com
обсуждение исходный текст
Ответ на Re: Full backup failed  (Rajesh Kumar <rajeshkumar.dba09@gmail.com>)
Список pgsql-admin
Hi,

On Mon, Feb 19, 2024 at 01:13:36PM +0530, Rajesh Kumar wrote:
> Archive command is set to pgbackrest --stanza=db archive-push "%p"

That looks right.
 
> There were no such issue since last year.
> 
> In postgres logs, don't see anything related to archive. But I see,
> WARNING,0100, aborting backup due to backend exiting before pg_backup_stop
> was called....pgbackrest[backup] client backend, 58568621736954596

This error is due to the timeout that pgbackrest backend suffered.

I think one reason pgbackrest backup could time out after 60s is WAL
pileup, i.e. it tries to check whether the current WAL archive was
successfully archived in 60s but if there is a huge lag in archiving
(for whatever reason) the current WAL segment might not get archived for
another 60 seconds and the backup fails.

So if you have that data in monitoring, check whether archiving was
maybe lagging behind, or otherwise, check whether there are a lot of
.ready files in the pg_wal/archive_status sub-directory right now and/or
possibly just try the backup again.


Michael



В списке pgsql-admin по дате отправления:

Предыдущее
От: Rajesh Kumar
Дата:
Сообщение: Re: Full backup failed
Следующее
От: Amitpal Singh
Дата:
Сообщение: Re: Full backup failed