| 1 |
.\" Man page generated from reStructuredText |
| 2 |
.\" by the Docutils 0.22.4 manpage writer. |
| 3 |
. |
| 4 |
. |
| 5 |
.nr rst2man-indent-level 0 |
| 6 |
. |
| 7 |
.de1 rstReportMargin |
| 8 |
\\$1 \\n[an-margin] |
| 9 |
level \\n[rst2man-indent-level] |
| 10 |
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] |
| 11 |
- |
| 12 |
\\n[rst2man-indent0] |
| 13 |
\\n[rst2man-indent1] |
| 14 |
\\n[rst2man-indent2] |
| 15 |
.. |
| 16 |
.de1 INDENT |
| 17 |
.\" .rstReportMargin pre: |
| 18 |
. RS \\$1 |
| 19 |
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] |
| 20 |
. nr rst2man-indent-level +1 |
| 21 |
.\" .rstReportMargin post: |
| 22 |
.. |
| 23 |
.de UNINDENT |
| 24 |
. RE |
| 25 |
.\" indent \\n[an-margin] |
| 26 |
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] |
| 27 |
.nr rst2man-indent-level -1 |
| 28 |
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] |
| 29 |
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u |
| 30 |
.. |
| 31 |
.TH "BARMAN-GET-WAL" "1" "Sep 29, 2026" "3.20" "Barman" |
| 32 |
.SH NAME |
| 33 |
barman-get-wal \- Barman Sub-Commands |
| 34 |
.SH SYNOPSIS |
| 35 |
.INDENT 0.0 |
| 36 |
.INDENT 3.5 |
| 37 |
.sp |
| 38 |
.EX |
| 39 |
get\-wal |
| 40 |
[ { \-\-bzip | \-j } ] |
| 41 |
[ { \-\-gzip | \-z | \-x } ] |
| 42 |
[ { \-h | \-\-help } ] |
| 43 |
[ \-\-keep\-compression ] |
| 44 |
[ { \-\-output\-directory | \-o } OUTPUT_DIRECTORY ] |
| 45 |
[ { \-\-peek | \-p } VALUE ] |
| 46 |
[ { \-P | \-\-partial } ] |
| 47 |
[ { \-t | \-\-test } ] |
| 48 |
SERVER_NAME WAL_NAME |
| 49 |
.EE |
| 50 |
.UNINDENT |
| 51 |
.UNINDENT |
| 52 |
.SH DESCRIPTION |
| 53 |
.sp |
| 54 |
Retrieve a WAL file from the xlog archive of a specified server. By default, if the |
| 55 |
requested WAL file is found, it is returned as uncompressed content to \fBSTDOUT\fP\&. |
| 56 |
.SH PARAMETERS |
| 57 |
.INDENT 0.0 |
| 58 |
.TP |
| 59 |
.B \fBSERVER_NAME\fP |
| 60 |
Name of the server in barman node |
| 61 |
.TP |
| 62 |
.B \fBWAL_NAME\fP |
| 63 |
Id of the backup in barman catalog. |
| 64 |
.TP |
| 65 |
.B \fB\-\-bzip2\fP / \fB\-j\fP |
| 66 |
Output will be compressed using bzip2. |
| 67 |
.TP |
| 68 |
.B \fB\-\-gzip\fP / \fB\-z\fP / \fB\-x\fP |
| 69 |
Output will be compressed using gzip. |
| 70 |
.TP |
| 71 |
.B \fB\-h\fP / \fB\-\-help\fP |
| 72 |
Show a help message and exit. Provides information about command usage. |
| 73 |
.TP |
| 74 |
.B \fB\-\-keep\-compression\fP |
| 75 |
Do not decompress the file content. The output will be the original compressed |
| 76 |
file. |
| 77 |
.TP |
| 78 |
.B \fB\-\-output\-directory\fP / \fB\-o\fP |
| 79 |
Destination directory where barman will store the WAL file. |
| 80 |
.TP |
| 81 |
.B \fB\-\-peek\fP / \fB\-p\fP |
| 82 |
Specify an integer value greater than or equal to 1 to retrieve WAL files from the |
| 83 |
specified WAL file up to the value specified by this parameter. When using this option, |
| 84 |
\fBget\-wal\fP returns a list of zero to the specified WAL segment names, with one name |
| 85 |
per row. |
| 86 |
.TP |
| 87 |
.B \fB\-P\fP / \fB\-\-partial\fP |
| 88 |
Additionally, collect partial WAL files (.partial). |
| 89 |
.TP |
| 90 |
.B \fB\-t\fP / \fB\-\-test\fP |
| 91 |
Test both the connection and configuration of the specified Postgres server in |
| 92 |
Barman for WAL retrieval. When this option is used, the required \fBWAL_NAME\fP |
| 93 |
argument is disregarded. |
| 94 |
.UNINDENT |
| 95 |
.sp |
| 96 |
\fBWarning:\fP |
| 97 |
.INDENT 0.0 |
| 98 |
.INDENT 3.5 |
| 99 |
\fB\-z\fP / \fB\-\-gzip\fP and \fB\-j\fP / \fB\-\-bzip2\fP options are deprecated and will be |
| 100 |
removed in the future. For WAL compression, please make sure to enable it directly |
| 101 |
on the Barman server via the \fBcompression\fP configuration option. |
| 102 |
.UNINDENT |
| 103 |
.UNINDENT |
| 104 |
.SH Author |
| 105 |
EnterpriseDB |
| 106 |
.SH Copyright |
| 107 |
© Copyright EnterpriseDB UK Limited 2011-2026 |
| 108 |
.\" End of generated man page. |