Re: Re: Backups WAS: 2 gig file size limit

Поиск
Список
Период
Сортировка
От Joseph Shraibman
Тема Re: Re: Backups WAS: 2 gig file size limit
Дата
Msg-id 3B4B5889.52D4220B@selectacast.net
обсуждение исходный текст
Ответ на Re: [HACKERS] 2 gig file size limit  (Lamar Owen <lamar.owen@wgcr.org>)
Список pgsql-general
Tom Lane wrote:
>
> Joseph Shraibman <jks@selectacast.net> writes:
> > Could a command be added that locks all the files, quickly tars them
> > up, then releases the lock?
>
> pg_ctl stop
> tar cfz - $PGDATA >someplace
> pg_ctl start
>
But that would mean I would have to have all my programs detect that the
database went down and make new connections.  I would rather that
postgres just lock all the files and do the tar.



--
Joseph Shraibman
jks@selectacast.net
Increase signal to noise ratio.  http://www.targabot.com

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

Предыдущее
От:
Дата:
Сообщение: Re: error handling. How to?
Следующее
От: "Mikheev, Vadim"
Дата:
Сообщение: RE: Re: Backups WAS: 2 gig file size limit