Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2004
    Posts
    190

    Unanswered: 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

  2. #2
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    Apparently, you did not complete the redirected restore procedure. Check the manual for all necessary steps.
    ---
    "It does not work" is not a valid problem statement.

  3. #3
    Join Date
    Dec 2008
    Location
    Toronto, Canada
    Posts
    399
    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 9.5/9.7 on Unix/AIX 6.1/Linux

  4. #4
    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.

  5. #5
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •