barman-cloud-wal-restore [Options] SOURCE_URL SERVER_NAME WAL_NAME WAL_PATH
This script can be used as a
restore_command to download WAL files previously archived with
barman-cloud-wal-archive command. Currently only AWS S3 is supported.
This script and Barman are administration tools for disaster recovery of PostgreSQL servers written in Python and maintained by 2ndQuadrant.
URL of the cloud source, such as a bucket in AWS S3. For example:
BUCKET_NAMEis the bucket you have created in AWS).
the name of the server as configured in Barman.
the name of the WAL file, equivalent of `%f' keyword (according to `restore_command').
the value of the `%p' keyword (according to `restore_command').
- -h, –help
show a help message and exit
- -V, –version
show program’s version number and exit
- -t, –test
test connectivity to the cloud destination and exit
- -P, –profile
profile name (e.g. INI section in AWS credentials file)
- -e ENCRYPT, –encrypt ENCRYPT
enable server-side encryption with the given method for the transfer. Allowed methods:
override the default S3 URL construction mechanism by specifying an endpoint.
- Not zero
Barman has been extensively tested, and is currently being used in several production environments. However, we cannot exclude the presence of bugs.
Any bug can be reported via the Github issue tracker.
Barman is the property of 2ndQuadrant Limited and its code is distributed under GNU General Public License v3.
Copyright (C) 2011-2020 2ndQuadrant Ltd - <http://www.2ndQuadrant.com/>.