Re: moving postgres data

From: "Duncan Adams (DNS)" <duncan(dot)adams(at)vcontractor(dot)co(dot)za>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: moving postgres data
Date: 2001-10-31 09:58:56
Message-ID: C54EF5B83335D311BCB50000C11042B102C8C6FE@vodabemail1.vodacom.co.za
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

ta, looks like that will do it.

-----Original Message-----
From: Einar Karttunen [mailto:ekarttun(at)cs(dot)Helsinki(dot)FI]
Sent: Wednesday, October 31, 2001 11:52 AM
To: Duncan Adams (DNS)
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: moving postgres data

On Wed, Oct 31, 2001 at 11:17:01AM +0200, Duncan Adams (DNS) wrote:
> Hi all
>
> I have data in a postgres database on one server and have to move it to a
> new server that has been set up with a new version of postgres. The
> database is an exact copy. what is the best way of moving the thing
across?
> do i set up the tables on the new box and write scripts to move it across
or
> is there another way of doing this?
>
See pg_dump and restore in Reference Manual - PostgreSQL Client
Applications.
http://www.postgresql.org/idocs/index.php?app-pgdump.html
http://www.postgresql.org/idocs/index.php?app-pgrestore.html
If you want to move all databases use pg_dumpall
http://www.postgresql.org/idocs/index.php?app-pg-dumpall.html

- Einar Karttunen

Browse pgsql-novice by date

  From Date Subject
Next Message Nikola Milutinovic 2001-10-31 13:37:59 CP1250 to and from Unicode conversion, how?
Previous Message Einar Karttunen 2001-10-31 09:51:31 Re: moving postgres data