Re: Move a database from one server to other

From: Francisco Reyes <lists(at)stringsutils(dot)com>
To: nicky(at)chuckie(dot)co(dot)uk
Cc: Adri??n Ribao Mart??nez <aribao(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Move a database from one server to other
Date: 2007-06-25 18:04:33
Message-ID: cone.1182794673.144870.29358.5001@35st.simplicato.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Nicholas Barr writes:

> It is much much safer to use pg_dump/pg_restore and know that your data is
> consistent.
> http://www.postgresql.org/docs/8.2/static/backup-dump.html

In particular look at the section
23.1.2. Using pg_dumpall

That will copy your entire data set including users.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message A. Kretschmer 2007-06-25 18:07:17 Re: [SQL] yet another simple SQL question
Previous Message manchicken 2007-06-25 17:59:34 Re: yet another simple SQL question