Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 03D0147618A for ; Tue, 14 Jan 2003 06:04:08 -0500 (EST) Received: from thermeoneu.thermeoneurope.com (mail.thermeoneurope.com [193.132.64.89]) by postgresql.org (Postfix) with ESMTP id 721CC4767D4 for ; Tue, 14 Jan 2003 06:03:54 -0500 (EST) Received: from gbjk1 (gbjk1.thermeoneurope.com [192.168.234.85]) by thermeoneu.thermeoneurope.com (8.11.6/8.11.6) with SMTP id h0EB3sc27750; Tue, 14 Jan 2003 11:03:54 GMT Reply-To: From: "Gareth Kirwan" To: , Subject: Re: pg_dump and Users Date: Tue, 14 Jan 2003 11:05:52 -0000 Message-ID: <00e301c2bbbc$eb4441c0$55eaa8c0@gbjk1> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal In-Reply-To: <00dc01c2bbba$8a589ed0$55eaa8c0@gbjk1> X-MailScanner: Found to be clean X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/143 X-Sequence-Number: 6985 How does pg_dumpall sound ? -----Original Message----- Hey 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