当前位置: 动力学知识库 > 问答 > 编程问答 >

postgresql - Dump structure and data of schema

问题描述:

I executed the following command:

pg_dump -h 10.100.1.2 -U user -n schema1 > backup.sql

This command creats a dump of schema "schema1", but the dump generated has only the structure of schema.

How I can generate a dump of schema with the structure and data (INSERT)?

分享给朋友:
您可能感兴趣的文章:
随机阅读: