Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 6F0CE1E62E85 for ; Wed, 25 Apr 2012 14:23:36 -0300 (ADT) Received: from asbnvacz-mailrelay01.megapath.net ([207.145.128.243]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SN5wC-0002hb-OU for pgsql-admin@postgresql.org; Wed, 25 Apr 2012 17:23:35 +0000 Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.39]) by asbnvacz-mailrelay01.megapath.net (Postfix) with ESMTP id BFC80A71247 for ; Wed, 25 Apr 2012 13:23:15 -0400 (EDT) Received: (qmail 29189 invoked from network); 25 Apr 2012 17:23:15 -0000 Received: by simscan 1.4.0 ppid: 18925, pid: 31367, t: 1.0880s scanners: clamav: m: Received: from unknown (HELO [192.168.2.118]) (sribe@elevated-dev.com@[205.170.118.129]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with AES128-SHA encrypted SMTP for ; 25 Apr 2012 17:23:14 -0000 Subject: Re: Backup/disaster recovery and bandwidth (long) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Scott Ribe In-Reply-To: Date: Wed, 25 Apr 2012 11:23:12 -0600 Cc: pgsql-admin@postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <8D77E0D1-4AA7-4892-9508-58B7F21DDB18@elevated-dev.com> References: To: Scott Whitney , Scott Whitney X-Mailer: Apple Mail (2.1084) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail1.sea5 X-Spam-Level: X-Spam-Status: No, score=0.0 required=8.0 tests=none autolearn=disabled version=3.0.4 X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201204/133 X-Sequence-Number: 39469 On Apr 25, 2012, at 10:11 AM, Scott Whitney wrote: > I believe, then, that when I restart server #3 (the standby who is = replicating), he'll say "oh, geez, I was down, let me catch up on all = that crap that happened while I was out of the loop," he'll replay the = WAL files that were written while he was down, and then he'll catch back = up. >=20 > Does this sound like a viable option? Or does someone have additional = suggestions? Perfectly viable. However, the WAL files must exist for this to happen. = So you need to set wal_keep_segments appropriately, or set up WAL = archiving. Note that you could even provide a more up-to-date database for your = people to work with. If the testbed is nearly up to date, then an rsync = to update it would take very little time. So you could shut down the = replica, rsync, and bring the replica back up. --=20 Scott Ribe scott_ribe@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice