If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Rollforward

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-05-07, 10:40
wehrle wehrle is offline
Registered User
 
Join Date: Jul 2005
Posts: 99
Rollforward

AIX 5.3
DB2 8.2

If I preserve current DB2 transaction logs, then do a complete system restore at the operating system level, and then copy back DB2 transaction logs dated after the system restore, would I then be able to roll forward from the transactions in these logs or can a rollforward of transacion logs only occur after a DB2 restore?

Thanks.
Reply With Quote
  #2 (permalink)  
Old 04-05-07, 11:22
dbamota dbamota is offline
Registered User
 
Join Date: Sep 2003
Posts: 237
For OS level restore how was the backup taken? If the db was stopped when you took the backup, when you restore OS, db is in a consistent state(NOT in rollforward pending state); I think you need restore to rollforward;
__________________
mota
Reply With Quote
  #3 (permalink)  
Old 04-05-07, 11:31
wehrle wehrle is offline
Registered User
 
Join Date: Jul 2005
Posts: 99
The database would be in a consistent state after this OS restore, but I am curious if I could still rollforward to a desired point in time like I believe I can do after an offline DB2 backup is restored.
Reply With Quote
  #4 (permalink)  
Old 04-05-07, 11:59
dbamota dbamota is offline
Registered User
 
Join Date: Sep 2003
Posts: 237
I think you have to use WITHOUT ROLLINGFORWARD option of restore when you restore an offline backup. Please let me know if you can do otherwise.In Oracle, if you donot OPEN a db, it can be rolled forward.
__________________
mota
Reply With Quote
  #5 (permalink)  
Old 04-05-07, 12:05
wehrle wehrle is offline
Registered User
 
Join Date: Jul 2005
Posts: 99
My original question is still unanswered. Can I rollforward from an OS level restore?
Reply With Quote
  #6 (permalink)  
Old 04-05-07, 12:33
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
No ...

Rollforward can be done only if the database/tablespace is in rollforward pending state ..
A database/tablespace is put in rollforward pending state only by a database restore ..
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On