PostgreSQL Data Unloader Complete Manual

PDU recovers PostgreSQL 10–18 data. This documentation is organized by failure type and includes command and parameter references.

Scope

PostgreSQL 10–18

EL 7/8/9 · Ubuntu · Debian

Linux x86 / ARM64

Offline file analysis

Before recovery, copy PGDATA, tablespaces, WAL, and logs. Do not continue writing to the original media.

Recovery scenarios

Confirm the current database state, then select the matching procedure.

Basic workflow

Every recovery follows the same evidence preservation, diagnosis, and copy-based workflow.

  1. 1

    Preserve recovery materials

    Copy PGDATA, tablespaces, WAL, and logs, and record the PostgreSQL version.

  2. 2

    Identify the failure type

    Separate instance damage, file damage, accidental DML, and dropped tables.

  3. 3

    Recover from a copy

    Choose the matching commands and verify row counts, parse failures, and results.

Reference

Find command syntax, parameter purpose, and version differences.

Supported data types

Numericsmallint, integer, bigint, numeric, real, double precision, money
Text and binarychar, varchar, text, name, bytea
Date and timedate, time, timestamp, timestamptz, interval
Documents and identifiersjson, jsonb, jsonpath, xml, uuid
Network and systeminet, cidr, macaddr, oid, xid, tid
Advanced typesenum, domain, tsvector, range, multirange, pgvector vector
Enterprise additionsarrays, PostGIS geometry / geography / raster