BARMAN-CLOUD-CHECK-WAL-ARCHIVE(1)
π barman-cloud-check-wal-archive β the vibe check for your WAL archive
okay bestie, so this is a page from the Barman manual, section 1 β it's barman-cloud-check-wal-archive, and it's the command that peeks at a WAL archive destination and is like "mm, is this ready for a brand new Postgres cluster or nah?" π¦
β¨ SYNOPSIS β¨
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
π DESCRIPTION π
So basically: this command verifies that the WAL archive destination for a server is actually suitable for use with a new Postgres cluster. vibe check complete π
By default, the check succeeds if the WAL archive is empty. If there are any WAL files sitting in the archive, the check fails β unless you pass the --timeline option and all the existing WALs come from timelines earlier than the value you specified. then it's fine, no drama. πΈ
Note: thebarman-cloud-check-wal-archivecommand performs an initialHeadBucketcall 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. π
Note: this is the only Barman command that performs these operations (bucket existence check and automatic creation). main character energy, fr fr.
Note: for GCP, only authentication withGOOGLE_APPLICATION_CREDENTIALSenv is supported. To use an alternative GCP universe (e.g.S3NS/T-Systems), set theGOOGLE_CLOUD_UNIVERSE_DOMAINenvironment variable to the desired universe domain. π
π§ PARAMETERS π§
SERVER_NAMEβ the name of the server that needs to be checked. like, who are we even checking, bestie? π«ΆDESTINATION_URLβ the URL of the cloud destination, such as a bucket in AWS S3. For example:s3://bucket/path/to/folder. π-V/--versionβ show version and exit. iconic, short, does one thing.--helpβ show this help message and exit.-v/--verboseβ increase output verbosity (e.g.-vvis more than-v). the way she just keeps talking π-q/--quietβ decrease output verbosity (e.g.-qqis less than-q). shhh π€«-t/--testβ test cloud connectivity and exit. just checking the signal real quick.--cloud-providerβ the cloud provider to use as a storage backend.
Allowed options are:
aws-s3.azure-blob-storage.google-cloud-storage.
--timelineβ the earliest timeline whose WALs should cause the check to fail. β³
π Extra options for the AWS cloud provider π
--endpoint-urlβ override default S3 endpoint URL with the given one.-P/--aws-profileβ profile name (e.g. INI section in AWS credentials file).--profile(deprecated) β profile name (e.g. INI section in AWS credentials file) β replaced by--aws-profile. it's giving legacy, ngl, use the new one π₯²--read-timeoutβ the time in seconds until a timeout is raised when waiting to read from a connection (defaults to60seconds). β°--addressing-styleβ the S3 addressing style to use when connecting to S3-compatible cloud storage. This option is useful when using custom S3 endpoints (such asMinIO) that may require a specific addressing style.
Allowed options:
auto(default): uses the addressing style determined by theboto3library.virtual: uses virtual-hosted-style addressing (bucket-name.s3.amazonaws.com).path: uses path-style addressing (s3.amazonaws.com/bucket-name).
π Extra options for the Azure cloud provider π
--azure-credential/--credentialβ 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. β¨
Allowed options are:
azure-cli.managed-identity.default.
π AUTHOR π
EnterpriseDB
πΈ COPYRIGHT πΈ
Β© Copyright EnterpriseDB UK Limited 2011-2026
and that's the whole page, bestie β you ate that π«Άπ this was Barman 3.20, dated Sep 29, 2026. periodt. πβ¨
π¦ where this page comes from
- epel 10: barman-cli 3.20.1-1.el10_3 Β· GPL-3.0-only
- fedora 43: barman-cli 3.20.1-1.fc43 Β· GPL-3.0-only
- fedora 43: barman-cli 3.20.1-3.fc43 Β· GPL-3.0-only
- fedora 44: barman-cli 3.20.1-1.fc44 Β· GPL-3.0-only
- fedora 44: barman-cli 3.20.1-3.fc44 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms