Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DB2 Restores

Status
Not open for further replies.

garytudge

Programmer
Sep 10, 2003
1
GB
Hi

We've been testing recovery scenarios:
we have a plan to alter tables to a new format (eg sizing various columns), then if we encounter application problems, we'd have to revert
(Running on MVS and DB2 V7)

Before doing the change, under testing I've run a COPY and then QUIESCE on a tablespace (contains 1 table), then:-

1) added some data, then a RECOVER (and REBUILD indexes) from the COPY taken earlier -works fine, the extra data has disappeared

2) dropped the table and recreated it in a new format, added new data into it - then to test the recovery scenario, tried the RECOVER from the old COPY dataset....only guess what, the table is still there in the new format - only EMPTY! (not really what I wanted )

Is this related to the fact that we've got a new table id, so the RECOVER doesn't recognise the table to be recovered?
Or is there a workaround, or whould we just have to keep the old DDL, and UNLOAD all the data before we start fiddling with the table !

Thanks
Gary
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top