Re: Full backup failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Postgresql Home]     [Postgresql General]     [Postgresql Performance]     [Postgresql PHP]     [Postgresql Jobs]     [PHP Users]     [PHP Databases]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Forum]

  Powered by Linux