mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-25 08:06:29 +00:00
@@ -104,9 +104,22 @@
|
|||||||
<filename>repmgr.conf</filename> should contain the following entries:
|
<filename>repmgr.conf</filename> should contain the following entries:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
barman_host='barman@barmansrv'
|
barman_host='barman@barmansrv'
|
||||||
barman_server='somedb'</programlisting>
|
barman_server='pg'</programlisting>
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
Here <literal>pg</literal> corresponds to a section in Barman's configuration file for a specific
|
||||||
|
server backup configuration, which would look something like:
|
||||||
|
<programlisting>
|
||||||
|
[pg]
|
||||||
|
description = "Main cluster"
|
||||||
|
...
|
||||||
|
</programlisting>
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
More details on Barman configuration can be found in the
|
||||||
|
<ulink url="https://docs.pgbarman.org/">Barman documentation</ulink>'s
|
||||||
|
<ulink url="https://docs.pgbarman.org/#configuration">configuration section</ulink>.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<note>
|
<note>
|
||||||
<para>
|
<para>
|
||||||
To use a non-default Barman configuration file on the Barman server,
|
To use a non-default Barman configuration file on the Barman server,
|
||||||
@@ -190,8 +203,8 @@
|
|||||||
<filename>repmgr.conf</filename> should include the following lines:
|
<filename>repmgr.conf</filename> should include the following lines:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
barman_host='barman@barmansrv'
|
barman_host='barman@barmansrv'
|
||||||
barman_server='somedb'
|
barman_server='pg'
|
||||||
restore_command='/usr/bin/barman-wal-restore barmansrv somedb %f %p'</programlisting>
|
restore_command='/usr/bin/barman-wal-restore barmansrv pg %f %p'</programlisting>
|
||||||
</para>
|
</para>
|
||||||
<note>
|
<note>
|
||||||
<simpara>
|
<simpara>
|
||||||
|
|||||||
Reference in New Issue
Block a user