💾 Archived View for freeshell.de › tldr › pg_restore.gmi captured on 2022-06-11 at 23:34:16. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

pg_restore

Restore a PostgreSQL database from an archive file created by pg_dump.

More information.

pg_restore -d {db_name} {archive_file.dump}
pg_restore -U {username} -d {db_name} {archive_file.dump}
pg_restore -h {host} -p {port} -d {db_name} {archive_file.dump}
pg_restore --list {archive_file.dump}
pg_restore --clean -d {db_name} {archive_file.dump}
pg_restore -j {2} -d {db_name} {archive_file.dump}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY