From: Frederiko Costa <frederiko@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Wal Segment files Backup Strategy for archiving
Date: Thu, 15 Apr 2010 14:33:12 -0700
Message-ID: <o2rc68b93e61004151433r167c4e18h327b40d90caf88ab@mail.gmail.com> (raw)
Hello folks,
I wanted to use the archiving feature, with log shipping / warm-standby
server. No problem on setting up so far. However, reading the documentation
brought me one question that I'd like to share with the list.
In the documentation, as far as I understood, it's said you need to make a
base backup and copy the data cluster area to the destination you choose.
Use pg_start_backup(), copy the data/ directory (or the cluster area), and
pg_stop_backup(). It created the first checkpoint (correct?) and copied the
wal segments to the area you specified. You can even delete the files under
pg_xlog, because you will rely on the ones shipped out. The question is:
once the base backup has been made and I change any setting on this primary
server, on postgresql.conf for example, would I have to redo the procedure
and set Pgsql to backup mode if I want to apply these changes I made updated
on standby server or it's just a matter of transferring the file to the
standby server?
Thanks,
Frederiko Costa
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: frederiko@gmail.com
Subject: Re: Wal Segment files Backup Strategy for archiving
In-Reply-To: <o2rc68b93e61004151433r167c4e18h327b40d90caf88ab@mail.gmail.com>
References: <o2rc68b93e61004151433r167c4e18h327b40d90caf88ab@mail.gmail.com>
* 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