Hi,
I need some help in restoring the db.
I have db [samp] on one system. I have taken the offline backup of that. Now I want to restore it onto another system with the name as sample.
The two systems are are similar. Can anybody tell me the exact command to do this.
When I tried to restore with
db2 restore db sample from /u/bkp
This I did after renaming the backed up file.
It always complains as 'The image was created fro database alias "". The error number is SQL2069N.
I don't want to use db2move or any other utility except restore command.
Any help is highly appreciated.
Thanks
Gbag.
I need some help in restoring the db.
I have db [samp] on one system. I have taken the offline backup of that. Now I want to restore it onto another system with the name as sample.
The two systems are are similar. Can anybody tell me the exact command to do this.
When I tried to restore with
db2 restore db sample from /u/bkp
This I did after renaming the backed up file.
It always complains as 'The image was created fro database alias "". The error number is SQL2069N.
I don't want to use db2move or any other utility except restore command.
Any help is highly appreciated.
Thanks
Gbag.