Re: pgbackrest restore to new location?

Поиск
Список
Период
Сортировка
От David Steele
Тема Re: pgbackrest restore to new location?
Дата
Msg-id 47627a69-9899-1457-77ba-4bb547dadf69@pgmasters.net
обсуждение исходный текст
Ответ на Re: pgbackrest restore to new location?  (Luca Ferrari <fluca1978@gmail.com>)
Ответы Re: pgbackrest restore to new location?
Список pgsql-general
On 9/17/19 7:23 AM, Luca Ferrari wrote:
> On Tue, Sep 17, 2019 at 12:00 PM Ron <ronljohnsonjr@gmail.com> wrote:
>> The real problem is that after doing that, "pg_ctl start -D
>> /path/to/new/data" fails with "PANIC: could not locate a valid checkpoint
>> record".

Sounds like backup_label is missing or has been deleted.

The easiest way to restore to a new location is just to copy
pgbackrest.conf from the primary (or create a new one) with the same
stanza and then alter pg1-path in pgbackrest.conf or at the command line.

Regards,

-- 
-David
david@pgmasters.net



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

Предыдущее
От: Luca Ferrari
Дата:
Сообщение: Re: pgbackrest restore to new location?
Следующее
От: Ashkar Dev
Дата:
Сообщение: Re: PostgreSQL License