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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: Backups WAS: 2 gig file size limit
Дата
Msg-id 27750.994730861@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Re: Backups WAS: 2 gig file size limit  (Joseph Shraibman <jks@selectacast.net>)
Список pgsql-general
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

There is no possibility of anything less drastic, if you want to ensure
that the database files are consistent and not changing.  Don't even
think about doing a partial dump of the $PGDATA tree, either.  If you
don't have a pg_log that matches your data files, you've got nothing.

            regards, tom lane

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

Предыдущее
От: Mike Castle
Дата:
Сообщение: Re: Re: Backups WAS: 2 gig file size limit
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: Re: Backups WAS: 2 gig file size limit