pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedCopying data
2+ messages / 2 participants
[nested] [flat]
* Copying data
@ 2002-02-11 13:15 Madelon Brennan <brennanm@georgetown.edu>
0 siblings, 1 reply; 2+ messages in thread
From: Madelon Brennan @ 2002-02-11 13:15 UTC (permalink / raw)
To: pgsql-admin
What is the syntax for copying data from one database to another. I
would like to take the data from my most current database and copy all
of the data to my test environment.
Thanks.
--
Madelon L. Brennan
Internet Development Coordinator
Georgetown University
brennanm@georgetown.edu
http://web.georgetown.edu
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Copying data
@ 2002-02-11 13:49 Bruno Wolff III <bruno@wolff.to>
parent: Madelon Brennan <brennanm@georgetown.edu>
0 siblings, 0 replies; 2+ messages in thread
From: Bruno Wolff III @ 2002-02-11 13:49 UTC (permalink / raw)
To: Madelon Brennan <brennanm@georgetown.edu>; +Cc: pgsql-admin
On Mon, Feb 11, 2002 at 01:15:26PM +0000,
Madelon Brennan <brennanm@georgetown.edu> wrote:
> What is the syntax for copying data from one database to another. I
> would like to take the data from my most current database and copy all
> of the data to my test environment.
> Thanks.
One way to do this is with pg_dump. Something like:
pg_dump database_name > dumpfile
psql test_name < dumpfile
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2002-02-11 13:49 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-02-11 13:15 Copying data Madelon Brennan <brennanm@georgetown.edu>
2002-02-11 13:49 ` Bruno Wolff III <bruno@wolff.to>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox