💾 Archived View for freeshell.de › tldr › pg_restore.gmi captured on 2023-06-16 at 19:40:12. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
Restore a PostgreSQL database from an archive file created by pg_dump.
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).