PostgreSQL: restore only part of a dump

With a custom dump, edit the list file and restore only selected objects.

pg_restore -l app.dump > restore.list
edit restore.list
pg_restore -L restore.list -d appdb app.dump

Verify the result

Before restore, inspect the list, especially schema/table ownership.