I'm trying to restore a DB from a Linux system to a Windows. I'm working with DB2 9.7.7. I want to create a new DB with the restored DB.
The DB file has this name:
DBBACKUP.0.db2inst1.DBPART000.20140614125950.001 and I've the file under
/home/db2inst1 folder. So, logged as DB2 administrator (db2inst1), I'm trying with this command:
db2inst1@machine:/data/home/db2inst1> db2 restore db DBBACKUP
db2inst1@machine:/data/home/db2inst1> db2 restore db DBBACKUP taken at 20140614125950
and it returns me:
SQL2542N No match for a database image file was found based on the source database alias "DBBACKUP" and timestamp "" provided.
It can not find the database, but I don't know if the error is the name of the DB I put in the command, or the path is wrong.