Re: pg_basebackup for streaming base backups

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: pg_basebackup for streaming base backups
Дата
Msg-id AANLkTinF=iLuGjYCeS2BA8hirVMrbbykvSzAT7fgN0Ux@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_basebackup for streaming base backups  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Ответы Re: pg_basebackup for streaming base backups  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Список pgsql-hackers
On Sun, Jan 16, 2011 at 19:21, Dimitri Fontaine <dimitri@2ndquadrant.fr> wrote:
> Magnus Hagander <magnus@hagander.net> writes:
>> If you're doing a regular base backup, that's *not* for replication,
>> you might want them in files.
>
> +1
>
> So, is that pg_restore -l idea feasible with your current tar format?  I
> guess that would translate to pg_basebackup -l <directory>|<oid>.tar.

Um, not easily if you want to translate it to names. Just like you
don't have access to the oid->name mapping without the server started.
The walsender can't read pg_class for example, so it can't generate
that mapping file.

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/


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

Предыдущее
От: Dimitri Fontaine
Дата:
Сообщение: Re: pg_basebackup for streaming base backups
Следующее
От: Greg Smith
Дата:
Сообщение: Re: We need to log aborted autovacuums