Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 09F1D9FB681 for ; Mon, 6 Aug 2007 23:29:35 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 48911-02 for ; Mon, 6 Aug 2007 23:29:14 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.226]) by postgresql.org (Postfix) with ESMTP id 4B3EC9FB5FA for ; Mon, 6 Aug 2007 23:28:48 -0300 (ADT) Received: by wx-out-0506.google.com with SMTP id h29so1401198wxd for ; Mon, 06 Aug 2007 19:28:46 -0700 (PDT) Received: by 10.70.53.7 with SMTP id b7mr10928102wxa.1186453726715; Mon, 06 Aug 2007 19:28:46 -0700 (PDT) Received: from srinilaptop ( [72.94.185.135]) by mx.google.com with ESMTPS id h14sm6439705wxd.2007.08.06.19.28.45 (version=SSLv3 cipher=RC4-MD5); Mon, 06 Aug 2007 19:28:45 -0700 (PDT) Reply-To: From: "Srinivas Kotapally" To: "'Tom Lane'" , Cc: References: <20070807001114.GD19294@asu.edu> <5382.1186446433@sss.pgh.pa.us> <20070807004608.GE19294@asu.edu> <6080.1186448021@sss.pgh.pa.us> Subject: Re: PITR with rsync Date: Mon, 6 Aug 2007 22:28:44 -0400 Organization: BISIL NA Inc Message-ID: <003501c7d89a$adfe5d00$3221a8c0@srinilaptop> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 Thread-Index: AcfYjbFNTFVmFuDwSq27KHE4Pe28GAADHnNg In-reply-to: <6080.1186448021@sss.pgh.pa.us> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/40 X-Sequence-Number: 26371 Would a simple diff between 2 pg_dumps work if only data is being added in the database (i.e. no alters or tables are added)? So say I do a pg_dump once a day and one every 3 hrs there after and in the script I do a diff and store as a PITR dump. Will that work, or is it too simplistic? -----Original Message----- From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Tom Lane Sent: Monday, August 06, 2007 8:54 PM To: David.Bear@asu.edu Cc: pgsql-admin@postgresql.org Subject: Re: [ADMIN] PITR with rsync David Bear writes: > On Mon, Aug 06, 2007 at 08:27:13PM -0400, Tom Lane wrote: >> 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. > well, I was using rysnc so I could copy to a different computer over > ssh, not using the rsync protocol to catch diffs. I don't have a > remote file system mounted so I can do just a cp. If you are going over an ssh connection then scp seems like the appropriate tool. Yeah, rsync would work, but it's just a useless extra layer of software... regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match