Skip to content

Overview of pg_tde CLI tools

Choose the pg_tde-aware utilities required for encrypted data and WAL.

This is the Percona pg_tde 2.3.0 manual. For the paired build, backup tools and major upgrades, see PG TDE on Mimus.

The pg_tde extension provides a set of command-line utilities designed specifically for operating on encrypted data and clusters. These utilities exist in parallel with the standard PostgreSQL utilities but you must use them when working with data encrypted by pg_tde.

Note

The standard PostgreSQL tools cannot operate on pg_tde-encrypted WAL or tables.

New pg_tde specific tools

These tools are introduced exclusively by pg_tde to support key rotation and WAL encryption workflows:

Tools for working with pg_tde-encrypted data

These tools are modified versions of standard PostgreSQL utilities that include pg_tde support. You must use the pg_tde_* variants when working with encrypted WAL or tables:

  • pg_tde_checksums: verify data checksums
  • pg_tde_waldump: inspect and decrypt WAL files
  • pg_tde_basebackup: create base backups that include encrypted data
  • pg_tde_resetwal: reset the WAL for clusters using pg_tde
  • pg_tde_rewind: rewind clusters that use encrypted WAL
  • pg_tde_upgrade: perform major version upgrades of clusters with pg_tde

PG.CENTER edition · Upstream source