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 > container is in use - backup - restore problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-26-04, 12:42
Darsh Darsh is offline
Registered User
 
Join Date: Jan 2004
Posts: 23
container is in use - backup - restore problem

I'm trying to restore DB2 database to the existing database.

Getting error as "Container is in use"

What could be the problem ?
Reply With Quote
  #2 (permalink)  
Old 01-26-04, 13:02
cchattoraj cchattoraj is offline
Registered User
 
Join Date: Mar 2003
Posts: 343
a] You haven't mentioned version, level and platform

b] Since you are restoring to an existing database, have you used the replace existing clause?
Reply With Quote
  #3 (permalink)  
Old 01-26-04, 14:19
Darsh Darsh is offline
Registered User
 
Join Date: Jan 2004
Posts: 23
(1) DB2 6.1 UDB, Win NT 4.0

(2) I've not used replace clause
Reply With Quote
  #4 (permalink)  
Old 01-27-04, 02:21
nitingm nitingm is offline
Registered User
 
Join Date: Jul 2003
Location: Austin, TX, USA
Posts: 278
Restore issue

Hi Darsh,

The error basically occurs when you have containers which are already defined as your database exists. Thus it is not able to restore the backup image, this usually occurs when you are in the offline backup mode.

What I suggest is you take a new backup of the database to a new location, drop the database and restore it from the image you wish to.

HTH

Nitin.
__________________
HTH

Nitin

Ask the experienced rather than the learned
Reply With Quote
  #5 (permalink)  
Old 01-27-04, 10:49
cchattoraj cchattoraj is offline
Registered User
 
Join Date: Mar 2003
Posts: 343
Alternatively, cleanup the filesystems where the containers exist and then run the restore.
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