PostgreSQL

Back up and restore PostgreSQL databases.

Latest v1.1.3 · Nov 3, 2026
Documented 2 releases

v1.1.3

stable

Adds parallel directory-format dumps and table exclusions, and documents the risk of restoring untrusted globals.

New

  • format=directory dumps each database with pg_dump -Fd, one file per
    table, using parallel_dumps jobs. Files are streamed into the snapshot, so no local disk is used. This speeds up backups of databases with several large tables. Linux only, with FUSE. These snapshots cannot be restored by the integration yet. Restore them to a filesystem or mount them with plakar mount, then run pg_restore.
  • exclude_tables leaves tables out of the dump. exclude_table_data keeps their definition and leaves out their rows.

Fixes

  • The VFS cache is disabled for logical dumps, which fixes a deadlock when backing up with format=directory. This needs a Plakar release later than v1.1.8. With v1.1.8 and earlier, run plakar backup -cache no instead.

Security

  • The globals file is run by psql, which executes \! shell commands. Do not restore untrusted snapshots, or set no_globals=true.

v1.1.1

stable

Validates database names before backup and removes temporary SSL keys when a connector fails to start.

Security

  • Database names are validated before they are passed to pg_dump. A backup aborts when the server returns a name that could be read as a connection string, which could otherwise redirect the backup connection and its credentials to another host.
  • The temporary copy of the client SSL key written from ssl_key_data is removed when a connector fails to start because of an invalid configuration.