💾 Archived View for freeshell.de › tldr › pg_restore.gmi captured on 2023-04-20 at 00:21:14. 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