From: | "Srinivas Kotapally" <ksrinivas(at)bisil(dot)com> |
---|---|
To: | "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <David(dot)Bear(at)asu(dot)edu> |
Cc: | <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: PITR with rsync |
Date: | 2007-08-07 02:28:44 |
Message-ID: | 003501c7d89a$adfe5d00$3221a8c0@srinilaptop |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
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(at)postgresql(dot)org [mailto:pgsql-admin-owner(at)postgresql(dot)org]
On Behalf Of Tom Lane
Sent: Monday, August 06, 2007 8:54 PM
To: David(dot)Bear(at)asu(dot)edu
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] PITR with rsync
David Bear <David(dot)Bear(at)asu(dot)edu> 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
From | Date | Subject | |
---|---|---|---|
Next Message | Jayakumar_Mukundaraju | 2007-08-07 05:37:59 | Re: Backup Scheduler... |
Previous Message | Tom Lane | 2007-08-07 00:53:41 | Re: PITR with rsync |