Обсуждение: It is not clear from documentation when and how I should restore base backup

Поиск
Список
Период
Сортировка

It is not clear from documentation when and how I should restore base backup

От
PG Doc comments form
Дата:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/16/continuous-archiving.html
Description:

Hello.

On page:
https://www.postgresql.org/docs/current/continuous-archiving.html#BACKUP-PITR-RECOVERY
Is is not clear should I do additional actions to restore basebackup first
and then WAL files (as described at p6)

This paragraph even more confusing:
https://www.postgresql.org/docs/current/continuous-archiving.html#BACKUP-STANDALONE
> ... and no special action is required to restore the backup.
Should I configure restore_command at least?

Thank you.

Re: It is not clear from documentation when and how I should restore base backup

От
"David G. Johnston"
Дата:


On Thu, Oct 5, 2023, 11:11 PG Doc comments form <noreply@postgresql.org> wrote:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/16/continuous-archiving.html
Description:

Hello.

On page:
https://www.postgresql.org/docs/current/continuous-archiving.html#BACKUP-PITR-RECOVERY
Is is not clear should I do additional actions to restore basebackup first
and then WAL files (as described at p6)

You mean step 4?


This paragraph even more confusing:
https://www.postgresql.org/docs/current/continuous-archiving.html#BACKUP-STANDALONE
> ... and no special action is required to restore the backup.
Should I configure restore_command at least?

It is standalone, everything needed and possible exists in the backup file pg_basebackup created.

David J.