Search Postgresql Archives

Re: Dump all the indexes/constraints/roles

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Tue, Oct 18, 2016 at 3:11 PM, Patrick B <patrickbakerbr@xxxxxxxxx> wrote:
Thank you guys... good to know that pg_dump does all the job for me :)

So.. If I only dump using the --schema-only option, it will dump all the schemas, constraints, indexes and tables?

Because probably, I'll have to import the data manually. NOt in a single pg_restore I mean. (AWS issue) 

>...If I only dump using the --schema-only option, it will dump all the schemas, constraints, indexes and tables?

Yes! Please RTFM, it's there for a reason. ---> https://www.postgresql.org/docs/9.5/static/app-pgdump.html

Also, please note you can use -a to only dump data

--
Melvin Davidson
I reserve the right to fantasize.  Whether or not you
wish to share my fantasy is entirely up to you.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux