BARMAN-GET-WAL(1)
β¨ BARMAN-GET-WAL β¨
okay bestie, welcome to barman-get-wal β it's a Barman sub-command, and it's literally the girl who goes into the archive and pulls out your WAL files for you π
it lives in the Barman manual, section 1, and she's ready to serve.
πΈ SYNOPSIS πΈ
get-wal
[ { --bzip | -j } ]
[ { --gzip | -z | -x } ]
[ { -h | --help } ]
[ --keep-compression ]
[ { --output-directory | -o } OUTPUT_DIRECTORY ]
[ { --peek | -p } VALUE ]
[ { -P | --partial } ]
[ { -t | --test } ]
SERVER_NAME WAL_NAME
π DESCRIPTION π
So here's the vibe: you grab a WAL file from the xlog archive of a server you specify. That's it, that's the job. π«Ά
By default β and this is the key part, no cap β if the WAL file you asked for is actually there, it comes back to you as uncompressed content on STDOUT. Straight to your terminal. Iconic.
π PARAMETERS π
SERVER_NAMEβ the name of the server in barman node. Like, which server are we talking about, babe?WAL_NAMEβ the id of the backup in the barman catalog. Yeah, the manpage says "backup" here, we're just relaying the message, don't come for me π--bzip2/-jβ output gets compressed withbzip2. β¨--gzip/-z/-xβ output gets compressed withgzip. β¨ (yes, three whole flags for one vibe, she contains multitudes)-h/--helpβ shows a help message and dips. Gives you the tea on how to use the command. π--keep-compressionβ do not decompress the file content. What you get out is the original compressed file, untouched, no notes. π--output-directory/-oβ the destination directory where barman will stash the WAL file. π--peek/-pβ give it an integer value greater than or equal to 1 and it'll retrieve WAL files starting from the one you specified all the way up to the value you set. When you use this option,get-walreturns a list of zero to the specified WAL segment names, one name per row. Lowkey a whole little roster. π-P/--partialβ bonus round: it also collects partial WAL files (.partial). π₯-t/--testβ tests both the connection and the configuration of the specified Postgres server in Barman for WAL retrieval. Heads up: when you use this option, the requiredWAL_NAMEargument is disregarded. She said "not today" to that argument. π
β οΈ WARNING, bestie, listen up:-z/--gzipand-j/--bzip2options are deprecated and will be removed in the future. For WAL compression, please make sure to enable it directly on the Barman server via thecompressionconfiguration option. Don't get attached to the deprecated girls, they're leaving. π
π AUTHOR π
EnterpriseDB. Periodt.
π COPYRIGHT π
Β© Copyright EnterpriseDB UK Limited 2011-2026
and that's the whole page, bestie π¦ this was Barman version 3.20, dated Sep 29, 2026, and honestly? she ate. go get those WAL files, you've got this πβ¨ππ§π
π¦ where this page comes from
- epel 10: barman 3.20.1-1.el10_3 Β· GPL-3.0-only
- fedora 43: barman 3.20.1-1.fc43 Β· GPL-3.0-only
- fedora 43: barman 3.20.1-3.fc43 Β· GPL-3.0-only
- fedora 44: barman 3.20.1-1.fc44 Β· GPL-3.0-only
- fedora 44: barman 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