pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: CS_DBA <cs_dba@consistentstate.com>
To: pgsql-admin@postgresql.org
Subject: copy / backup question - copying a data directory while the db is shutdown
Date: Mon, 24 Mar 2014 16:46:53 -0600
Message-ID: <5330B5DD.7030805@consistentstate.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

Hi All;

If I shutdown a HOT standby slave (via the -m fast command) can I then 
copy the data directory to a "backup" location and be guaranteed that 
the backup copy will start?

For some reason I thought there were issues (or potential issues) with 
this method and a PITR based recovery approach was a better guarantee 
that the copy will start


Thoughts?



-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (3+ messages)  latest in thread

Message-ID: <5330B5DD.7030805@consistentstate.com>
Permalink:  ../5330B5DD.7030805@consistentstate.com/
Also on:    postgresql.org/message-id/5330B5DD.7030805@consistentstate.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: cs_dba@consistentstate.com
  Subject: Re: copy / backup question - copying a data directory while the db is shutdown
  In-Reply-To: <5330B5DD.7030805@consistentstate.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