Barman backup with multiple databases

405 views
Skip to first unread message

azim koshoev

unread,
Jul 4, 2014, 8:17:55 AM7/4/14
to pgba...@googlegroups.com
Hi! Im new with postgres n barman. I need to configure continuous wal archiving in postgresql.conf.
#archive_command = 'rsync -a %p barman@backup:INCOMING_WALS_DIRECTORY/%f'
"Make sure you change the INCOMING_WALS_DIRECTORY placeholder with the value returned by the barman show-server main command above."

But if i have multiple db in one postgres can i configure it for wals?
Thanks.

Dwight Gunning

unread,
Jul 4, 2014, 9:00:44 AM7/4/14
to pgba...@googlegroups.com
Unless I'm mistaken the 'archive_command' setting applies to all databases within the DB Server. So this aligns with with the INCOMING_WALS_DIRECTORY which is configured per DB Server that is being backed up.

Dwight

azim koshoev

unread,
Jul 4, 2014, 9:18:16 AM7/4/14
to pgba...@googlegroups.com
Ok, but if i have multiple backups I need to set INCOMING_WALS_DIRECTORY in barman.conf same for all backups like in postgresql.conf?

пятница, 4 июля 2014 г., 16:00:44 UTC+3 пользователь Dwight Gunning написал:
Reply all
Reply to author
Forward
0 new messages