Re: Backups over slave instead master?

Поиск
Список
Период
Сортировка
От Shaun Thomas
Тема Re: Backups over slave instead master?
Дата
Msg-id 53626E46.4060507@optionshouse.com
обсуждение исходный текст
Ответ на Backups over slave instead master?  (Edson Richter <edsonrichter@hotmail.com>)
Ответы Re: Backups over slave instead master?
Список pgsql-general
On 05/01/2014 10:31 AM, Edson Richter wrote:

> I'm wondering if would be possible to execute these backups in the slave
> server instead, so I can avoid the overhead of backups on master system?

If you're on PostgreSQL 9.3, you can backup the slave server safely. If
not, you'll need to run this command on the master system first:

SELECT pg_start_backup('some-label');

After the backup is done, run this on the master server:

SELECT pg_stop_backup();

--
Shaun Thomas
OptionsHouse | 141 W. Jackson Blvd. | Suite 500 | Chicago IL, 60604
312-676-8870
sthomas@optionshouse.com

______________________________________________

See http://www.peak6.com/email_disclaimer/ for terms and conditions related to this email


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

Предыдущее
От: Edson Richter
Дата:
Сообщение: Backups over slave instead master?
Следующее
От: Seb
Дата:
Сообщение: break table into portions for writing to separate files