Quote:
|
Originally Posted by vilius
Hello,
I have two db2 instances with same names on separate machines.
There is database in each of these instances with the same name and the same structure( I mean same number of tablespaces the same size of container files ).
The only difference is data on these db's .
So if I want to move db from one instance to another do I need db2relocatedb ?
(basically I'm asking because instance names are the same, if they would be different there would be no question)
thanks
Vilius
|
so generally you need to move data (if db structures are the same), right?
I guess you would need to ftp your backup file from one server to another and then do restore.
I just did the move of the database from one instance to another within same server and it was fast. I backuped db on one instance and restored on another, then deleted the source db. My target db did not exist so I did not have to use 'restore redirect'. You might want to drop the target db right before restoring and in this case you don't have to use 'restore redirect'.