1BARMAN-WAL-ARCHIVE(1) Version 2.8 BARMAN-WAL-ARCHIVE(1)
2
3
4
6 barman-wal-archive - archive_command based on Barman’s put-wal
7
9 barman-wal-archive [OPTIONS] BARMAN_HOST SERVER_NAME WAL_PATH
10
12 This script can be used in the archive_command of a PostgreSQL server
13 to ship WAL files to a Barman host using the `put-wal' command (intro‐
14 duced in Barman 2.6). An SSH connection will be opened to the Barman
15 host. barman-wal-archive allows the integration of Barman in Post‐
16 greSQL clusters for better business continuity results.
17
18 This script and Barman are administration tools for disaster recovery
19 of PostgreSQL servers written in Python and maintained by 2ndQuadrant.
20
22 BARMAN_HOST
23 the host of the Barman server.
24
25 SERVER_NAME
26 the server name configured in Barman from which WALs are taken.
27
28 WAL_PATH
29 the value of the `%p' keyword (according to `archive_command').
30
32 -h, –help
33 show a help message and exit
34
35 -V, –version
36 show program’s version number and exit
37
38 -U USER, –user USER
39 the user used for the ssh connection to the Barman server. De‐
40 faults to `barman'.
41
42 -c CONFIG, –config CONFIG
43 configuration file on the Barman server
44
45 -t, –test
46 test both the connection and the configuration of the requested
47 PostgreSQL server in Barman for WAL retrieval. With this op‐
48 tion, the `WAL_PATH' mandatory argument is ignored.
49
51 0 Success
52
53 Not zero
54 Failure
55
57 barman (1), barman (5).
58
60 Barman has been extensively tested, and is currently being used in sev‐
61 eral production environments. However, we cannot exclude the presence
62 of bugs.
63
64 Any bug can be reported via the Github issue tracker.
65
67 · Homepage: <http://www.pgbarman.org/>
68
69 · Documentation: <http://docs.pgbarman.org/>
70
71 · Professional support: <http://www.2ndQuadrant.com/>
72
74 Barman is the property of 2ndQuadrant Limited and its code is distrib‐
75 uted under GNU General Public License v3.
76
77 Copyright (C) 2011-2019 2ndQuadrant Ltd - <http://www.2ndQuad‐
78 rant.com/>.
79
81 2ndQuadrant <http://www.2ndQuadrant.com>.
82
83
84
85Barman User manuals May 17, 2019 BARMAN-WAL-ARCHIVE(1)