>_ linuxcommand.dev
Startseite pg_restore
Database

pg_restore

Stellt PostgreSQL-Backups aus pg_dump-Archiven wieder her

Ubuntu CentOS Debian SUSE Fedora RHEL
Verifiziert: 2026-05-13
Syntax
$pg_restore [options] backup_file
Optionen
-U
-d
-C
-l
Beispiele
$pg_restore -U postgres -d mydb backup.dump
$pg_restore -l backup.dump
$pg_restore -C -d postgres backup.dump
Typische Anwendungsfälle
?
Standardverwendung
pg_restore --help
Hinweis Verwendet man typischerweise mit Backups im Custom- oder Directory-Format.
Export