Re: Dump all the indexes/constraints/roles
От
John R Pierce
Тема
Re: Dump all the indexes/constraints/roles
Дата
Msg-id
990d5f48-a4a4-3b52-41e0-03e3d4184e0e@hogranch.com
Ответ на
Dump all the indexes/constraints/roles (Patrick B)
Список
Дерево обсуждения
Dump all the indexes/constraints/roles Patrick B <patrickbakerbr@gmail.com>
Re: Dump all the indexes/constraints/roles Adrian Klaver <adrian.klaver@aklaver.com>
Re: Dump all the indexes/constraints/roles John R Pierce <pierce@hogranch.com>
Re: Dump all the indexes/constraints/roles Jeff Janes <jeff.janes@gmail.com>
Re: Dump all the indexes/constraints/roles Patrick B <patrickbakerbr@gmail.com>
Re: Dump all the indexes/constraints/roles Melvin Davidson <melvin6925@gmail.com>
Re: Dump all the indexes/constraints/roles Condor <condor@stz-bg.com>
On 10/17/2016 8:32 PM, Patrick B wrote: > I need to export an entire database to another server, for testing > purpose. > > Is there any way to export all indexes and constraints ? > Postgres 9.2 on the existing machine, as the postgres user.... pg_dump -Fc -d databasename -f filename.pgdump then, on the new machine, createdb newdatabase -o dbownername pg_restore -d newdatabase filename.pgdump -- john r pierce, recycling bits in santa cruz
В списке pgsql-general по дате отправления