.\" Man page generated from reStructuredText .\" by the Docutils 0.22.4 manpage writer. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "BARMAN-CLOUD-CHECK-WAL-ARCHIVE" "1" "Sep 29, 2026" "3.20" "Barman" .SH NAME barman-cloud-check-wal-archive \- Barman-cloud Commands .sp \fBSynopsis\fP .INDENT 0.0 .INDENT 3.5 .sp .EX barman\-cloud\-check\-wal\-archive [ { \-V | \-\-version } ] [ \-\-help ] [ { { \-v | \-\-verbose } | { \-q | \-\-quiet } } ] [ { \-t | \-\-test } ] [ \-\-cloud\-provider { aws\-s3 | azure\-blob\-storage | google\-cloud\-storage } ] [ \-\-endpoint\-url ENDPOINT_URL ] [ { \-P | \-\-aws\-profile } AWS_PROFILE ] [ \-\-profile AWS_PROFILE ] [ \-\-read\-timeout READ_TIMEOUT ] [ \-\-addressing\-style { auto | virtual | path } ] [ { \-\-azure\-credential | \-\-credential } { azure\-cli | managed\-identity | default } ] [ \-\-timeline TIMELINE ] DESTINATION_URL SERVER_NAME .EE .UNINDENT .UNINDENT .sp \fBDescription\fP .sp Verify that the WAL archive destination for a server is suitable for use with a new Postgres cluster. By default, the check will succeed if the WAL archive is empty. If any WAL files are present in the archive, the check will fail, unless the \fB\-\-timeline\fP option is used and all existing WALs are from timelines earlier than the specified value. .sp \fBNote:\fP .INDENT 0.0 .INDENT 3.5 The \fBbarman\-cloud\-check\-wal\-archive\fP command performs an initial \fBHeadBucket\fP call to verify whether the target bucket already exists in the S3 storage. If the bucket does not exist, the command will attempt to automatically create it before performing the WAL archive check. .sp This is the only Barman command that performs these operations (bucket existence check and automatic creation). .UNINDENT .UNINDENT .sp \fBNote:\fP .INDENT 0.0 .INDENT 3.5 For GCP, only authentication with \fBGOOGLE_APPLICATION_CREDENTIALS\fP env is supported. To use an alternative GCP universe (e.g. S3NS/T\-Systems), set the \fBGOOGLE_CLOUD_UNIVERSE_DOMAIN\fP environment variable to the desired universe domain. .UNINDENT .UNINDENT .sp \fBParameters\fP .INDENT 0.0 .TP .B \fBSERVER_NAME\fP Name of the server that needs to be checked. .TP .B \fBDESTINATION_URL\fP URL of the cloud destination, such as a bucket in AWS S3. For example: \fBs3://bucket/path/to/folder\fP\&. .TP .B \fB\-V\fP / \fB\-\-version\fP Show version and exit. .TP .B \fB\-\-help\fP show this help message and exit. .TP .B \fB\-v\fP / \fB\-\-verbose\fP Increase output verbosity (e.g., \fB\-vv\fP is more than \fB\-v\fP). .TP .B \fB\-q\fP / \fB\-\-quiet\fP Decrease output verbosity (e.g., \fB\-qq\fP is less than \fB\-q\fP). .TP .B \fB\-t\fP / \fB\-\-test\fP Test cloud connectivity and exit. .TP .B \fB\-\-cloud\-provider\fP The cloud provider to use as a storage backend. .sp Allowed options are: .INDENT 7.0 .IP \(bu 2 \fBaws\-s3\fP\&. .IP \(bu 2 \fBazure\-blob\-storage\fP\&. .IP \(bu 2 \fBgoogle\-cloud\-storage\fP\&. .UNINDENT .TP .B \fB\-\-timeline\fP The earliest timeline whose WALs should cause the check to fail. .UNINDENT .sp \fBExtra options for the AWS cloud provider\fP .INDENT 0.0 .TP .B \fB\-\-endpoint\-url\fP Override default S3 endpoint URL with the given one. .TP .B \fB\-P\fP / \fB\-\-aws\-profile\fP Profile name (e.g. \fBINI\fP section in AWS credentials file). .TP .B \fB\-\-profile\fP (deprecated) Profile name (e.g. \fBINI\fP section in AWS credentials file) \- replaced by \fB\-\-aws\-profile\fP\&. .TP .B \fB\-\-read\-timeout\fP The time in seconds until a timeout is raised when waiting to read from a connection (defaults to \fB60\fP seconds). .TP .B \fB\-\-addressing\-style\fP The S3 addressing style to use when connecting to S3\-compatible cloud storage. This option is useful when using custom S3 endpoints (such as MinIO) that may require a specific addressing style. .sp Allowed options: .INDENT 7.0 .IP \(bu 2 \fBauto\fP (default): Uses the addressing style determined by the boto3 library. .IP \(bu 2 \fBvirtual\fP: Uses virtual\-hosted\-style addressing (bucket\-name.s3.amazonaws.com). .IP \(bu 2 \fBpath\fP: Uses path\-style addressing (s3.amazonaws.com/bucket\-name). .UNINDENT .UNINDENT .sp \fBExtra options for the Azure cloud provider\fP .INDENT 0.0 .TP .B \fB\-\-azure\-credential / \-\-credential\fP Optionally specify the type of credential to use when authenticating with Azure. If omitted then Azure Blob Storage credentials will be obtained from the environment and the default Azure authentication flow will be used for authenticating with all other Azure services. If no credentials can be found in the environment then the default Azure authentication flow will also be used for Azure Blob Storage. .sp Allowed options are: .INDENT 7.0 .IP \(bu 2 \fBazure\-cli\fP\&. .IP \(bu 2 \fBmanaged\-identity\fP\&. .IP \(bu 2 \fBdefault\fP\&. .UNINDENT .UNINDENT .SH Author EnterpriseDB .SH Copyright © Copyright EnterpriseDB UK Limited 2011-2026 .\" End of generated man page.