X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 5FAD59FA2CB for ; Wed, 10 May 2006 16:48:51 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 65745-04 for ; Wed, 10 May 2006 16:48:34 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from morpheus.bostonstock.com (morpheus.bostonstock.com [192.233.205.44]) by postgresql.org (Postfix) with ESMTP id CA6159FA293 for ; Wed, 10 May 2006 16:48:31 -0300 (ADT) Received: by MORPHEUS with Internet Mail Service (5.5.2653.19) id <2R02CX6L>; Wed, 10 May 2006 15:43:20 -0400 Message-ID: <0C4841B42F87D51195BD00B0D020F5CB044B264E@MORPHEUS> From: "mcelroy, tim" To: 'Scott Marlowe' Cc: "'pgsql-admin@postgresql.org'" Subject: Re: backups Date: Wed, 10 May 2006 15:43:19 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C67469.D976D1CE" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/120 X-Sequence-Number: 21652 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C67469.D976D1CE Content-Type: text/plain; charset="iso-8859-1" Thanks Scott, great idea. Does one use pg_restore to restore the files that pg_dumpall creates? -----Original Message----- From: Scott Marlowe [mailto:smarlowe@g2switchworks.com] Sent: Wednesday, May 10, 2006 3:35 PM To: mcelroy, tim Cc: 'Bruno Wolff III'; 'pgsql-admin@postgresql.org' Subject: Re: [ADMIN] backups On Wed, 2006-05-10 at 14:11, mcelroy, tim wrote: > Excellent point Bruno, thanks. I must admit that I did think of that > and have already copied all my .conf files to the backup directory. I > should have noted that earlier. > > Thanks, > Tim Another thing to check is that your global data (i.e. user accounts) are being backed up. pg_dumpall does this, but individual pg_dumps do not. In our prod environment we run a backup of those accounts with 'pg_dumpall -g' every night as well. ------_=_NextPart_001_01C67469.D976D1CE Content-Type: text/html; charset="iso-8859-1" RE: [ADMIN] backups

Thanks Scott, great idea.  Does one use pg_restore to restore the files that pg_dumpall creates?


 -----Original Message-----
From:   Scott Marlowe [mailto:smarlowe@g2switchworks.com]
Sent:   Wednesday, May 10, 2006 3:35 PM
To:     mcelroy, tim
Cc:     'Bruno Wolff III'; 'pgsql-admin@postgresql.org'
Subject:        Re: [ADMIN] backups

On Wed, 2006-05-10 at 14:11, mcelroy, tim wrote:
> Excellent point Bruno, thanks.  I must admit that I did think of that
> and have already copied all my .conf files to the backup directory.  I
> should have noted that earlier.
>
> Thanks,
> Tim

Another thing to check is that your global data (i.e. user accounts) are
being backed up. pg_dumpall does this, but individual pg_dumps do not.

In our prod environment we run a backup of those accounts with
'pg_dumpall -g' every night as well.

------_=_NextPart_001_01C67469.D976D1CE--