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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Tom Lane
Sent: Monday, August 06, 2007 8:54 PM
To: [EMAIL PROTECTED]
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] PITR with rsync 

David Bear <[EMAIL PROTECTED]> 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


---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

Reply via email to