Re: pg_dump on a standby for a very active master

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: pg_dump on a standby for a very active master
Дата
Msg-id 20190212175940.GQ6197@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: pg_dump on a standby for a very active master  (Arjun Ranade <ranade@nodalexchange.com>)
Ответы Re: pg_dump on a standby for a very active master  (Arjun Ranade <ranade@nodalexchange.com>)
Список pgsql-general
Greetings,

* Arjun Ranade (ranade@nodalexchange.com) wrote:
> Yeah, that was one thing I was planning to try.  The other potential
> solution is to use barman (we are using barman on all db servers including
> standbys) to restore the latest backup to a VM and then take the pg_dump
> from there.  But I was hoping there would be a way in the settings to
> prevent such a workaround.

Performing a file-level backup and then restoring that and then
taking a pg_dump of restored cluster works quite well as a solution, in
my experience, even better is when you can do a delta restore over top
of the prior restore, updating just the files which were different, as
that can be much faster.

Thanks!

Stephen

Вложения

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

Предыдущее
От: Scot Kreienkamp
Дата:
Сообщение: RE: pg_dump on a standby for a very active master
Следующее
От: Arjun Ranade
Дата:
Сообщение: Re: pg_dump on a standby for a very active master