pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Frederiko Costa <frederiko@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: Wal Segment files Backup Strategy for archiving
Date: Thu, 15 Apr 2010 17:41:07 -0500
Message-ID: <4BC74FB30200002500030999@gw.wicourts.gov> (raw)
In-Reply-To: <o2rc68b93e61004151433r167c4e18h327b40d90caf88ab@mail.gmail.com>
References: <o2rc68b93e61004151433r167c4e18h327b40d90caf88ab@mail.gmail.com>

Frederiko Costa <frederiko@gmail.com> wrote:
 
> Use pg_start_backup(), copy the data/ directory (or the cluster
> area), and pg_stop_backup(). It created the first checkpoint
> (correct?)
 
Yes.
 
> 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?
 
You can transfer the .conf files, but be careful about the archive
settings; you may not want those to be identical on the standby. 
Also pay attention to memory settings, etc., if the hardware isn't
identical.  Of course, this is the same with setting it up after
you copy a base backup.
 
-Kevin



view thread (2+ messages)

Message-ID: <4BC74FB30200002500030999@gw.wicourts.gov>
Permalink:  ../4BC74FB30200002500030999@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4BC74FB30200002500030999@gw.wicourts.gov

 · 

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 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: Kevin.Grittner@wicourts.gov, frederiko@gmail.com
  Subject: Re: Wal Segment files Backup Strategy for archiving
  In-Reply-To: <4BC74FB30200002500030999@gw.wicourts.gov>
  References: <o2rc68b93e61004151433r167c4e18h327b40d90caf88ab@mail.gmail.com> <4BC74FB30200002500030999@gw.wicourts.gov>

* 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