pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: mcelroy, tim <tim.mcelroy@bostonstock.com>
To: Scott Marlowe <smarlowe@g2switchworks.com>
Cc: 'pgsql-admin@postgresql.org' <pgsql-admin@postgresql.org>
Subject: Re: backups
Date: Wed, 10 May 2006 11:56:20 -0400
Message-ID: <0C4841B42F87D51195BD00B0D020F5CB044B2643@MORPHEUS> (raw)

Thanks for the quick answer Scott.  I thought so but wanted to double-check.
I was asked by the person who performs our system backups if just backing up
the directory where I put the nightly backups (created with pg_dump) was
enough.  I also have them backing up /var/lib/pgsql and everything under
that and they're complaining that it's taking too long.  I would think we
would also want to back up the pg_xlog directory though.  Or is that
overkill?  Is there a standard in the PG community I should follow?  Is just
performing the pg_dump and saving that to tape enough?  I just don't want to
get bit in the butt if I tell him to not back something up that should be
backed up.

Tim

-----Original Message-----
From: Scott Marlowe [mailto:smarlowe@g2switchworks.com]
Sent: Wednesday, May 10, 2006 11:57 AM
To: mcelroy, tim
Cc: 'pgsql-admin@postgresql.org'
Subject: Re: [ADMIN] backups

On Wed, 2006-05-10 at 10:49, mcelroy, tim wrote:
> Greetings,
>
> 
>
> Does the pg_dump command 'backup' the pg_xlog files?

No.  Those are internal files used by the database to maintain
transactional integrity.  The pg_dump command backs up the database as
snapshotted at a specific point of time.

What are you trying to accomplish?

view thread (19+ messages)  latest in thread

Message-ID: <0C4841B42F87D51195BD00B0D020F5CB044B2643@MORPHEUS>
Permalink:  ../0C4841B42F87D51195BD00B0D020F5CB044B2643@MORPHEUS/
Also on:    postgresql.org/message-id/0C4841B42F87D51195BD00B0D020F5CB044B2643@MORPHEUS

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tim.mcelroy@bostonstock.com, smarlowe@g2switchworks.com
  Subject: Re: backups
  In-Reply-To: <0C4841B42F87D51195BD00B0D020F5CB044B2643@MORPHEUS>

* 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