Results 1 to 4 of 4

Thread: restore database

  1. #1
    Join Date
    Nov 2002
    Location
    Chicago
    Posts
    39

    restore database

    Hi,

    I have a full database backup(hot) and I want to restore the database using this backup.

    I shutdown the database then startup mount the database.

    then in rman
    run {
    allocate channel disk1 type disk;
    restore database;
    recover database;
    alter database open;
    }
    and I got
    rman-03002 failure of recover command
    ora-00283 recovery session canceled due to error cannot recover data file 1 -file is in use ...system01.dbf

    Thanks!

    Theresa

  2. #2
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    Do you have the database running?. You have to start the instance in mount mode and run restore.

  3. #3
    Join Date
    Nov 2002
    Location
    Chicago
    Posts
    39
    Yes.

    I did shutdown the database then startup mount the database.

    Thanks!

    Theresa

  4. #4
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    The file lock may not be released on system01.dbf, do you have any tools (such as freeware process explorer www.sysinternals.com) to see what application has it open.

Posting Permissions

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