Database
pg_restore
Restores PostgreSQL backups from pg_dump archives
Ubuntu
CentOS
Debian
SUSE
Fedora
RHEL
Verified: 2026-05-13
Syntax
$pg_restore [options] backup_file
Optionen
-U
-d
-C
-l
Examples
$pg_restore -U postgres -d mydb backup.dump
$pg_restore -l backup.dump
$pg_restore -C -d postgres backup.dump
Typical use cases
?
Standard usage
pg_restore --help
Note
Typically used with custom or directory-format backups.
Export