currently running a local instance of DB2 on Windows - Version 7
This box has to follow a migration plan to V9 that has been set up to follow the migration plan on the Mainframe to DB2 V9. (V7 to V8 compatablity mode to Version 9)
I have about 6 smallish Databases on this local DB2 on Windows Instance.
a new Server was built to eventually replace the old server running version 7 and I installed DB2 V8 on the new server.
The trouble I am having now is figuring out how to do a restore of a V7 Database into my new V8 Instance.
I've tried a number of different ways including - creating the DB via the GUI and doing a restore from file (V7 Backup) . I get this error: SQL2542N No match for a database image file was found based on the source
I also tried a re-directed restore like this:
Code:
CONNECT TO DBINGWP1 user kcapdba1 using kcapdba1;
QUIESCE DATABASE IMMEDIATE FORCE CONNECTIONS;
CONNECT RESET;
RESTORE DATABASE DBINGWP1 FROM "C:\V7Backups\DBINGWP1" TO "E:" INTO DBINGWP1 WITH 2 BUFFERS BUFFER 1024 REDIRECT PARALLELISM 1 WITHOUT PROMPTING;
SET TABLESPACE CONTAINERS FOR 0 IGNORE ROLLFORWARD CONTAINER OPERATIONS USING (FILE "E:\DBINGWP1\SYSCATSPACE\DB2CAT" 640000 );
SET TABLESPACE CONTAINERS FOR 1 IGNORE ROLLFORWARD CONTAINER OPERATIONS USING (FILE "E:\DBINGWP1\TEMPSPACE1\TMPSP" 640000 );
SET TABLESPACE CONTAINERS FOR 2 IGNORE ROLLFORWARD CONTAINER OPERATIONS USING (FILE "E:\DBINGWP1\DFLT" 640000 );
SET TABLESPACE CONTAINERS FOR 3 IGNORE ROLLFORWARD CONTAINER OPERATIONS USING (PATH "E:\DBINGWP1\TBLSP1" 64000 );
RESTORE DATABASE DBINGWP1 CONTINUE;
ROLLFORWARD DATABASE DUTDM TO END OF LOGS AND COMPLETE NORETRIEVE;
redirected restore did not work... same error as above.
can anyone help get me started here???