Re: pg v. 8.4.5 misses objects and data after restoring from backup using wal

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: pg v. 8.4.5 misses objects and data after restoring from backup using wal
Дата
Msg-id 4D21B4AE0200002500038F48@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: pg v. 8.4.5 misses objects and data after restoring from backup using wal  (Imre Oolberg <imre@auul.pri.ee>)
Ответы Re: pg v. 8.4.5 misses objects and data after restoring from backup using wal
Список pgsql-admin
Imre Oolberg <imre@auul.pri.ee> wrote:

> archive_command = 'test ! -f
> /data/backup/postgresql/archive-logs/%f &&
> cp %p /data/backup/postgresql/archive-logs'

I suppose that will work, but why not specify %f in the copy target?

> I guess that my problem is probably that although my .backup file
> says
>
> 000000010000000000000009.00000020.backup
> START WAL LOCATION: 0/9000020 (file 000000010000000000000009)
> STOP WAL LOCATION: 1/6325B2E0 (file 000000010000000100000063)
> CHECKPOINT LOCATION: 0/A2C4908
> START TIME: 2011-01-03 11:32:17 EET
> LABEL: test
> STOP TIME: 2011-01-03 12:18:27 EET
>
> looking at the pg_ctl.log it starts reading wal logs beginning
> with 000000010000000100000063 and not with
> 000000010000000000000009

What did you have in your recovery.conf file?

-Kevin

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

Предыдущее
От: bricklen
Дата:
Сообщение: Re: Greenplum: Functions that execute SQL statements from the segDBs are not yet supported.
Следующее
От: Imre Oolberg
Дата:
Сообщение: Re: Re: pg v. 8.4.5 misses objects and data after restoring from backup using wal