pg_dump
Extract a PostgreSQL database into a script file or other archive file. More information: https://www.postgresql.org/docs/current/app-pgdump.html.
- Dump database into an SQL-script file:
pg_dump >
- Dump a database into an SQL-script file, using a specific username:
pg_dump >
- Dump a database into an SQL-script file, using a specific host and port:
pg_dump >
- Dump a database into a custom-format archive file:
pg_dump >
- Dump only database data into an SQL-script file:
pg_dump >
- Dump only schema (data definitions) into an SQL-script file:
pg_dump >
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
