pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedRe: Fwd: PITR- timeline query
3+ messages / 2 participants
[nested] [flat]
* Re: Fwd: PITR- timeline query
@ 2006-07-13 15:12 Satya Prakash Tripathi <q16414@motorola.com>
0 siblings, 0 replies; 3+ messages in thread
From: Satya Prakash Tripathi @ 2006-07-13 15:12 UTC (permalink / raw)
To: pgsql-admin; +Cc: Satya Prakash Tripathi <q16414@motorola.com>
>
>
>
>
>
>
>Hi ,
>
>I am experimenting with PITR aspect of postgres8.0,
>and I needed some answers on this subject.
>
>I have following questions :
>
>1)
>At time t0, I created a base backup. (got a backup
>marker file named as:
>0000000800000002000000A8.005E61B4.backup)
>(assume no previous base backups and recoveries...)
>
>On time t2 I did a recovery till time t1 ( t0<t1<t2).
>Now I see history file named 00000009.history. And
>then onwards, the WAL filenames start with 00000009.
>Is 00000009 here the new timeline ? If so is it safe
>to deduce that from .history file that gets generated
>after recovery ?
>
>2)
>Now say, I was happy with the above recovery and after
>a few days, at time t3 I decided to revover my db back
>in time t.
>
>What timeline should I specify in recovery.conf if:
>(or do I need to specify it in each case?)
>
> a) t1 < t < t2
> b) t2 < t < t3
>
>IMO, in case a) the timeline of base backup would be
>used, so I wouldn't need to specify timeline. While in
>case b) I need to specify this new
>timeline(recovery_target_timeline=00000009).
>Kindly confirm...
>
>trying to put the scenario pictorially:
>
> t0 t2
> | t1 |
> |-------| ------ |---------- timeline: 00000008
> |
> | timeline:00000009
> |----------------------|----
> t3
>
>
>
>TIA,
>Satya
>
>
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam? Yahoo! Mail has the best spam protection around
>http://mail.yahoo.com
>
>
^ permalink raw reply [nested|flat] 3+ messages in thread
* PITR- timeline query
@ 2006-07-13 15:16 Satya Prakash Tripathi <sptripathi78@yahoo.com>
2006-07-18 10:50 ` Re: PITR- timeline query Satya Prakash Tripathi <sptripathi78@yahoo.com>
0 siblings, 1 reply; 3+ messages in thread
From: Satya Prakash Tripathi @ 2006-07-13 15:16 UTC (permalink / raw)
To: pgsql-admin
Hi ,
I am experimenting with PITR aspect of postgres8.0,
and I needed some answers on this subject.
I have following questions :
1)
At time t0, I created a base backup. (got a backup
marker file named as:
0000000800000002000000A8.005E61B4.backup)
(assume no previous base backups and recoveries...)
On time t2 I did a recovery till time t1 ( t0<t1<t2).
Now I see history file named 00000009.history. And
then onwards, the WAL filenames start with 00000009.
Is 00000009 here the new timeline ? If so is it safe
to deduce that from .history file that gets generated
after recovery ?
2)
Now say, I was happy with the above recovery and after
a few days, at time t3 I decided to revover my db back
in time t.
What timeline should I specify in recovery.conf if:
(or do I need to specify it in each case?)
a) t1 < t < t2
b) t2 < t < t3
IMO, in case a) the timeline of base backup would be
used, so I wouldn't need to specify timeline. While in
case b) I need to specify this new
timeline(recovery_target_timeline=00000009).
Kindly confirm...
trying to put the scenario pictorially:
t0 t2
| t1 |
|-------| ------ |---------- timeline: 00000008
|
| timeline:
00000009
|----------------------|----
t3
TIA,
Satya
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: PITR- timeline query
2006-07-13 15:16 PITR- timeline query Satya Prakash Tripathi <sptripathi78@yahoo.com>
@ 2006-07-18 10:50 ` Satya Prakash Tripathi <sptripathi78@yahoo.com>
0 siblings, 0 replies; 3+ messages in thread
From: Satya Prakash Tripathi @ 2006-07-18 10:50 UTC (permalink / raw)
To: pgsql-admin
Can anyone answer please ?
--- Satya Prakash Tripathi <sptripathi78@yahoo.com>
wrote:
> Hi ,
>
> I am experimenting with PITR aspect of postgres8.0,
> and I needed some answers on this subject.
>
> I have following questions :
>
> 1)
> At time t0, I created a base backup. (got a backup
> marker file named as:
> 0000000800000002000000A8.005E61B4.backup)
> (assume no previous base backups and recoveries...)
>
> On time t2 I did a recovery till time t1 (
> t0<t1<t2).
> Now I see history file named 00000009.history. And
> then onwards, the WAL filenames start with 00000009.
>
> Is 00000009 here the new timeline ? If so is it safe
> to deduce that from .history file that gets
> generated
> after recovery ?
>
> 2)
> Now say, I was happy with the above recovery and
> after
> a few days, at time t3 I decided to revover my db
> back
> in time t.
>
> What timeline should I specify in recovery.conf if:
> (or do I need to specify it in each case?)
>
> a) t1 < t < t2
> b) t2 < t < t3
>
> IMO, in case a) the timeline of base backup would
> be
> used, so I wouldn't need to specify timeline. While
> in
> case b) I need to specify this new
> timeline(recovery_target_timeline=00000009).
> Kindly confirm...
>
> trying to put the scenario pictorially:
>
> t0 t2
> | t1 |
> |-------| ------ |---------- timeline: 00000008
> |
> | timeline:
00000009
>
|----------------------|----
>
t3
>
>
>
> TIA,
> Satya
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 6: explain analyze is your friend
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2006-07-18 10:50 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-07-13 15:12 Re: Fwd: PITR- timeline query Satya Prakash Tripathi <q16414@motorola.com>
2006-07-13 15:16 PITR- timeline query Satya Prakash Tripathi <sptripathi78@yahoo.com>
2006-07-18 10:50 ` Satya Prakash Tripathi <sptripathi78@yahoo.com>
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