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 > Restoring a V8 db into a V9.5 instance

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-06-09, 08:58
redwolf redwolf is offline
Registered User
 
Join Date: Apr 2004
Posts: 179
Restoring a V8 db into a V9.5 instance

I attempted to perform a redirected restore of V8.2 db into a V9.5 instance and received the warning msg below. From what I have read this should be allowed. How Any ideas what the issue maybe?

SQL1277W A redirected restore operation is being performed. Table space
configuration can now be viewed and table spaces that do not use automatic
storage can have their containers reconfigured.
DB20000I The RESTORE DATABASE command completed successfully.

njs75d-0004:/home/db2inst4/RR/rr_PROD/scr> db2 connect to dbtest
SQL1119N A connection to or activation of database "DBTEST" cannot be made
because a previous restore is incomplete or still in progress. SQLSTATE=57019
Reply With Quote
  #2 (permalink)  
Old 04-06-09, 09:12
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Apparently, you did not complete the redirected restore procedure. Check the manual for all necessary steps.
Reply With Quote
  #3 (permalink)  
Old 04-06-09, 09:37
MarkhamDBA MarkhamDBA is offline
Registered User
 
Join Date: Dec 2008
Location: Toronto, Canada
Posts: 381
Quote:
Originally Posted by redwolf
I attempted to perform a redirected restore of V8.2 db into a V9.5 instance and received the warning msg below. From what I have read this should be allowed. How Any ideas what the issue maybe?

SQL1277W A redirected restore operation is being performed. Table space
configuration can now be viewed and table spaces that do not use automatic
storage can have their containers reconfigured.
DB20000I The RESTORE DATABASE command completed successfully.

njs75d-0004:/home/db2inst4/RR/rr_PROD/scr> db2 connect to dbtest
SQL1119N A connection to or activation of database "DBTEST" cannot be made
because a previous restore is incomplete or still in progress. SQLSTATE=57019
you need to issue SET TABLESPACE CONTAINERS command for every tablespace of the DB and then RESTORE DBname CONTINUE to start doing restore
__________________
DB2 v9.5 ESE on AIX v6.1/ v9./10 on z/OS
Reply With Quote
  #4 (permalink)  
Old 04-06-09, 10:06
rdutton rdutton is offline
Registered User
 
Join Date: Dec 2008
Posts: 76
Also, note that you can only do this with an offline backup.

You can't restore an 8.2 online backup into a 9.5 database - 8.2 log files can't be read by 9.5.
Reply With Quote
  #5 (permalink)  
Old 04-06-09, 11:39
nick.ncs nick.ncs is offline
Registered User
 
Join Date: May 2007
Location: somewhere in dbforums
Posts: 221
You can also look into exporting and then importing data using db2move command....
__________________
IBM Certified Database Associate, DB2 9 for LUW
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