From: Gareth Kirwan <gbjk@thermeoneurope.com>
To: pgsql-admin@postgresql.org
Subject: pg_dump and Users
Date: Tue, 14 Jan 2003 10:48:56 -0000
Message-ID: <00dc01c2bbba$8a589ed0$55eaa8c0@gbjk1> (raw)
Gareth StationeryHey everyone,
Just a quicky...
I need to dump a database completely while a system is re-installed..
and then reload it afterwards.
I'm planning on using
pg_dump -C database > Flatfile
pgsql -d database -f Flatfile
But this doesn't account for the handling of users and user creation.
Can anyone tell me how I should be doing this ?
Cheers
Gareth Kirwan
Programming & Development,
Thermeon Europe Ltd,
gbjk@thermeoneurope.com
Tel: +44 (0) 1293 864 303
Thermeon Europe e-Card: gbjk
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: gbjk@thermeoneurope.com
Subject: Re: pg_dump and Users
In-Reply-To: <00dc01c2bbba$8a589ed0$55eaa8c0@gbjk1>
References: <00dc01c2bbba$8a589ed0$55eaa8c0@gbjk1>
* 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