Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 511349FB45D for ; Mon, 6 Aug 2007 21:27:19 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 11418-10 for ; Mon, 6 Aug 2007 21:27:11 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 0370C9FB416 for ; Mon, 6 Aug 2007 21:27:15 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id l770RDQZ005383; Mon, 6 Aug 2007 20:27:13 -0400 (EDT) To: David.Bear@asu.edu cc: pgsql-admin@postgresql.org Subject: Re: PITR with rsync In-reply-to: <20070807001114.GD19294@asu.edu> References: <20070807001114.GD19294@asu.edu> Comments: In-reply-to David Bear message dated "Mon, 06 Aug 2007 17:11:14 -0700" Date: Mon, 06 Aug 2007 20:27:13 -0400 Message-ID: <5382.1186446433@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/37 X-Sequence-Number: 26368 David Bear writes: > I'm still uncomfortable with using the file system style backup method > in PITR and am very interested in ' more information ' on how others > may be doing backups. Specifically, I assume that PITR methods would > also be accompanied with some combination of pg-dump. You assume wrong. Replaying WAL demands starting from a physical not logical dump, because page and tuple numbers and so forth have to be the same as in the master. A pg_dump backup will simply not work. > I am curious > about how frequently a pg-dump would be done if a PITR method was also > used (every 24 hours, every 7 days, not at all ) ?? I'd personally be inclined to take a pg_dump every now and then just to have an independent backup method. Especially if I wasn't comfortable with PITR ;-). How often depends on how much bandwidth you can spare for backup purposes. > Also, looking at the archive_command argument in postgresql.conf. Has > anyone use rsync there? I suppose you could, but what's the point? Copying a single file that doesn't currently exist on the destination plays to none of rsync's strengths. regards, tom lane