From: Scott Whitney <scott@journyx.com>
To: Craig James <cjames@emolecules.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Cold backup with rsync -- WAL files?
Date: Fri, 6 Dec 2013 09:24:28 -0600 (CST)
Message-ID: <23125649.944094.1386343468257.JavaMail.root@mail.int.journyx.com> (raw)
In-Reply-To: <CAFwQ8rd+oDkLG4KWkux=2jwNinBnuwhY8DH3W-_58MGO1m3=Lg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
Why not use cascading replication for this? That's precisely what I'm doing.
----- Original Message -----
> We need a "last chance" offsite backup of our backup server. Since
> the backup server isn't accessed by customers, we have the luxury of
> being able to shut it off briefly once per day. Call server "A" the
> backup, server "B" is offsite backup-of-backup: The procedure I'd
> like to implement is:
> server B is always "cold" (Postgres not running)
> while A is running, rsync A --> B
> stop Postgres on A
> rsync A --> B
> restart Postgres on A
> My question is: what about the WAL files? Do I need to rsync them
> from A to B too, or can/should I just clean out B's WAL directory,
> or something else?
> Thanks,
> Craig
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: scott@journyx.com, cjames@emolecules.com
Subject: Re: Cold backup with rsync -- WAL files?
In-Reply-To: <23125649.944094.1386343468257.JavaMail.root@mail.int.journyx.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