Re: What directories to include in base backup

From: Selva manickaraja <mavles78(at)gmail(dot)com>
To: A B <gentosaker(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: What directories to include in base backup
Date: 2011-04-01 07:33:56
Message-ID: AANLkTik5vat-waRgAwOdbP9h6UddsHJ_eHCZEqoiDBD=@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

You can ignore contents of pg_xlog is you are running WAL archiving. You can
skip postmaster.pid and pg_log but make sure that you recreate pg_log in
the target.

On Fri, Apr 1, 2011 at 3:13 PM, A B <gentosaker(at)gmail(dot)com> wrote:

> Hello.
>
> I just wanted to check with you, the experts, on what directories to
> include in the basebackup (following
> http://www.postgresql.org/docs/8.4/static/continuous-archiving.html)
>
> I should include these:
>
> base/
> global/
> pg_clog/
> pg_multixact/
> pg_stat_tmp/
> pg_subtrans/
> pg_tblspc/
> pg_twophase/
> PG_VERSION
> pg_xlog/
> postmaster.opts
>
>
> and I can skip
>
> pg_log/
> postmaster.pid
>
> Right?
>
> What about pg_xlog/ directory? Is that really needed? I store the WAL
> file in another place already, or should pg_xlog be included just in
> case it will be more recent if crash-recovery i possible?
>
> --
> Sent via pgsql-admin mailing list (pgsql-admin(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Vladimir Rusinov 2011-04-01 10:02:11 Re: Restore Backup from Linux to Windows 2003
Previous Message A B 2011-04-01 07:13:56 What directories to include in base backup