Re: Basebackup fails without useful error message
От | Adrian Klaver |
---|---|
Тема | Re: Basebackup fails without useful error message |
Дата | |
Msg-id | 8c61a882-f2a7-4661-bb29-aa4b33450c9e@aklaver.com обсуждение исходный текст |
Ответ на | Re: Basebackup fails without useful error message (Koen De Groote <kdg.dev@gmail.com>) |
Ответы |
Re: Basebackup fails without useful error message
|
Список | pgsql-general |
On 10/20/24 14:03, Koen De Groote wrote: > So I'm assuming the process of writing WAL files, if there is an > archive_command set, is only considered to be finished after the archive > is written, not just when the WAL file is written in pg_wal. https://www.postgresql.org/docs/current/continuous-archiving.html#BACKUP-ARCHIVING-WAL "It is important that the archive command return zero exit status if and only if it succeeds. Upon getting a zero result, PostgreSQL will assume that the file has been successfully archived, and will remove or recycle it. However, a nonzero status tells PostgreSQL that the file was not archived; it will try again periodically until it succeeds." > Regards, > Koen De Groote > > -- Adrian Klaver adrian.klaver@aklaver.com
В списке pgsql-general по дате отправления: