I used IBM Data Studio to backup a test database named URCTEST.
Now, I want to restore it to the actual (empty) database, URCDB.
I've got little experience with IBM DB2, so I assumed this was something similar to SQL Server, where I can create a test database, perform some actions on without endangering the actual database, then, upon a satisfactory result, back up that test database and then restore it to the real one.
I right-clicked the URCTEST and created a back-up. It created a "URCTEST.0.DB2.DBPART000.20130318172034.001" file in C:\ (where I specified the back-up be saved).
How do I restore this to URCDB? I tried right-clicking URCDB, and clicking Restore. I set the Method for selecting a backup image to "Enter the information manually", and added a backup location set to C:\
It gives me the following error:
RESTORE DATABASE URCDB FROM "C:\" TAKEN AT 20130318093537 WITHOUT PROMPTING
Failed to execute command. DAS returned the following error: sqlcode=-22220 output=SQL2542N No match for a database image file was found based on the source
database alias "URCDB" and timestamp "20130318093537" provided.