What directories to include in base backup

From: A B <gentosaker(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: What directories to include in base backup
Date: 2011-04-01 07:13:56
Message-ID: AANLkTinjR_ssH67zh5wYGVhr-gM2Y9xHK3SYM4GxN+mx@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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?

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Selva manickaraja 2011-04-01 07:33:56 Re: What directories to include in base backup
Previous Message Selva manickaraja 2011-04-01 03:25:10 Re: Too many WAL(s) despite low transaction