# pg_tde_waldump

> Inspect encrypted WAL with a pg_tde-aware version of pg_waldump.

---

LLMS index: [llms.txt](/llms.txt)

---

> This is the Percona pg_tde 2.3.0 manual. For the paired build, backup tools and major upgrades, see [PG TDE on Mimus](/docs/tde/).

[`pg_tde_waldump` ](https://www.postgresql.org/docs/current/pgwaldump.html) displays a human-readable rendering of the Write-Ahead Log (WAL) for a PostgreSQL database cluster.

To read encrypted WAL records, `pg_tde_waldump` provides the following additional option:

* `-k, --keyring-path=PATH` is the path to the directory containing the WAL keyring configuration files. This is typically the `pg_tde/` directory inside the PostgreSQL data directory. The following files are included:
    * `wal_keys`
    * `1664_providers`

> [!NOTE]
> `pg_tde_waldump` cannot read encrypted WAL unless `--keyring-path` is specified.

Since [pg_tde 2.3.0](/docs/tde/upstream/release-notes/release-notes-v2.3.0/), `pg_tde_waldump` recognizes the `pg_tde` custom resource manager, prints its WAL records correctly, and accepts it in the `--rmgr` filter.

[PG.CENTER edition](https://github.com/pgsty/doc.pg.center/blob/4410c32dc9186a22859008303f474b72a779f583/content/percona/command-line-tools/pg-tde-waldump.md) · [Upstream source](https://github.com/percona/pg_tde/blob/5dd7a9e4e3599d88546f5de67ff0f4ef3fe51a9a/documentation/docs/command-line-tools/pg-tde-waldump.md)

---

Backlinks:

- [Tool overview](/docs/tde/upstream/command-line-tools/cli-tools/)
