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 > restore problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-18-09, 15:53
itsonlyme44 itsonlyme44 is offline
Registered User
 
Join Date: Dec 2007
Posts: 261
restore problem

trying to restore a full offline back of our prod database into a new database on a different system. both instances are DB2 V9.5 on windows

Code:
RESTORE DATABASE PRODDM  FROM "I:\ProdDMBackup\" TO "G:" INTO DUTDM WITH 2 BUFFERS BUFFER 1024 REDIRECT PARALLELISM 1 WITHOUT PROMPTING
SQL1005N The database alias "DUTDM" already exists in either the local
database directory or system database directory.

then i issue the following commands
uncatalog database dutdm;
deactivate DATABASE DUTDM;
DROP DATABASE DUTDM;

and they all come up with the error
"SQL1013N The database alias name or database name "DUTDM" could not be found. SQLSTATE=42705"


help!
Reply With Quote
  #2 (permalink)  
Old 07-20-09, 08:08
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Look at the directory tree of G:. You may have an uncataloged database structure there.

Andy
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