Cold backup in RAC envornment.

Hi,
Oracle 10g (10.2.0.1.0) With rac
OS : HP-UX 11i
I want to know in RAC enviornment which files including (datafiles,controlfiles,logfiles,spfile,password file,listner.ora,tnsnames.ora,sqlnet.ora) should be included in cold backup.
Are there any cluster files that should be included in backup?
Thanks.

Actually, I deliberately chose to concentrate on the first and main part of the original question. You obviously think the line about 'Are there any cluster files that should be included' is worth concentrating on. Both approaches are valid, I think, but your choice doesn't mean I "forgot" anything.
If, for example, I was to point out the voting disk on Windows is backed up with ocopy instead of dd, does that mean you "forgot" that fact? If I mention that there are five retained autobackups of the OCR, does the fact that you didn't mention that number mean you "forgot" it? Does the fact that I have just neglected to mention that the five retained backups are from 4, 8 and 12 hours ago plus 1 day and 1 week ago mean that I forgot those details?
No: we all choose to structure and filter our comments as we see fit. One can add to and enhance someone else's comments without presuming to know the mind and intent of their author and passing judgement accordingly.
For the record, I chose not to mention voting disks and OCR backups because the voting disk never needs backing up, but can be simply re-created and the OCR as you mention is automatically backed up frequently and a simple OS backup, suitably configured, can make sure those autobackup files are transferred somewhere safe (i.e., onto tape) without me having to schedule additional backups using ocrconfig.
I accept your preferences will be different, but those happen to be mine.

Similar Messages

  • Restore from cold backup (rac server)

    Hi All,
    Oracle version : 10g
    OS : SunOS dixie1 5.10 Generic_118855-36 i86pc i386 i86pc
    I am having cold backup of RAC server (2 nodes), I want to restore from cold backup.
    The problem is that : when i performed the cold backup using rman at that time Oracle was having 3 ASM diskgroups.But unforunately that disk is no more in use due to some fault.
    Now my question is how can i restore from the cold backup as when i'll restore from the cold backup this will ask for the same ASM diskgroups.Even more if i creates the same diskgroup with the same name and same configuration then my doubt is that rman will allow me to restore the same from the cold backup as ASM disk header changed now ?
    Thanks,
    Vipin

    VipinK wrote:
    Hi All,
    Oracle version : 10g
    OS : SunOS dixie1 5.10 Generic_118855-36 i86pc i386 i86pc
    I am having cold backup of RAC server (2 nodes), I want to restore from cold backup.
    The problem is that : when i performed the cold backup using rman at that time Oracle was having 3 ASM diskgroups.But unforunately that disk is no more in use due to some fault.
    Now my question is how can i restore from the cold backup as when i'll restore from the cold backup this will ask for the same ASM diskgroups.Even more if i creates the same diskgroup with the same name and same configuration then my doubt is that rman will allow me to restore the same from the cold backup as ASM disk header changed now ?
    Yes.You can do these and restore/recover your database.First you need startup your ASM instance then create your ASM disk groups and do following:
    1.Edit pfile and change controlfile location to diskgroup(Consder that +dgr1)
    2.Restore controlfile to this disk group using backup of controlfiles(you say that is cold backup)
    rman target /
    /*Instance  need starting up from pfile*/
    startup nomount ;
    /*then restore controlfile,give full path of controlfile from coldbackup*/
    restore controlfile from 'coldbackup_location\coltrolfile';
    alter database mount;
    catalog start with 'coldbackup_location';
    backup as copy database format  '+dgr1';
    switch database to copy;
    alter database open;

  • Create new db from RAC cold backup

    Hi Team
    i need to copy cold database from one server to another server . and build an new rac database out of that cold backup .. i have done it for singel node instance . but do you know if i have to do something special for RAC instance .. or simply below mention steps are enough to build RAC database out of cold backup
    oracle version is 10.2.0.1
    1. install software and clusterware on new set of machine
    2. copy cold backup on that set of machine
    3.copy spfile and controlfile
    4.open the database up with controlfile,spfile and dbf files
    now i am not sure on one thing if i have to do something special for RAC DB or its like single instance.
    please let me know if this is not clear or you need more info on that
    Regards,
    Devender

    Hi,
    Please check below which could be helpful for your issue
    Migrate Non-RAC(Standalone) to RAC
    Clonimg Standalone Database to RAC Database
    Regard
    Helios

  • Oracle RAC cold backup to a non-RAC DB ...

    We are running a Windows 2003 (SP2) box with Oracle 10g release 2 (10.2.0.3). This was originally configured to be a RAC server (having node1 and node2) but we lost node 2 some how.
    Now we want to create a fresh DB (no RAC just plain DB installation having the same OS and DB version as given above on the dead node 2) and copy the DB from node1 to node2 with cold backup method.
    My question: will the cold back work in this scenario or we will have to do a EXPDP/IMP thing. I am not too familiar with impdp/expdp so thats is why the plan is to copy the cold backup and bring up the instance.
    Is this possible?

    Thanks.
    So, doing the cold backup is:
    take CONTROL FILES, DATA FILES and REDO LOGFILES copy. Is that it.
    Would someone have a document which provides a script to know what files backup is to be taken and what is thier location in the file system. I know this is a basic question but i am just being careful here.
    thanks,

  • RAC to RAC CLONE FROM RMAN Cold Backup

    Hi All,
    I need your kind assistance in Cloning my Oracle RAC 11.2.0.2 Environment to remote host. Following is Disk layout
    DGVOT (ASM Disk group holding OCR and Voting Disk)
    DGDATA (ASM Disk Group Holding Data FIles)
    DGFRA (ASM Disk Group Holding Fast Recovery FIles)
    Remote Host is on different location so cannot use RMAN duplicate with auxiliary channel.
    Have luxury of downtime so I want to take RMAN Consistent( Cold Backup)
    SAME Disk layout is available to remote hosts.
    11.2.0.2 CLusterware (GI) Plus the oracle binaries are already installed.
    Can any body tell me the steps to
    1) How to take cold backup to disk so that I can tar and copy to remote host
    2) clone the database on remote host
    3) How i will add the database listener and other resources of this databasee to clusterware.
    actually this is my first RAC clone so i am not much aware of detail steps.
    I have gone though many metalink notes but no one is matching with my requirements. your expert advice will help me a lot
    Regards,

    Hi
    1) How to take cold backup to disk so that I can tar and copy to remote host.
    Use Rman for cold backupIn mount stage execute
    RMAN>backup database plus archivelog format '<disk_path>/dbp%U';
    RMAN> backup current controlfile format '<disk_path>/ctl%U';
    Copy thse backup sets to remote host
    2) clone the database on remote host
    Create Similar ASM Disk groups as on source
    create pfile/spifile, startup instance in nomount mode
    catalog backup set
    RMAN> catalog start with '<backup_set location>';
    Restore controlfile
    RMAN>restore controlfile;
    RMAN> restore database;
    RMAN> recover database;
    On successfull recovery
    RMAN>sql 'alter database open';
    3) How i will add the database listener and other resources of this databasee to clusterware.
    User srvctl to add resources
    Usage: srvctl <command> <object> [<options>]
    commands: enable|disable|start|stop|relocate|status|add|remove|modify|getenv|setenv|unsetenv|config|convert|upgrade
    objects: database|instance|service|nodeapps|vip|network|asm|diskgroup|listener|srvpool|server|scan|scan_listener|oc4j|home|filesystem|gns|cvu
    For detailed help on each command and object and its options use:
    srvctl <command> -h or
    srvctl <command> <object> -h
    Thanks,
    Ajay More

  • Rman cold backup for oracle rac

    Hi experts;
    I want to create a cold backup for an oracle 10g rac DB.
    It has 2 nodes, it's not in archive log, this will be the next step.
    But now, I want to backup before to proceed.
    My doubts are:
    I need to shutdown the both nodes?
    If yes:
    I need to startup nomount just in one node?
    If there any document with this specifics steps?
    Thanks for your help.
    Al

    Cold backups are done with the DB completely shut down.
    For RAC the data files are used by all nodes in the cluster.
    You need to shut down all instances in the RAC.
    Then use your OS utilities or RMAN to do the backup.
    Here is an 'Ask Tom' topic that discusses this:
    http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:851658400346232494

  • Stop and start database for cold backup

    Hi,
    Database :Oracle 10g R1
    OS : Red hat 3
    I have a RAC database with 2 nodes.
    I build this script to make a cold backup of the database. (I will put it in the cron tab).
    My question is the SRVCTL will work in this scripts??
    # ***** COLDBACKUP ORACLE DATABASE ON LINUX *****
    DIRECTORY=/u02/backup/script/; export DIRECTORY
    cd ${DIRECTORY}
    # ***** SHUTDOWN THE DATABASE *******
    export oracle_sid=RCDB
    srvctl stop database -d RCDB
    # *****cold backup for "RCDB" database on 13-FEB-07 ... *****
    # ***** COPY FILES *****
    # Redo logs
    cp /u02/oradata/RCDB/redo01.log ${DIRECTORY}
    cp /u02/oradata/RCDB/redo07.log ${DIRECTORY}
    cp /u02/oradata/RCDB/redo03.log ${DIRECTORY}
    cp /u02/oradata/RCDB/redo08.log ${DIRECTORY}
    # Datafiles
    #*********START UP DATABASE AND SERVICES********
    srvctl start database -d RCDB
    exit
    Message was edited by:
    ASkika
    Message was edited by:
    ASkika

    I need to put a quick policy backup ... and cold
    backup it's what I use and it works.And reduces the availability of your cluster.
    The problem about RMAN is that we never use it. I
    have to learn about it to make scripts to test....
    and this will tack me 2 or 3 days...I'd assume that installing RAC didn't go overnight, so why underfund the crucial part of any database system, the backup?
    There's even a step by step guide for backup on the Getting Started: DBAs page.
    Samples (and changes) on the latest version of RMAN can be found for example in RMAN Enhancements.
    Or take a look at this Oracle Magazine article:Faster Backup, Faster Recovery
    Backup and Recovery Basics in the user documentation may also be a good starting point.
    C.

  • Cold Backup/Recovering A Table

    I am running 11r2 in a RAC environment. We have a primary plus two standby's (using Active Data Guard). Also, I am a new DBA, so bare with me. :)
    TableX in a certain database is corrupted. The corruption began a month ago due to a web developer's code change. The code change was fixed a week ago.
    Summary: the data in TableX is corrupted up until a week ago.
    Flashback doesn't extend that far into the past, so what I've been thinking of doing is, on our test server:
    1) Copy over relevant files from production to the test server
    2) Backup the original TableX on production
    3) Restore the system, sysaux, undo and the tablespace which contains TableX on test server
    4) Drop all other tablespaces in mount state (or not, if this step isn't necessary?)
    5) Recover the database till the time when the table was dropped or updated
    6) Take an export of TableX from database and import it into production, overwriting the current TableX
    7) Update the imported production TableX with the past week of "good" data from the backup in step 2
    I have 3 questions.
    Does this seem like a good strategy?
    Additionally, I am having difficulty determining what the "relevant files" are in step 1. What would I be copying over? Everything in the ArchiveLog folder? Or Everything in the db_recovery_file_dest folder? Or...?
    Lastly, in step 3, is there a way to perform the restore w/o overwriting preexisting data on the test server?
    Thank you

    Hemant K Chitale wrote:
    is there a way to perform the restore w/o overwriting preexisting data on the test serverYou would have to restore to a different folder and when you ALTER DATABASE MOUNT you ALTER DATABASE RENAME DATAFILE to specify the new locations of the datafiles.
    I think the MOUNT is the step that I was missing, though it seems so obvious now...
    1) Copy over relevant files from production to the test server
    2) Backup the original TableX on production
    *2.5) MOUNT the copied data files onto the test server*
    3) Restore the system, sysaux, undo and the tablespace which contains TableX on test server
    4) Drop all other tablespaces in mount state (or not, if this step isn't necessary?)
    5) Recover the database till the time when the table was dropped or updated
    6) Take an export of TableX from database and import it into production, overwriting the current TableX
    7) Update the imported production TableX with the past week of "good" data from the backup in step 2
    Last Question (I think): you both refer to "THE cold backup." We use a diff backup. I assume you mean "copy over all files since the last full backup prior to the date that data corruption began"?

  • How to take cold  backup

    hi,
    i have database oracle 10 g rac on aix machine , my datbafiles r on SAN storage,
    now i want to take cold backup of my database so tell me how to do it step by step while i cannot c the datafiles thoes r on san.
    thxs

    neeraj19 wrote:
    hi,
    i have database oracle 10 g rac on aix machine , my datbafiles r on SAN storage,
    now i want to take cold backup of my database so tell me how to do it step by step while i cannot c the datafiles thoes r on san.
    thxs"while i cannot c the datafiles thoes r on san"
    I guess that must some shorthand for "I cannot see the datafiles, those are on san."
    If so, what does being on san have to do with being able to see the files?
    In any event the answer to any question about "how do I backup" is the same .... RMAN.

  • Backup In RAC

    Hi,
    I am working in oracle 10g RAC. i want to have a small clarification.
    i know, how to take hot and cold backup in oracle 9i and 10g, if the same procedure will work for RAC envoriement.
    thanks tell me.
    senthil

    This may be of help: http://www.databasejournal.com/features/oracle/article.php/3665211

  • How to recover a cold backup (Oracle 9i)

    Hello,
    We got the following situation, one of our clients wants to switch from Oracle 9i to Microsoft SQL Server 2008.
    Our client is located in Singapore and we operate in Belgium, they have sent us an external HD with a media/cold backup of their database.
    We also got both the database name and the passwords for the database.
    In order to get this database available I have taken the following steps:
    1)Created an Virtual Machine with Windows XP SP3,
    2)Installed Oracle 9i on this VM,
    3)Created a database using the database name and passwords given by the client.
    Now I want to recover our clients database, how do I do this.
    I know there texts about it, but I need a step for step guide to do this (that's the way I learn by seeing how its done and then reproduce it)
    Thanks for any response

    After some calls and putting pressure on our client IT I've been able to find out that there either using 11 or 10g.
    Also found out that the name they gave me is not the name they use
    So I followed the instructions on [http://download.oracle.com/docs/cd/B10501_01/server.920/a96521/create.htm#1000691] , I did find some mistakes in the page
    I got the following create database statement
    CREATE DATABASE dbname
    USER SYS IDENTIFIED BY pz6r58
    USER SYSTEM IDENTIFIED BY y1tz5p
    LOGFILE GROUP 1 ('D:\dbname\redo01.log') SIZE 100M,
    GROUP 2 ('D:\dbname\redo02.log') SIZE 100M,
    GROUP 3 ('D:\dbname\redo03.log') SIZE 100M
    MAXLOGFILES 5
    MAXLOGMEMBERS 5
    MAXLOGHISTORY 1
    MAXDATAFILES 100
    MAXINSTANCES 1
    CHARACTER SET US7ASCII
    DATAFILE 'D:\dbname\system01.dbf' SIZE 700M REUSE
    EXTENT MANAGEMENT LOCAL
    DEFAULT TEMPORARY TABLESPACE tempts1
    TEMPFILE D:\dbname\temp01.dbf' *(The documentation said datafile instead of tempfile)*
    SIZE 270M REUSE
    SYSAUX DATAFILE 'D:\dbname\sysaux01.dbf' size 700M reuse
    UNDO TABLESPACE undotbs
    DATAFILE 'D:\dbname\undotbs01.dbf'
    SIZE 3984M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED;
    after executing
    ORA-01501: CREATE DATABASE failed
    ORA-00200: controlfile could not be created
    ORA-00202: controlfile: 'D:\dbname\control01.ctl'
    ORA-27038: file exists
    OSD-04010: <create> option specified, file already exist
    So what did I do wrong, altough I'm guessing I copied the original files to early
    [code="sql"]DATAFILE 'D:\dbname\system01.dbf' SIZE 700M REUSE
    Although I did use reuse
    I shutdown the database and removed the files to and replaced them with the files from the client,
    Mounted the database succesfully and tried to query the metadata
    Mixing the information found on
    Creating an Oracle Database,
    Oracle Recovery Procedure
    Got ORA-01219, which is logical since the databse isn't open yet.
    I open the database using alter database open
    ORA-01157: cannot identify data file 1 - file not found
    ORA-01110: data file 1: '/home/oracle/product/10.1.0/oradata/orcl/system01.dbf'
    So any ideas want went wrong this time
    Edited by: Resender on 19-mei-2011 1:00

  • 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

  • 11.5.10.2 Cold Backup

    Helo all my friend;
    I am soo new in backup thing,thatswhy i need ur help.I wanna take cold backup of my 11.5.10.2 system. But i dont know how i have to do it.I read some documents in here but its not so clear.
    I know if i want to take cold backup then i have to close APPS service,database and listener and then i will do what? Which folder i have to copy for cold backup?(eg:All my apps and database directory or just APPL_TOP's folder or $ORACLE_HOME's folders etc..)
    If anyone explain cold backup in 11.5.10.2 step by step it would be great ... I am waiting ur answers..
    Thanks
    helios

    Hi my friend i found something like in
    "how we backup a database forms"
    "Please have a look at the following links for a similar discussion:
    System Backup
    http://forums.oracle.com/forums/thread.jspa?messageID=1674975
    Apps Backup
    http://forums.oracle.com/forums/thread.jspa?messageID=1622999
    Backup Oracle Applications (11.5.10.2)
    http://forums.oracle.com/forums/thread.jspa?messageID=1765123
    Best Backup Strategy
    http://forums.oracle.com/forums/thread.jspa?messageID=1972656
    how to clone with rapid clone utilityNote: 230672.1 - Cloning Oracle Applications Release 11i with Rapid Clone
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=230672.1 " but its not what i am asking you...
    i was looking my system.Should i copy all my apps and database directory or
    i should copy my $APPS_TOP(by applvis user) and $ORACLE_HOME(by oravis user) ??
    But i checked my dbf file stored in visdata directory if i copy $ORACLE_HOME its mean i wont copy visdata directory and its makes me confused here...
    Plz help
    thanks

  • Enterprise Manager Configin a new host after recovery from cold backup

    Dear friends ,
    we have recovered a DB in new host(windows) from the cold backup.
    Listener is configured and EM is also configured .
    I am able to login through the EM . In the front page i get an error like
    java.lang.exception:unknownhost exception sensding request ::<hostname>.<domain>
    Please Note :The hostname from which we have taken backup(operation system) is different from the new host name where have recovered the DB.
    Also when i clicked the link for administration page or performance page
    i was taken to the login page which was showing as follows
    user name:
    password:
    Connect String : <old host name>.<domain name>
    Now i dont know where is parameter of old host details are stored and how it has to be replaced.
    Please reply if anyone can have the solution .
    Thanks in advance
    Madhu

    Please Note :The hostname from which we have taken backup(operation system) is different from the new host name where have recovered the DB
    This is the call for trouble actually.EM repository stores the info of hostname/ipaddress of the machine where it is configured. So any change in that information will not let you use EM.There are couple of files which are there in which this information is stored and if needed, that information can be be manualy edited.But manual editing is not a good way to deal with repository.So the better option for you is to recreate the repository of your EM
    Follow the link for the description of the commands.
    You would have to use
    $emca -deconfig dbcontrol db -repos drop
    $emca -config dbcontrol db -repod createHTH
    Aman....

  • How to do media recovery from cold backup?????????/

    Hi
    i take cold backup of my 9i database ....
    in case my database is up .....
    how will i recover my database if i lose a single database file and i want to recover it from cold backup......
    Thanks in advance
    Gagan

    Here you go
    These are the steps:
    1. Restore the lost file from a backup.
    2. If the database is down, mount it.
         SVRMGR> STARTUP MOUNT PFILE=<location_of_pfile>;
    3. Issue the following query:
    SVRMGR> SELECT V1.GROUP#, MEMBER, SEQUENCE#,
    FIRST_CHANGE#
    FROM V$LOG V1, V$LOGFILE V2
    WHERE V1.GROUP# = V2.GROUP# ;
    This will list all your online redolog files and their respective
    sequence and first change numbers.
    4. If the database is in NOARCHIVELOG mode, issue the query:
         SVRMGR> SELECT FILE#, CHANGE# FROM V$RECOVER_FILE;
    If the CHANGE# is GREATER than the minimum FIRST_CHANGE# of your logs,
    the datafile can be recovered. Just keep in mind that all the logs to
    applied will be online logs, and move on to step 5.
    If the CHANGE# is LESS than the minimum FIRST_CHANGE# of your logs, the
    file cannot be recovered. Your options at this point would be to restore
    the most recent full backup (and thus lose all changes to the database
    since) or recreate the tablespace as explained in scenario a.
    5. Recover the datafile:
    SVRMGR> RECOVER DATAFILE '<full_path_file_name>'
    6. Confirm each of the logs that you are prompted for until you receive the
    message "Media recovery complete". If you are prompted for a non-existing
    archived log, Oracle probably needs one or more of the online logs to
    proceed with the recovery. Compare the sequence number referenced in the
    ORA-280 message with the sequence numbers of your online logs. Then enter
    the full path name of one of the members of the redo group whose sequence
    number matches the one you are being asked for. Keep entering online logs
    as requested until you receive the message "Media recovery complete"
    7. If the database is at mount point, open it.

Maybe you are looking for