Test cold backup database in archive mode

Hello,
We doing every week a cold backup from Oracle database, us database is in archive mode.
We would like to test us cold backup in other server but the drive where we have to copy
the datafiles and logs and rollback are different on this server.
In the production server the oracle_home and the oracle_sid:
ORACLE_HOME=E:\oracle\product\10.2.0\db_1
ORACLE_SID=ENCY
and on the other server to test the backup are:
ORACLE_HOME=I:\oracle\product\10.2.0\db_2
ORACLE_SID=ENCY
Can somebody help me saying please the steps that I have to follow to restore the database in other server
to test if the last cold backup is fine?
My understand is copy the files(datafiles, log files, control files, pfile,...) in the new server, when everything is copied into new server,
I have to:
Modify the parameter CONTROL_FILES in the pfile
Mount the database and rename the datafiles and redolog files
Thanks.

user641364 wrote:
Hello,
We doing every week a cold backup from Oracle database, us database is in archive mode.
We would like to test us cold backup in other server but the drive where we have to copy
the datafiles and logs and rollback are different on this server.
In the production server the oracle_home and the oracle_sid:
ORACLE_HOME=E:\oracle\product\10.2.0\db_1
ORACLE_SID=ENCY
and on the other server to test the backup are:
ORACLE_HOME=I:\oracle\product\10.2.0\db_2
ORACLE_SID=ENCYThe only difference between servers is different ORACLE_HOME path?
All other directories are the same?
>
Can somebody help me saying please the steps that I have to follow to restore the database in other server
to test if the last cold backup is fine?
My understand is copy the files(datafiles, log files, control files, pfile,...) in the new server, when everything is copied into new server,
I have to:
Modify the parameter CONTROL_FILES in the pfile
Mount the database and rename the datafiles and redolog filesYou shoud modify and rename only in case if path to datafiles, redologs, controlfiles, dump, archive log directories is different on test server.
If that will be the same, then no need to rename.
If it is different, then modify pfile in order to meet correct one paths.

Similar Messages

  • Cloning 10g Database in archive mode - How add new created archive files

    Deat all
    I want to clone oracle 10g database using hot backup. database in archive mode.
    Database is running user data entry contifue, during hot backup there are aproximatly 3 to 5 new archive log created. Please guide me how add these new created archive log in cloning process.
    Thanks
    Alter system switch logfile;
    SQL> select max(first_change#) scn from v$archived_log;
    SCN
    8592924
    alter tablespace tablespace1 begin backup;
    alter tablespace tablespace2 begin backup;
    alter tablespace tablespace3 begin backup;
    alter tablespace tablespace1 end backup;
    alter tablespace tablespace2 end backup;
    alter tablespace tablespace3 end backup;
    select name from v$archived_log where first_change# >= 8592924 order by name
    NAME
    F:\ARCHIVELOGS\ARC00390_0664080689.001
    F:\ARCHIVELOGS\ARC00391_0664080689.001
    F:\ARCHIVELOGS\ARC00392_0664080689.001
    create pfile='init<new database sid>.ora' from spfile;
    alter database backup controlfile to trace as '/home/oracle/cr_<new sid>.sql'
    STARTUP NOMOUNT
    CREATE CONTROLFILE SET DATABASE "ORCL" RESETLOGS FORCE LOGGING NOARCHIVELOG
    MAXLOGFILES 50
    MAXLOGMEMBERS 5
    MAXDATAFILES 100
    MAXINSTANCES 1
    MAXLOGHISTORY 453
    LOGFILE
    GROUP 1 'E:\oracle/oradata/dg9a/redo01.log' SIZE 100M,
    DATAFILE
    Edited by: Naeem Sheeraz on Nov 15, 2008 12:54 PM

    When you attempt to startup the cloned database on the new server you will find that it needs recovery -- because it was taken in hot backup mode.
    That is why you need to copy the archivelogs that are generated from the first archivelog after the first "alter tablespace begin backup" to the first archivelog after the last "alter tablespace end backup".
    I see that you are also including a CREATE CONTROLFILE script.
    You would run that at the cloned environment.
    Then you would issue the RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL command to make the clone consistent.
    You can, of course, use the same method to copy these archivelogs as you use to copy database files -- tar, cpio, tape, etc.

  • CONFIGURE DATABASE  IN ARCHIVE MODE

    Hai
    I am just trying to change the database to archive mode.As part of this I need to set the parameter LOG_ARCHIVE_START to TRUE in the init.ora file.But I am not able to find this parameter in the init.ora file(any of the archive parameter for that matter).Please advise where can I find and set LOG_ARCHIVE_START parameter.
    Thanks
    Jay

    LOG_ARCHIVE_DEST
    Parameter type
    String
    Syntax
    LOG_ARCHIVE_DEST = filespec
    Default value
    Null
    Parameter class
    Dynamic: ALTER SYSTEM
    Range of values
    Any valid path or device name, except raw partitions
    Real Application Clusters
    Multiple instances can have different values.
    Note:
    For Enterprise Edition users, this parameter has been deprecated in favor of the LOG_ARCHIVE_DEST_n parameters. If Oracle Enterprise Edition is not installed or it is installed, but you have not specified any LOG_ARCHIVE_DEST_n parameters, this parameter is valid.
    LOG_ARCHIVE_DEST is applicable only if you are running the database in ARCHIVELOG mode or are recovering a database from archived redo logs. LOG_ARCHIVE_DEST is incompatible with the LOG_ARCHIVE_DEST_n parameters, and must be defined as the null string ("") or (' ') when any LOG_ARCHIVE_DEST_n parameter has a value other than a null string. Use a text string to specify the default location and root of the disk file or tape device when archiving redo log files. (Archiving to tape is not supported on all operating systems.) The value cannot be a raw partition.
    If LOG_ARCHIVE_DEST is not explicitly defined and all the LOG_ARCHIVE_DEST_n parameters have null string values, LOG_ARCHIVE_DEST is set to an operating system-specific default value on instance startup.
    To override the destination that this parameter specifies, either specify a different destination for manual archiving or use the SQL*Plus statement ARCHIVE LOG START filespec for automatic archiving, where filespec is the new archive destination. To permanently change the destination, use the statement ALTER SYSTEM SET LOG_ARCHIVE_DEST = filespec, where filespec is the new archive destination.
    Neither LOG_ARCHIVE_DEST nor LOG_ARCHIVE_FORMAT have to be complete file or directory specifiers themselves; they only need to form a valid file path after the variables are substituted into LOG_ARCHIVE_FORMAT and the two parameters are concatenated together.
    See Also:
    Oracle9i User-Managed Backup and Recovery Guide
    "LOG_ARCHIVE_DUPLEX_DEST", "LOG_ARCHIVE_MIN_SUCCEED_DEST", and "V$ARCHIVE_DEST" for more information on setting this parameter
    Your Oracle operating system-specific documentation for the default value and for an example of how to specify the destination path or filename using LOG_ARCHIVE_DEST
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96536/ch191.htm#REFRN10085
    Joel Pérez

  • Can't backup database in NOarchivelog mode

    Hi there,
    I get this error when I run this command from rman:
    backup database
    Starting backup at 19-JAN-11
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 01/19/2011 17:18:10
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    please help.
    Thanks in advance!

    user13286861 wrote:
    ok it finally shutdown cleanly.
    I altered it in archivelog mode.
    Now I can run a backup database command from rman?What does it cost to try it and see? What would be the worst thing that could possibly happen? An error message saying you can't do that?
    And please note, this forum is not a chat line. Operators are NOT standing by. Posting a new message every two minutes to give an update on the fact that the database hasn't shut down yet is not necessary and not productive.
    If there are a lot of pending transactions when you issue SHUTDOWN IMMEDIATE, they will all have to be rolled back as part of the shutdown. That can take some time. And if you bypass that with SHUTDOWN ABORT, they will have to be rolled back as part of instance crash recovery on the next startup, which will also take some time. Five minutes may feel like an eternity when you are sitting there waiting for your command to complete, but is no reason to panic.

  • COLD BACKUP DATABASE CLONING with +ASM

    Hi,
    I need some help to clone the database using Cold backup with +ASM. Can somebody help me on this
    Here is the steps we did on Source Database.
    1. Copied all the $ORACLE_HOME from Source to TARGET.
    2. Created pfile from spfile.
    3. Created backup control file on the Source.
    Questions:
    =======
    1. Source has 3 diskgroups, do we need to create new 3 disk groups on the TARGET ?
    2. If we needed 3 new disk groups on TARGET, how can we move all the data from SOURCE diskgroup to TARGET disk group, Do we need to use RMAN?
    Please let me know what else need to do to bring up the TARGET database.
    Thanks
    Dheeru.

    Hi,
    1. Source has 3 diskgroups, do we need to create new 3 disk groups on the TARGET ?Not necessarily.
    2. If we needed 3 new disk groups on TARGET, how can we move all the data from SOURCE diskgroup to TARGET disk group, Do we need to use RMAN? Yes, use RMAN to clone/duplicate the database.
    Rapid Clone Documentation Resources, Release 11i and 12 [ID 799735.1]
    Cloning ASM database using RMAN Duplicate
    http://oracleandme.blogspot.com/2007/08/cloning-e-biz-using-rman-duplicate.html
    Thanks,
    Hussein

  • How to Create new database from cold backup files.

    Dear Experts,
    I have an oracle 10g databae on windows 2003 server.
    The database is in Archive log mode and backup strategy is Taking cold backup ever night.
    Backup steps:
    shut down database.
    copy data files, control files, redo logs, archive logs and parameter files to safe location.
    Startup.
    I have taken a backup at Tuesdaay 1AM and I have archive logs also.
    On Wednesday, I want to Create a new database on another server with the available cold backup files and archive logs. I want to recover the database upto 4PM Wednesday. How can I do this.
    I am not using control file auto backup or control file backup to trace.
    Please help me how can I do this. I am new to oracle database Administration.
    --Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    The steps :
    shut down database.
    copy data files, control files, redo logs, archive logs and parameter files to safe location -- you mean the alternate location for the new databaseare correct (except that I would say "alternate location for the new database").
    If you do not have controlfile backups, you cannot either OPEN the database or RECOVER the database until and unless you CREATE the Controlfiles. You have to generate a CREATE CONTROLFILE script using a BACKUP CONTROLFILE TO TRACE from the Production serer and create the controlfile on the new server.
    BEFORE the Startup, I would use
    RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL;The "using backup controlfile" tells Oracle to continue attempting Recovery -- ie doing a RollForward -- till the last archivelog made available to it.
    For the Recover command, you then keep applying the ArchiveLogs from the Tuesday 1am ColdBackup upto Wednesday 4pm.
    Once you have applied the last ArchiveLog, you do an
    ALTER DATABASE OPEN RESETLOGS;Here are my notes of doing a RollForward "Recovery" from a Cold Backup :
    http://hemantoracledba.blogspot.com/2007/05/rollforward-from-cold-backup.html
    If you are attempting all these steps on a different server from your current Production database, you should be safe.
    Once you OPEN the database, you can use CREATE CONTROLFILE or the NID utility to rename the database.
    If you are attempting to create the new database on the same server there are many other precautions you have to take and unless you have experience with cloning databases, I would advice you against doing so (only the RMAN DUPLICATE DATABASE command has a safer method of cloning a database).
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Restoring archive log after cold backup

    Hello forums users,
    I read many thing on this topic but I didn't find the good answer.
    I performed a cold backup each sunday.
    My database is in ARCHIVE LOG mode.
    Is it possible to restore ARCHIVE LOG files after restoring COLD backup?
    Sunday : cold backup
    Monday : new archive log have been created since cold backup
    Tuesday : same as Monday
    Wednesday : I would like to restore to Monday 22:00 for example
    Can I restore cold backup + apply archive log until Monday 22:00 ?
    Regards,
    Guillaume

    recover database using backup controlfile until cancel|time|logseq|scn
    will do this and prompt you for the archivelogs.
    Known as 'incomplete recovery'
    Hth
    Sybrand Bakker
    Senior Oracle DBA

  • Database give ORA-600 error after cold backup

    HI,
    I have oracle 10g install on linux system. i take cold backup of my database using
    sql> shutdown immediate
    and then copy all files to any other location.
    but when i start my database it gives me error like
    Errors in file /opt/oracle/fina/bdump/fina_smon_4422.trc:
    ORA-00607: Internal error occurred while making a change to a data block
    ORA-00600: internal error code, arguments: [4193], [136], [139], [], [], [], [], []
    Fri Dec  4 15:23:18 2009
    Errors in file /opt/oracle/fina/bdump/fina_smon_4422.trc:
    ORA-00600: internal error code, arguments: [4193], [67], [70], [], [], [], [], []
    Fri Dec  4 15:23:19 2009
    Doing block recovery for file 2 block 1702
    Block recovery from logseq 13, block 3531 to scn 758385
    Fri Dec  4 15:23:19 2009
    Recovery of Online Redo Log: Thread 1 Group 1 Seq 13 Reading mem 0
      Mem# 0 errs 0: /opt/oracle/fina/dbs/redo01.log
    Block recovery completed at rba 13.3532.16, scn 0.758386
    Doing block recovery for file 2 block 153
    Block recovery from logseq 13, block 3531 to scn 758436
    Fri Dec  4 15:23:19 2009
    Recovery of Online Redo Log: Thread 1 Group 1 Seq 13 Reading mem 0
      Mem# 0 errs 0: /opt/oracle/fina/dbs/redo01.log
    Block recovery completed at rba 13.3612.16, scn 0.758437
    Fri Dec  4 15:23:19 2009
    Errors in file /opt/oracle/fina/bdump/fina_smon_4422.trc:
    ORA-00607: Internal error occurred while making a change to a data block
    ORA-00600: internal error code, arguments: [4193], [67], [70], [], [], [], [], []
    Fri Dec  4 15:23:29 2009
    Errors in file /opt/oracle/fina/bdump/fina_smon_4422.trc:
    ORA-00600: internal error code, arguments: [4193], [136], [139], [], [], [], [], []
    Fri Dec  4 15:23:29 2009
    Errors in file /opt/oracle/fina/bdump/fina_pmon_4410.trc:
    ORA-00474: SMON process terminated with error
    Fri Dec  4 15:23:29 2009
    PMON: terminating instance due to error 474
    Instance terminated by PMON, pid = 4410i have seen this happen sometime after cold backup database give errors. is taking cold backup of database is not safe.
    Please suggest.

    Umesh,
    Since it is case of Ora 600, for which only last solution is oracle support, but i would like to mention that your are getting ORA-00600: internal error code, arguments: [4193].... So, this 4193 is cause to read following links too:
    http://www.orafaq.com/forum/t/47048/2/ and. see Metalink note 153788.1 and 39282.1.
    Regards
    Girish Sharma

  • Backup method in Noarchive mode

    Hi All,
    I have one question regarding backup methods. I have my all database in Oracle11gR2 in Noarchive mode. I want to define some backup method but no idea which one is preferable in noarchive mode. Cold backup is again not possible. can I take tablespace/datafile backup ? Is there any other option which I can perform in Noarchive mode or temporarily put the database in Archive and perform the backup?
    Please guide me.
    Thanks...

    user12115 wrote:
    Hi All,
    First of all thanks for your reply and suggestions. I have not lost the interest but reading and thinking on all your suggestion.
    About expdp yes I think this is the only option I was thinking before post a question here. but as we know this is should not consider as a backup.
    For Archive mode - this is R&D database and we have disk space issue if we can not put database in Archive mode.
    For COld backup - again not possible because single database uses in different time zone so DB should be up and running almost all the time.I think the operative word there is "almost". How big is the database? How long does it take to shut it down, back it up, and bring it back up? Unless the database is really big (why would an r&d database be really big, unless r&d was specific to VLDB) you should be able to do the job during the guy's lunch break. Even for an r&d database, you might be able to justify noarchivelog, but you will really feel the pain if you get a physically corrupted database and all you have is an export.
    >
    The only one option which I am not aware is what about John speicified. John can you please suggest or forward me some link with some backup example for more details. this is really helpful to me. From your suggested link I understand this is possible but after put the database in suspend mode how do I copy the Tablespace/datafiles - just simple Linux cp command or some other options also?
    Edited by: user12115 on Mar 5, 2013 5:08 AM
    Edited by: user12115 on Mar 5, 2013 5:15 AM

  • Db restore non archive mode lost redo log file..restore from controlfile tr

    i have a db 11g I had taken non archive backup but failed to take redo log files backup...
    so while i restored the db ... after formatting the machine ..the oracle instance wont start.
    I create a controlfile trace but when i run it i get errors.
    since i dont have the older log files.. how do i get around with this issue
    Thanks
    Following is the sample of control file trace ..Note i cannot create the redo log file
    since db wont be mounted at most it shall be in nonmount mode
    and below is my created controlfile ....
    CREATE CONTROLFILE REUSE DATABASE "XE" NORESETLOGS NOARCHIVELOG
    MAXLOGFILES 16
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    MAXINSTANCES 8
    MAXLOGHISTORY 292
    LOGFILE
    GROUP 1
    'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_1_80L7C259_.LOG'
    SIZE 50M BLOCKSIZE 512,
    GROUP 2
    'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_80L7C375_.LOG'
    SIZE 50M BLOCKSIZE 512
    -- STANDBY LOGFILE
    DATAFILE
    'C:\ORACLEXE\APP\ORACLE\ORADATA\XE\SYSTEM.DBF',
    'C:\ORACLEXE\APP\ORACLE\ORADATA\XE\UNDOTBS1.DBF',
    'C:\ORACLEXE\APP\ORACLE\ORADATA\XE\SYSAUX.DBF',
    'C:\ORACLEXE\APP\ORACLE\ORADATA\XE\USERS.DBF'
    CHARACTER SET AL32UTF8
    I dont have these 2 files ..what do i do to get around this situation
    'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_1_80L7C259_.LOG'
    SIZE 50M BLOCKSIZE 512,
    GROUP 2
    'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_80L7C375_.LOG'
    SIZE 50M BLOCKSIZE 512
    -- STANDBY LOGFILE
    DATAFILE
    Edited by: zycoz100 on Feb 27, 2013 10:57 PM

    If you have a cold backup (database shutdown properly) without the redo logs, change this :
    CREATE CONTROLFILE REUSE DATABASE "XE" NORESETLOGS NOARCHIVELOGto
    CREATE CONTROLFILE REUSE DATABASE "XE" RESETLOGS NOARCHIVELOGYou have to change the NORESETLOGS to RESETLOGS for Oracle to recreate the online redo logs.
    Hemant K Chitale

  • How can I amke a full cold backup

    Hi, I would like to make a full cold backup in command line mode and then recover it.How caI proceed?
    Backup sets or image copy?
    I have tried this but it didn't work, I made it after a normal dbstart.
    connected to target database: ISCREAM (DBID=3415054131)
    RMAN> backup incremental level 0
    2> as compressed backupset database;
    Starting backup at 26.04.06
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=145 devtype=DISK
    channel ORA_DISK_1: starting compressed incremental level 0 datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00002 name=/home/oracle/oradata/iscream/undotbs01.dbf
    input datafile fno=00001 name=/home/oracle/oradata/iscream/system01.dbf
    input datafile fno=00003 name=/home/oracle/oradata/iscream/sysaux01.dbf
    input datafile fno=00005 name=/home/oracle/oradata/iscream/example01.dbf
    input datafile fno=00004 name=/home/oracle/oradata/iscream/users01.dbf
    input datafile fno=00006 name=/home/oracle/oradata/iscream/tools.dbf
    channel ORA_DISK_1: starting piece 1 at 26.04.06
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 04/26/2006 10:22:33
    ORA-19809: limit exceeded for recovery files
    ORA-19804: cannot reclaim 52428800 bytes disk space from 5242880000 limit

    You did fill up flash recovery area :
    $ oerr ora 19809
    19809, 00000, "limit exceeded for recovery files"
    //*Cause: The limit for recovery files specified by the
    //        DB_RECOVERY_FILE_DEST_SIZE was exceeded.
    //*Action:The error is accompanied by 19804. See message 19804 for further
    //        details.
    $ oerr ora 19804
    19804, 00000, "cannot reclaim %s bytes disk space from %s limit"
    // *Cause: Oracle cannot reclaim disk space of specified bytes from the
    //         DB_RECOVERY_FILE_DEST_SIZE limit.
    // *Action: There are five possible solutions:
    //          1) Take frequent backup of recovery area using RMAN.
    //          2) Consider changing RMAN retention policy.
    //          3) Consider changing RMAN archivelog deletion policy.
    //          4) Add disk space and increase DB_RECOVERY_FILE_DEST_SIZE.
    //          5) Delete files from recovery area using RMAN.
    $

  • Recovery in archive mode, but no archived logs

    Hi,
    I hope someone can help me with the following question.
    I have a 9.2 database in archive mode. Suppose on t=t0 I make an online backup. At the end of this run, I will do an "alter system switch logfile" statement to capture the latest transactions (more or less also at t=t0). Later, at t=t1 we do some transaction and more archived redologs are created. At t-t2 I need to restore the complete database, but I have LOST all the archive files as from t=t0. Now the question is, is it still possible to recover (even it means to go back to t=t0)? I have tried it, but always the system suggests to apply the (missing) archived redo's, and it seems I cannot escape this. But, Is it possible to get back to t=t0?
    Thanks a lot, for any clue or pointer !

    If you take a hot backup and you lose the redo logs, you have a fundamentally inconsistent backup. Each tablespace will be internally consistent, but they probably won't have the same SCN as the control files, so you'll get this message.
    Do you have an earlier hot backup and the archived logs that would restore that backup to the point in time (t=0) where you took the latest hot backup? Personally, I generally like to keep at least 2 or 3 old backups, with archived log files, just in case something goes wrong with the most recent backup.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • User managed coldbkp vs rman cold backup

    Hi,
    I confused about rman cold backup in no catalog mode while restore the backup.please anyone clarify it.
    1,I am not confused about user manged cold backup.I took the backup (spfile,control file,redo file,datafile,password file.)Is it right one?
    2,In rman cold backup in no catalog mod, we used backup sets for backup,control file is autobackup is enabled.
    The backup set format is not OS format.The backup stored at flash recovery area.
    Just assume,
    I lost all files(spfile,control file,redo file,datafile,password file.)How to recover that.
    I am not able to identity spfile & control file in backupset in flash recovery area.
    How to identity the spfile,control file during the restoration?
    3,Rman takes the copy of online redo file in cold backup?
    If it's not,How to recover the database & in user managed backup,copy of online redo log file is must?
    4,What is the difference between dbid & sid?when it is used?
    5,Can i specifty format for spfile when i take the backup? can i use trace file(control file ) for restoration?
    I read the oracle documents, but I am not understand the above things clearly.please anyone rectify it.

    user3266490 wrote:
    Hi,
    I confused about rman cold backup in no catalog mode while restore the backup.please anyone clarify it.
    1,I am not confused about user manged cold backup.I took the backup (spfile,control file,redo file,datafile,password file.)Is it right one?
    Yes,you are right,but first need SHUTDOWN IMMEDIATE;
    >
    2,In rman cold backup in no catalog mod, we used backup sets for backup,control file is autobackup is enabled.
    The backup set format is not OS format.The backup stored at flash recovery area.
    If you do not explicitly configured rman then yes it will backup to FRA.
    Just assume,
    I lost all files(spfile,control file,redo file,datafile,password file.)How to recover that.
    First need SET (EXPORT) ORACLE_SID and then
    rman target /
    startup force nomount;
    restore spfile from 'autobackuplocation';
    startup force nomount;
    restore controlfile  from 'autobackuplocation';
    catalog start with 'backupandarchiveloglocation';
    restore database;
    recover database;
    alter database open resetlogs;
    I am not able to identity spfile & control file in backupset in flash recovery area.
    From rman you can execute LIST BACKUP or LIST BACKUP OF CONTROLFILE;
    How to identity the spfile,control file during the restoration?
    3,Rman takes the copy of online redo file in cold backup?No,RMAN do not backup online logs,due to this do not need.
    If it's not,How to recover the database & in user managed backup,copy of online redo log file is must?
    If cold backup then you can open database with resetlogs option and online logs will create automatically(if you did not copy this logs)
    >
    4,What is the difference between dbid & sid?when it is used?
    DBID is unique identify database in recovery catalog and using this you can restore controlfile easily.But SID is ORACLE_SID and identify instance.This is environment variable like ORACLE_HOME
    5,Can i specifty format for spfile when i take the backup? can i use trace file(control file ) for restoration?
    Yes you can identify format manually for spfile. ALTER DATABASE BACKUP CONTROLFILE TO TRACE ... this statement use to getting script for recreating controlfile again.So this is not backup and you can notuse for restoring controlfile.If you do not have a backup of controlfile and all datafilesd available then you can use this statement.
    I read the oracle documents, but I am not understand the above things clearly.please anyone rectify it.All these and with all situation clearly explained below doc
    http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/toc.htm

  • Recover a cold backup in another BD.

    Somebody can help me, i have a doubt, Can I Restore the datafiles from a cold backup (DataBase A) in a Database B?

    If you executed the command "alter database backup controlfile to trace" the trace will generated in the "udump" directory. From there you can edit file. REMEMBER- Give the original copy of the backup file (do not move the files). Do a copy.
    Here's a sample if you want recreate the SID name. Noted you have to modify the location if the paths are difference.
    STARTUP NOMOUNT
    CREATE CONTROLFILE REUSE DATABASE "TESTDB" RESETLOGS ARCHIVELOG
    MAXLOGFILES 16
    MAXLOGMEMBERS 5
    MAXDATAFILES 100
    MAXINSTANCES 8
    MAXLOGHISTORY 1168
    LOGFILE
    GROUP 1 '/data/oracle/TESTDB/redo01a.log' SIZE 100M,
    GROUP 2 '/data/oracle/TESTDB/redo02a.log' SIZE 100M,
    GROUP 3 '/data/oracle/TESTDB/redo03a.log' SIZE 100M
    -- STANDBY LOGFILE
    DATAFILE
    '/data/oracle/TESTDB/system01.dbf',
    '/data/oracle/TESTDB/undotbs01.dbf',
    '/data/oracle/TESTDB/sysaux01.dbf',
    '/data/oracle/TESTDB/users01.dbf'
    CHARACTER SET WE8ISO8859P1
    If you want to change the SID the use the command
    CREATE CONTROLFILE SET DATABASE "NEWTEST" RESETLOGS ARCHIVELOG

  • While taking  backup  database

    HI guys
    while i was taking backup database plus archived . i faced missing archived log .
    please provide solution .
    Thanks and regards

    Osama_mustafa wrote:
    906313 wrote:
    HI all ,
    i allocated channel and crosscheck archivelog all;
    rman>show all ;
    configure channel 1 device type disk format '/d01/backup/db.%U';
    run
    crosscheck archivelog all;
    backup database plus archivelog;
    Thanks and Regardsalso you can use this
    run {
    ALLOCATE CHANNEL disk1 DEVICE TYPE DISK FORMAT '/u01/%U';
    crosscheck archivelog all;there are many ways to allocate channels, but none of them address the fact that the OP reports a missing archivelog.

Maybe you are looking for

  • How do I convert from metric to inches in Microsoft Word 2008?

    Hello, I'm trying to create a poster on my Macbook and am using Word 2008. Right now it's in the metric measurement and I want to convert to inches, how do I do this? I've tried the help and searching online and found how to do it on a PC but can't f

  • OTC ssl.conf file does not have ssl wallet file location details

    Hi B2B Gurus, While doing the HTTPS configuration in OTC we observed that some of lines were missing in ssl.conf file located at <Oracle_Home>\Apache\Apache\conf. The below mentioned lines are missing in OTC’s ssl.conf but present in OracleB2B’s ssl.

  • MacBook Pro won't boot from recovery disc

    Hi, I've got an early 1998 15" MacBook Pro that came with Leopard I think, but I've upgraded along the way and was running Mountain Lion when trouble started. A few months ago it started randomly crashing and restarting, then progressed to not starti

  • FlashBuilder fails to quit AIR app before launching new one

    Frequently FlashBuilder fails at quitting a currently running debug application.  Is there any way this could be improved so it could consistently quit the application when launching another debug session? Launch Failed If the program is already runn

  • WiSM - Managing AP's at remote sites

    A quick wireless newbie question - I'm trying to sort out the design details using a WiSM. I have a new site and have budgeted a pair of 6513's with WiSM's. There are 9 branch offices that are going to be connected via 2821 routers over CSME and they