.\" Automatically generated by Pandoc 2.2
.\"
.TH "BARMAN\-WAL\-ARCHIVE" "1" "January 5, 2019" "Barman User manuals" "Version 1.3"
.hy
.SH NAME
.PP
barman\-wal\-archive \- \f[C]archive_command\f[] based on Barman's
put\-wal
.SH SYNOPSIS
.PP
barman\-wal\-archive [\f[I]OPTIONS\f[]] \f[I]BARMAN_HOST\f[]
\f[I]SERVER_NAME\f[] \f[I]WAL_PATH\f[]
.SH DESCRIPTION
.PP
This script can be used in the \f[C]archive_command\f[] of a PostgreSQL
server to ship WAL files to a Barman host using the `put\-wal' command.
An SSH connection will be opened to the Barman host.
\f[C]barman\-wal\-archive\f[] allows the integration of Barman in
PostgreSQL clusters for better business continuity results.
.PP
This script and Barman are administration tools for disaster recovery of
PostgreSQL servers written in Python and maintained by 2ndQuadrant.
.SH POSITIONAL ARGUMENTS
.TP
.B BARMAN_HOST
the host of the Barman server.
.RS
.RE
.TP
.B SERVER_NAME
the server name configured in Barman from which WALs are taken.
.RS
.RE
.TP
.B WAL_PATH
the value of the `%p' keyword (according to `archive_command').
.RS
.RE
.SH OPTIONS
.TP
.B \-h, \[en]help
show a help message and exit
.RS
.RE
.TP
.B \-V, \[en]version
show program's version number and exit
.RS
.RE
.TP
.B \-U \f[I]USER\f[], \[en]user \f[I]USER\f[]
the user used for the ssh connection to the Barman server.
Defaults to `barman'.
.RS
.RE
.TP
.B \-c \f[I]CONFIG\f[], \[en]config \f[I]CONFIG\f[]
configuration file on the Barman server
.RS
.RE
.SH EXIT STATUS
.TP
.B 0
Success
.RS
.RE
.TP
.B Not zero
Failure
.RS
.RE
.SH SEE ALSO
.PP
\f[C]barman\f[] (1), \f[C]barman\f[] (5).
.SH BUGS
.PP
Barman has been extensively tested, and is currently being used in
several production environments.
However, we cannot exclude the presence of bugs.
.PP
Any bug can be reported via the Github issue tracker.
.SH RESOURCES
.IP \[bu] 2
Homepage:
.IP \[bu] 2
Documentation:
.IP \[bu] 2
Professional support:
.SH COPYING
.PP
Barman is the property of 2ndQuadrant Limited and its code is
distributed under GNU General Public License v3.
.PP
Copyright (C) 2011\-2019 2ndQuadrant Ltd \-
.
.SH AUTHORS
2ndQuadrant .