From: John R Pierce <pierce@hogranch.com>
To: pgsql-general@postgresql.org
Subject: Re: pg_restore
Date: Wed, 30 Mar 2011 16:14:38 -0700
Message-ID: <4D93B95E.10002@hogranch.com> (raw)
In-Reply-To: <AANLkTinE=yGSjUca3aEiAMHqk=5X-dr8jgTEJw8zGUOq@mail.gmail.com>
References: <AANLkTinm7g6TTQLgE9NKWmRd8nfbG3OXbke20bdcuu0Q@mail.gmail.com>
<4D93A272.9000101@hogranch.com>
<AANLkTinE=yGSjUca3aEiAMHqk=5X-dr8jgTEJw8zGUOq@mail.gmail.com>
On 03/30/11 4:08 PM, Mike Orr wrote:
> I looked at PITR and WAL, but it looks like I can't have the backup
> database running and answering queries while it's WAL'ing. I'd have to
> log in and switch it to normal mode and start the webapp, and that's
> what I may not be able to do if the backup server were needed.
>
look at the 'warm standby' stuff. just realize that this backup HAS to
be readonly.
> The backup server exists in case there's something like an earthquake
> at the main data center. Something that could cause a regional
> communication blackout and prevent the sysadmins from accessing the
> backup server remotely. The site is a data-sharing tool for emergency
> responders across the country. They may be in another region working
> on an unrelated incident, and need the website. So the backup site has
> to be already running and loaded with data -- we can't depend on a
> sysadmin being able to log in remotely to turn it on
distributed failover is tricky stuff. the standby *could* be
monitoring the active server and initiate automatic failover if it goes
down, but you don't want spontaneous failover if communications between
the servers is disrupted or you end up with two masters.
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-general@postgresql.org
Cc: pierce@hogranch.com
Subject: Re: pg_restore
In-Reply-To: <4D93B95E.10002@hogranch.com>
References: <AANLkTinm7g6TTQLgE9NKWmRd8nfbG3OXbke20bdcuu0Q@mail.gmail.com> <4D93A272.9000101@hogranch.com> <AANLkTinE=yGSjUca3aEiAMHqk=5X-dr8jgTEJw8zGUOq@mail.gmail.com> <4D93B95E.10002@hogranch.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