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