pg_restore
Restores PostgreSQL backups from pg_dump archives
Syntax
$pg_restore [options] backup_file
Optionen
-U
-d
-C
-l
Examples
Examples
$pg_restore -U postgres -d mydb backup.dump
Examples
$pg_restore -l backup.dump
Examples
$pg_restore -C -d postgres backup.dump
Warnings
Restore operations can overwrite existing data
Alternatives
Typical use cases
Note
Typically used with custom or directory-format backups.
Export