Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2004
    Posts
    23

    Unanswered: 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 ?

  2. #2
    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?

  3. #3
    Join Date
    Jan 2004
    Posts
    23
    (1) DB2 6.1 UDB, Win NT 4.0

    (2) I've not used replace clause

  4. #4
    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

  5. #5
    Join Date
    Mar 2003
    Posts
    343
    Alternatively, cleanup the filesystems where the containers exist and then run the restore.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •