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 on top of offline backup??

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-16-09, 07:45
nagbuchi nagbuchi is offline
Registered User
 
Join Date: Feb 2005
Location: Bangalore,India
Posts: 39
Question Rollforward on top of offline backup??

Hi All,
I know we can rollforward the transaction logs on top of online backup image at the time of DB restoration.Will the roll forward possible after restoring the DB from an offlline backup image.

By the way archival logging is enabled for this database and we have only an offline backup image along with the archive logs for restoring the database for point in time.

Please advise.

DB2 LUW version is v9.5.

Thanks
Nagaraj
Reply With Quote
  #2 (permalink)  
Old 07-16-09, 08:08
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
I believe the answer to you question is yes. If you restore the offline backup without using the "WITHOUT ROLLING FORWARD" clause, the database will be left in roll forward pending state.

Andy
Reply With Quote
  #3 (permalink)  
Old 07-16-09, 08:48
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
if the db is enabled for log archive, after the restore, the db is always in rollforward mode (I believe ) after restore. rollforward complete can be executed, to quit the status without rolling forward
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #4 (permalink)  
Old 07-16-09, 08:54
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Quote:
Originally Posted by przytula_guy
if the db is enabled for log archive, after the restore, the db is always in rollforward mode (I believe ) after restore. rollforward complete can be executed, to quit the status without rolling forward
If the clause "WITHOUT ROLLING FORWARD" is used to restore an offline backup, then the restored database is ready for use as soon as the restore is finished. there is no rollforward step needed.

Andy
Reply With Quote
  #5 (permalink)  
Old 07-16-09, 09:33
nagbuchi nagbuchi is offline
Registered User
 
Join Date: Feb 2005
Location: Bangalore,India
Posts: 39
Thanks for the replies.

Does DB2 allow to omit "WITHOUT ROLLING FORWARD" clause with offline backup.Please confirm.

--Nagaraj
Reply With Quote
  #6 (permalink)  
Old 07-16-09, 09:44
Cougar8000 Cougar8000 is offline
Registered User
 
Join Date: Nov 2005
Location: IL
Posts: 554
yes, please download manuals. As you are on 9.5 here you go

IBM - DB2 Version 9.5 for Linux, UNIX and Windows English manuals
__________________
--
IBM Certified DBA on DB2 for Linux, UNIX, and Windows

DB2 v9.1.0.2 os 5.3.0.0
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