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 > Can you restore online backup without roll forward?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-20-06, 11:22
jujones jujones is offline
Registered User
 
Join Date: May 2006
Location: Waco, KY
Posts: 18
Can you restore online backup without roll forward?

Book says I can't, but how do you get around this?

Julie
Reply With Quote
  #2 (permalink)  
Old 07-20-06, 11:58
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
You can roll foward to the minimum recovery time that occured during the backup, but you must roll forward because there is no database consistancy without it when restoring an on-line backup. You will need the logs that were active during the backup (which would be part of the backup if used the include logs parm in the backup command).

The only other way to restore an on-line backup without rolling forward is to call IBM support.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 07-20-06, 11:59
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Is this a specific problem you are facing ?

Or is it something you would want to do regularly in the future ?

Oh, before anything else, are you talking about DB2 ? There is hardly any product info in your posting ... Why not give info on your version, fixpack, platform etc

Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #4 (permalink)  
Old 07-20-06, 12:03
jujones jujones is offline
Registered User
 
Join Date: May 2006
Location: Waco, KY
Posts: 18
DB2 UDB v8.2, Solaris, single partition, active-passive cluster and stand alone. In addition to our bcv backups IBM recommended doing daily db2 backup utility backups where we can confirm the backup is good. I am testing backup/recovery, test case of recovering to current day's backup and got the error. I am new to UDB but on z/Os, I regularly have to go back to image copies for users.
Reply With Quote
  #5 (permalink)  
Old 07-20-06, 13:43
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
If you are on 8.2, I recommend using INCLUDE LOGS option in the backup command, which includes the minimum number of logs that will be required to resote the backup image ...

You can restore the database using the image and the logs to a directory ... Following the restorem issue the ROLLFORWARD COMMAND, listing the above directory as OVERFLOW LOG PATH and rollforward to end of logs ...

Unfortunately, there is no option to say 'WITHOUT ROLLING FORWARD' for an online backup

Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #6 (permalink)  
Old 07-20-06, 13:47
jujones jujones is offline
Registered User
 
Join Date: May 2006
Location: Waco, KY
Posts: 18
Thank you very much.

Julie
Reply With Quote
  #7 (permalink)  
Old 07-26-06, 12:29
JAYANTA_DATTA JAYANTA_DATTA is offline
Registered User
 
Join Date: Oct 2004
Location: DELHI INDIA
Posts: 336
you can try the db2 " ? RECOVER database ".

which is a single step command: not like the 1> RESTORE and then 2> Rollforward.

Thanks,
Jayanta Datta
New Delhi, India
Reply With Quote
  #8 (permalink)  
Old 07-27-06, 10:57
jujones jujones is offline
Registered User
 
Join Date: May 2006
Location: Waco, KY
Posts: 18
Thank you. We will play with that. We have tested using milliseconds after the BCV to roll forward to.
Julie
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