From gbjk@thermeoneurope.com Tue Jan 14 10:47:13 2003 Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 1F887475F1B for ; Tue, 14 Jan 2003 05:47:13 -0500 (EST) Received: from thermeoneu.thermeoneurope.com (mail.thermeoneurope.com [193.132.64.89]) by postgresql.org (Postfix) with ESMTP id 80E47475DBC for ; Tue, 14 Jan 2003 05:47:10 -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 h0EAkvc26867 for ; Tue, 14 Jan 2003 10:46:57 GMT Reply-To: From: "Gareth Kirwan" To: Subject: pg_dump and Users Date: Tue, 14 Jan 2003 10:48:56 -0000 Message-ID: <00dc01c2bbba$8a589ed0$55eaa8c0@gbjk1> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00DD_01C2BBBA.8A589ED0" 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 X-MailScanner: Found to be clean X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/142 X-Sequence-Number: 6984 This is a multi-part message in MIME format. ------=_NextPart_000_00DD_01C2BBBA.8A589ED0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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 ------=_NextPart_000_00DD_01C2BBBA.8A589ED0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Gareth Stationery
Hey everyone,
 
    Just a=20 quicky...
    I need to dump a d= atabase=20 completely while a system is re-installed.. and then reload it=20 afterwards.
    I'm planning on us= ing=20
      &= nbsp;=20 pg_dump -C database > Flatfile
      &= nbsp;=20 pgsql -d database -f Flatfile
    But this doesn't a= ccount=20 for the handling of users and user creation.
 
    Can anyone tell me= how I=20 should be doing this ?
 
    Cheers
 
Gareth Kirwan
Programming &= amp;=20 Development,
Thermeon Europe Ltd,
gbjk@thermeoneurope.com
Tel= : +44=20 (0) 1293 864 303
T= hermeon=20 Europe e-Card: gbjk
------=_NextPart_000_00DD_01C2BBBA.8A589ED0-- From gbjk@thermeoneurope.com Tue Jan 14 11:04:08 2003 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