pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Olivier Hubaut <olivier@scmbb.ulb.ac.be>
To: pgsql-admin@postgresql.org
Subject: Re: Export/Import
Date: Wed, 01 Dec 2004 14:07:07 +0100
Message-ID: <opsibyp5ym94ope3@olivier.amaze.ulb.ac.be> (raw)
In-Reply-To: <20041201123644.51602.qmail@web60401.mail.yahoo.com>
References: <20041201123644.51602.qmail@web60401.mail.yahoo.com>

On Wed, 1 Dec 2004 04:36:44 -0800 (PST), Sudhakar Kurumella  
<kurumella@yahoo.com> wrote:

> Hello Everyone,
> I am new to PostgreSQL, i have a question, i'll appreciate if anybody  
> helps me.
> How can i export/import a complete database running on one machine to  
> another machine. I have gone through the docs, what i gather is,,that i  
> can export only tables only..not entire database like we do in MS SQL  
> Server.
> thanks,
> kuru

A simple pg_dump -C -f dump.sql dbname should give you what you want.


-- 
Downloading signature ... 99%
*CRC FAILED*
signature aborted



view thread (4+ messages)

Message-ID: <opsibyp5ym94ope3@olivier.amaze.ulb.ac.be>
Permalink:  ../opsibyp5ym94ope3@olivier.amaze.ulb.ac.be/
Also on:    postgresql.org/message-id/opsibyp5ym94ope3@olivier.amaze.ulb.ac.be

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: olivier@scmbb.ulb.ac.be
  Subject: Re: Export/Import
  In-Reply-To: <opsibyp5ym94ope3@olivier.amaze.ulb.ac.be>
  References: <20041201123644.51602.qmail@web60401.mail.yahoo.com> <opsibyp5ym94ope3@olivier.amaze.ulb.ac.be>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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