From: | Melvin Davidson <melvin6925(at)gmail(dot)com> |
---|---|
To: | Patrick B <patrickbakerbr(at)gmail(dot)com> |
Cc: | Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Dump all the indexes/constraints/roles |
Date: | 2016-10-18 19:17:23 |
Message-ID: | CANu8FixbsXnThq5aiaQrHx7EjgMJNoYYPvTS4sgU3_UvPSc4Nw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Tue, Oct 18, 2016 at 3:11 PM, Patrick B <patrickbakerbr(at)gmail(dot)com> 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
<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.
From | Date | Subject | |
---|---|---|---|
Next Message | Devrim Gündüz | 2016-10-18 19:53:32 | Re: Problem changing default data_directory in PG 9.6 + CentOS6 |
Previous Message | Patrick B | 2016-10-18 19:11:13 | Re: Dump all the indexes/constraints/roles |