What facilities are/will be available for hot(online) backups with the
7.4 release? PITR, something else? TIA.
-- 
Austin Gonyou <austin@coremetrics.com>
Coremetrics, Inc.

Wed, 12 Nov 2003 00:46:41 -0600
Austin Gonyou <austin@coremetrics.com>
7.4 hot backup capabilities?
Austin Gonyou wrote:

> What facilities are/will be available for hot(online) backups with the
> 7.4 release? PITR, something else? TIA.

pg_dump?

Did you mean hot failover or hot backup? Postgresql does hot backup for a long time.

  Bye
   Shridhar


Wed, 12 Nov 2003 12:30:04 +0530
Shridhar Daithankar <shridhar_daithankar@myrealbox.com>
Re: 7.4 hot backup capabilities?
On Wed, 2003-11-12 at 01:00, Shridhar Daithankar wrote:
> Austin Gonyou wrote:
> 
> > What facilities are/will be available for hot(online) backups with the
> > 7.4 release? PITR, something else? TIA.
> 
> pg_dump?
> 
> Did you mean hot failover or hot backup? Postgresql does hot backup for a long time.

I was referring primarly to hot backup. We're migrating from Oracle to
pgsql, and we wanted to know more about this. From our current
understanding, pgsql's hot backup is more of an export, than say, a hot
backup with redo-logs type mode.(i.e. oracle rman). Is there a similar
utility? I didn't think that pg_dump did that functionality as an actual
"backup". i.e. keeps track of block changes while IO is going on and
ensures stuff in process gets backed up as well.

>   Bye
>    Shridhar
-- 
Austin Gonyou <austin@coremetrics.com>
Coremetrics, Inc.

Wed, 12 Nov 2003 02:52:21 -0600
Austin Gonyou <austin@coremetrics.com>
Re: 7.4 hot backup capabilities?
Austin Gonyou wrote:

> On Wed, 2003-11-12 at 01:00, Shridhar Daithankar wrote:
> 
>>Austin Gonyou wrote:
>>
>>
>>>What facilities are/will be available for hot(online) backups with the
>>>7.4 release? PITR, something else? TIA.
>>
>>pg_dump?
>>
>>Did you mean hot failover or hot backup? Postgresql does hot backup for a long time.
> 
> 
> I was referring primarly to hot backup. We're migrating from Oracle to
> pgsql, and we wanted to know more about this. From our current
> understanding, pgsql's hot backup is more of an export, than say, a hot
> backup with redo-logs type mode.(i.e. oracle rman). Is there a similar
> utility? I didn't think that pg_dump did that functionality as an actual
> "backup". i.e. keeps track of block changes while IO is going on and
> ensures stuff in process gets backed up as well.

pg_dump takes a snapshot while it starts and it saves the snapshot consistently. 
Any ongoing transactions that are not yet committed are not visible to pg_dump 
anyways.

Furthermore since the snapshot is consistent, pg_dump does not need redo logs etc.

You can look into asynchronous replications if you want incremental backup. 
There is a gborg page for replication projects, 
http://gborg.postgresql.org/project/pgreplication/projdisplay.php

pg_dump can be selective but I don't think it can be incremental.

I hope I got your point correctly.

HTH


  Shridhar


Wed, 12 Nov 2003 14:52:04 +0530
Shridhar Daithankar <shridhar_daithankar@myrealbox.com>
Re: 7.4 hot backup capabilities?
Shridhar Daithankar <shridhar_daithankar@myrealbox.com> writes:

> pg_dump can be selective but I don't think it can be incremental.
> 
> I hope I got your point correctly.

I think he's really talking about PITR, which will not be in 7.4.

-Doug

12 Nov 2003 05:53:10 -0500
Doug McNaught <doug@mcnaught.org>
Re: 7.4 hot backup capabilities?
Austin Gonyou wrote:

> On Wed, 2003-11-12 at 01:00, Shridhar Daithankar wrote:
>> Austin Gonyou wrote:
>> 
>> > What facilities are/will be available for hot(online) backups with the
>> > 7.4 release? PITR, something else? TIA.
>> 
>> pg_dump?
>> 
>> Did you mean hot failover or hot backup? Postgresql does hot backup for a long time.
> 
> I was referring primarly to hot backup. We're migrating from Oracle to
> pgsql, and we wanted to know more about this. From our current
> understanding, pgsql's hot backup is more of an export, than say, a hot
> backup with redo-logs type mode.(i.e. oracle rman). Is there a similar
> utility? I didn't think that pg_dump did that functionality as an actual
> "backup". i.e. keeps track of block changes while IO is going on and
> ensures stuff in process gets backed up as well.

You might want to read section 1.5 of my Slony-I proposal

     http://developer.postgresql.org/~wieck/slony1.html

It might take 2-3 months until we have the first BETA. I hope that will 
fit your migration projects time table.


Jan

-- 
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #


Wed, 12 Nov 2003 09:05:29 -0500
Jan Wieck <JanWieck@Yahoo.com>
Re: 7.4 hot backup capabilities?