If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > db2 restore

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-08-06, 14:28
sosdb sosdb is offline
Registered User
 
Join Date: Jan 2005
Posts: 13
db2 restore

Hi...
My server is an AIX 5.2 , on this server i have installed DB2 8.2 , i have one instance DBADM and one db DBONE , i need to restore another DB(name is DBTWO ) into the same instace ( DBADM ).....
I tryed with this command :

restore db DBTWO into DBNEW without rolling forwad .

After when i try to connect to new it's ok , but when i try with the DBONE ( the one existent ) i receive message that the alis DBONE dosn't exist !!

Plse help it' s very important ......

Wich is the correct steps for have two databse into the same instance??
and wich are the correct command ????
Reply With Quote
  #2 (permalink)  
Old 06-09-06, 07:57
przytula przytula is offline
Registered User
 
Join Date: Nov 2004
Posts: 374
restore

should have worked. any db can be restored in existing instance as long as filesystems for containers to restore exist (otherwise redirected restore)
do : list db directory -- and see if db is listed
otherwise do : catalog db dbone on /xx/yy -- where it was created
__________________
Best Regards, Guy Przytula
DB2/ORA/SQL Services
DB2 DBA & Advanced DBA Certified
DB2 Dprop Certified
http://users.skynet.be/przytula/dbss.html
Reply With Quote
  #3 (permalink)  
Old 06-11-06, 10:06
sosdb sosdb is offline
Registered User
 
Join Date: Jan 2005
Posts: 13
i tried with redirect command but i receive the following error message when at the end type command " b2 restore db DBTWO continue "

1) b2 restore db DBONE into DBTWO redirect without rolling forward
2)SQL1277N Restore has detected that one or more table space containers are
inaccessible, or has set their state to 'storage must be defined'.
DB20000I The RESTORE DATABASE command completed successfully.
3)b2 "set tablespace container for 0 using (path '/pathname ')"
4) step 4 for all tablespace and SYSTOOLSPAC-SYSTOOLSTMPSPACE
5)db2 restore db DBONE continue
6)SQL1651N The request cannot be executed because the DB2 server version does
not support this functionality.




My DB2 version is : DB2 v8.1.1.104

Tnks !
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On