---
name: "pg_getwal"
section: "1"
platform: "linux"
package: "postgresql-common"
version: "278"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/pg_getwal"
---

# pg\_getwal(1)

retrieve a WAL file from a pg\_receivewal archive

## NAME

pg\_getwal - retrieve a WAL file from a pg\_receivewal archive

## SYNOPSIS

**pg\_getwal** */path/to/wal/%f* *%p*

## DESCRIPTION

**pg\_getwal** retrieves and decompresses files from a WAL archive maintained by **pg\_receivewal** and **pg\_backupcluster**. It is put into PostgreSQL's **restore\_command** by **pg\_restorecluster**.

## SEE ALSO

[**pg\_restorecluster**(1)](/pg_restorecluster/1.md), [**pg\_backupcluster**(1)](/pg_backupcluster/1.md).

## AUTHOR

Christoph Berg \<myon@debian.org\>
