pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Srinivas Kotapally <ksrinivas@bisil.com>
To: 'Tom Lane' <tgl@sss.pgh.pa.us>
To: David.Bear@asu.edu
Cc: pgsql-admin@postgresql.org
Subject: Re: PITR with rsync
Date: Mon, 6 Aug 2007 22:28:44 -0400
Message-ID: <003501c7d89a$adfe5d00$3221a8c0@srinilaptop> (raw)
In-Reply-To: <6080.1186448021@sss.pgh.pa.us>
References: <20070807001114.GD19294@asu.edu>
	<5382.1186446433@sss.pgh.pa.us>
	<20070807004608.GE19294@asu.edu>
	<6080.1186448021@sss.pgh.pa.us>

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 <David.Bear@asu.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




view thread (7+ messages)  latest in thread

Message-ID: <003501c7d89a$adfe5d00$3221a8c0@srinilaptop>
Permalink:  ../003501c7d89a$adfe5d00$3221a8c0@srinilaptop/
Also on:    postgresql.org/message-id/003501c7d89a$adfe5d00$3221a8c0@srinilaptop

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: ksrinivas@bisil.com, tgl@sss.pgh.pa.us, David.Bear@asu.edu
  Subject: Re: PITR with rsync
  In-Reply-To: <003501c7d89a$adfe5d00$3221a8c0@srinilaptop>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox