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 > tablespace restore

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-19-04, 21:08
urs_77 urs_77 is offline
Member
 
Join Date: Jan 2003
Location: Schaumburg, IL
Posts: 79
Angry tablespace restore

I am trying to restore a tablespace to 5/14. There are load jobs running everyday and I have a tablespace backup after the load job for 5/14.

This is the sequence of steps I have taken:

db2 “restore db xpsdb tablespace (NG00TS28) from /usr/local/dba/dump/pddd242/backups/ts_backups/ taken at 20040514190130 parallelism 3”

db2 “rollforward db xpsdb complete tablespace (NG00TS28) overflow log path (/usr/local/db2/pddd242/naveen/logs)”

I get the following error:

/usr/local/db2/pddd242/naveen/logs>db2 "rollforward db xpsdb complete tablespac"
SQL1276N Database "XPSDB" cannot be brought out of rollforward pending state
until roll-forward has passed a point in time greater than or equal to
"2004-05-19-04.05.07.000000", because node "0" contains information later than the specified time.

Can anyone give me a solution to this? Sooner appreciated as my tablespace is in restore pending.

Database: DB2 UDB 7.2 FP9.

Thanks in advance.
__________________
Naveen Urs
DBA Manager
IBM Certified Solutions Expert - DB2 LUW V7, V9

Last edited by urs_77; 05-19-04 at 21:15. Reason: wrong error message included
Reply With Quote
  #2 (permalink)  
Old 05-20-04, 00:11
cgprakash cgprakash is offline
Registered User
 
Join Date: Feb 2002
Posts: 96
Since the minimum recovery time for this tablespace is 2004-05-19-04.05.07.000000, you can not restore tablespace 'Point In Time' before this timestamp.

What is the size of your database?

Do you have any backup taken after 2004-05-19-04.05.07.000000? If yes, can you use that backup?

Regards
Prakash
Reply With Quote
  #3 (permalink)  
Old 05-20-04, 00:59
urs_77 urs_77 is offline
Member
 
Join Date: Jan 2003
Location: Schaumburg, IL
Posts: 79
I do have the offline backup for 5/19. However, that is not the issue. The business wants to restore it to 5/14. Any possible ways???
__________________
Naveen Urs
DBA Manager
IBM Certified Solutions Expert - DB2 LUW V7, V9
Reply With Quote
  #4 (permalink)  
Old 05-20-04, 01:32
cgprakash cgprakash is offline
Registered User
 
Join Date: Feb 2002
Posts: 96
You can restore db into new name(5/14 backup). And export data from that tablespace and load it into new database tablespace's tables.

Any other better suggestions??

Regards
Prakash
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