
Signature
---------------------------------------------------------------------
"Are you still wasting your time with spam?...
There is a solution!"
Protected by GIANT Company's Spam Inspector
The most powerful anti-spam software available.
http://mail.spaminspector.com
Let's say we have logretain set to recovery and we have luxury to take
offline backups every night at 2AM. How can we restore to a point in
time at 11AM the next day, should it be necessary. When we restore an
offline backup image, the database will not be kept in rollforward
pending state. How do we tell DB2 to rollforward all logs from 2AM to
11AM?
Thanks
> OK that's clear
>
[quoted text clipped - 38 lines]
> >>
> >> Knokmans
Pierre Saint-Jacques - 25 Oct 2004 23:57 GMT
Your restore command as a default option of WITH ROLLING FORWARD even
with an offline image because you are in LOGRETAIN=RECOVERY.
Just restore and when complete issue your roll forward command to a
point in time.
Should you need to restore and you do not want to roll forward, you MUST
issue WITHOUT ROLLING FORWARD.
If you take an online backup, then the restore will ALWAYS be a db that
is in ROLL FORWARD PENDING and it must be rollled forward to AT LEAST
the timestamp of the end of the backup. That info is in your recovery
history file.
Also, if you do this thru the Control Center, then you can get a command
that will do all of this as you want it to .
HTH, Pierre
> Let's say we have logretain set to recovery and we have luxury to take
> offline backups every night at 2AM. How can we restore to a point in
[quoted text clipped - 47 lines]
>>>>
>>>>Knokmans

Signature
Pierre Saint-Jacques - Reply to: sescons at attglobal dot net
IBM DB2 Cerified Solutions Expert - Administration
SES Consultants Inc.