Re: Pgbasebackup help

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Pgbasebackup help
Дата
Msg-id 5660A831.1050201@hogranch.com
обсуждение исходный текст
Ответ на Re: Pgbasebackup help  ("Yelai, Ramkumar IN BLR STS" <ramkumar.yelai@siemens.com>)
Ответы Re: Pgbasebackup help  (Andreas Kretschmer <andreas@a-kretschmer.de>)
Список pgsql-general
On 12/2/2015 9:59 PM, Yelai, Ramkumar IN BLR STS wrote:
>   I can't shutdown the database during the backup and unable to use file system copy of data folder as it creates
inconsistency

If you invoke pg_start_backup()  before the copy, and pg_stop_backup()
after the copy, then a file system copy is consistent.

see
http://www.postgresql.org/docs/current/static/functions-admin.html#FUNCTIONS-ADMIN-BACKUP
for the explanation of those functions.


--
john r pierce, recycling bits in santa cruz



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

Предыдущее
От: Caleb Meredith
Дата:
Сообщение: Re: Can row level security policies also be implemented for views?
Следующее
От: Andreas Kretschmer
Дата:
Сообщение: Re: Pgbasebackup help