Re: [GENERAL] PITR - base backup question

From: "Merlin Moncure" <mmoncure(at)gmail(dot)com>
To: "Richard Broersma" <richard(dot)broersma(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, pgsql-admin(at)postgresql(dot)org
Subject: Re: [GENERAL] PITR - base backup question
Date: 2008-08-27 00:38:01
Message-ID: b42b73150808261738j605e1bchc1935f81d695fb08@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

On Tue, Aug 26, 2008 at 6:53 PM, Richard Broersma
<richard(dot)broersma(at)gmail(dot)com> wrote:
> From the following link:
> http://www.postgresql.org/docs/8.3/interactive/continuous-archiving.html#BACKUP-BASE-BACKUP
>
> Step 3 says to perform the back up.
>
> Does this mean a File System Backup of the Data directory?
> OR
> Does this mean performing a pg_dumpall and backing up the dump file?

File system backup. You tar up the database folder except pg_xlog
(and maybe pg_log). You then expand it on the other side (making sure
to set up pg_xlog properly). If you ever want to mess around with log
shipping I strongly suggest you go through the motions of setting up a
warm standby vi the pg_standby utility and practice popping the
standby out of recovery. It will give you a good understanding of the
process.

merlin

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Lew 2008-08-27 00:46:33 Re: Bug introduced in 8.0
Previous Message steve 2008-08-27 00:19:42 Re: PITR - base backup question

Browse pgsql-general by date

  From Date Subject
Next Message Richard Broersma 2008-08-27 01:00:26 Re: PITR - base backup question
Previous Message steve 2008-08-27 00:19:42 Re: PITR - base backup question