Re: Feature request: pg_basebackup --force

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Feature request: pg_basebackup --force
Дата
Msg-id BANLkTi=DbJPpVAKJ+gtO-V4ye6FDghzamA@mail.gmail.com
обсуждение исходный текст
Ответ на Feature request: pg_basebackup --force  (Joshua Berkus <josh@agliodbs.com>)
Ответы Re: Feature request: pg_basebackup --force  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sat, Apr 9, 2011 at 2:26 PM, Joshua Berkus <josh@agliodbs.com> wrote:
> It seems a bit annoying to have to do an rm -rf * $PGDATA/ before resynching a standby using pg_basebackup.  This
meansthat I still need to wrap basebackup in a shell script, instead of having it do everything for me ... especially
ifI have multiple tablespaces. 
>
> Couldn't we have a --force option which would clear all data and tablespace directories before resynching?

What would be even more useful us some kind of support for
differential copy, a la rsync.

(Now I'm waiting for someone to tell me this is a pipe dream.)

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: pgindent
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgindent