Hot Backup cloning vs Cold Backup CLoning

Hi,
when we do cold backu cloning...we get same data as production database..
when we do hot backup cloning..i think we will loose current transactions which are recorded in redo log and not archived ....am i right?????
when we do hot backup cloning....all the database files headers are freezed..means...all latest changes are not copied while we copying datafiles to test machine...but those changes are logged in archived log files...we will get these changes in archived log files...
am i right?????
please correct me if i am wrong.....

When all is said and done there is really no difference in the clone database made from a cold backup or a hot backup as both are point in time recoveries.
In the case of the cold backup the source database was made unavailable to users while the backup was taken. If you have that luxary then that is fine, but many sites would need or want to keep the source available while the backup runs.
The backup type should not be an issue unless you really need to capture the source database with the data in a specific known state where no changes were taking place.
IMHO -- Mark D Powell --

Similar Messages

  • Hot backup cloning in ebs r12

    HI i was doing the hot backup cloning in ebsr12.
    i have backed up the control files and datafiles and the trace file also.
    i have done the steps till copying the db and apps tier.
    next is
    2) Create the target database control file manually
    Open the backed up control file
    a. remove all lines before the startup nomount statement
    b. Modify the REUSE to SET
    c. Modify Source DB SID to Target SID (Here PROD to TEST)
    d. Modify NORESETLOGS TO RESETLOGS
    e. delete all lines after the CHARACTER SET statement
    i am not sure about editing the control file ....
    I am a started in db's
    can anyone help me in this?

    HI i was doing the hot backup cloning in ebsr12.
    i have backed up the control files and datafiles and the trace file also.
    i have done the steps till copying the db and apps tier.Looks like you are doing cold backup and not hot backup! Was the database cleanly shutdown before copying the database files?
    a. remove all lines before the startup nomount statementCorrect -- Or you could leave those lines if they are commented.
    b. Modify the REUSE to SETCorrect.
    c. Modify Source DB SID to Target SID (Here PROD to TEST)Correct.
    d. Modify NORESETLOGS TO RESETLOGSCorrect.
    You will also have to change ARCHIVELOG to NOARCHIVELOG -- If your source instance is in ARCHIVELOG mode.
    e. delete all lines after the CHARACTER SET statementKeep the lines/command that open the database and create the temporary tablespace.
    Thanks,
    Hussein

  • Unique Error while doing hot backup Cloning!

    Dear All,
    I am using EBS 11.5.10.2 with DB 9.2.0.6.
    I am doing hot backup cloning by referring *[Cloning Oracle Application 11i /R12 with Rapid Clone - Database (9i/10g/11g) Using Hot Backup on Open Database|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=760772.1]*
    I am facing a unique issue, when I run adcfgclone.pl dbconfig <my_context_file>, application of my Production Server start misbehaving and it gives me an error:
    Node Id does not exist for the current application server id.When I check the FND_NODE table I found that there server id was empty in it.
    I have to run than run the following steps as the resolution:
    1. Shutdown all the services.
    2. EXEC FND_CONC_CLONE.SETUP_CLEAN;
    3. COMMIT;
    4. Run AutoConfig on all tiers, firstly on the DB tier and then the APPS tiers,to repopulate the required system tables.
    5.start all the services and verify the issue.
    Than application behaves normally.
    Is there any additional step to be followed while Hot Backup Cloning other than mentioned in the above mentioned ML Doc?
    Please suggest,
    Anchorage :)

    I am facing a unique issue, when I run adcfgclone.pl dbconfig <my_context_file>, application of my Production Server start misbehaving and it gives me an error:
    Node Id does not exist for the current application server id.Where did you get this error?
    This is very strange, how come this happens in Production, when you are doing cloning in TEST/DEV instance.
    Is there any additional step to be followed while Hot Backup Cloning other than mentioned in the above mentioned ML Doc?I feel there are no other additional steps, as I Recently did successfully hotbackup cloning using the same document.

  • RMAN & Hot backup cloning taking long time

    Dear DBAs,
    We are doing both RMAN & Hot backup cloning foe that taking more time to restore data files to TEST instance. scp taking too much time to copy to target server because of its volume of data (1.5 TB) & Mounting the RMAN backups drive on test server and restoring from that drive taking more than 8 hours.
    I heard that some companies are using some device to move heavy volume Hot backup copy from source to dest faster for clone the instance easily with in minutes. What is that device name to take hot backup copies from source and restore it in target server.
    Test server Specs
    Processor 8 cores with 32GB Memory.
    Thanks
    DBA

    Hot backup is not recommanded for the database size more than 1T.
    RMAN backup and restore is the only opiton available for a DBA.
    Other option is to use EMC Symmentrix/BCV's/Snapshots. EMC uses pair of disks to achive synch the produciton data with test server. read more about EMC symmentrix or ask your storage team.

  • RMAN hot backup cloning problem..need a way out

    I took hot backup from server A using RMAN
    I prepared server A by running preclone on apps and db tier
    I copied apps tier and dbTier(tech_st) from server A to server B..Apps and db tier were up and running during the copy.I also copied the RMAN backup sets
    now on server B, what should i do..RMAN backup is in backup sets and i need to restore it on server B(Target server)
    I am following note 406982.1 for cloning steps..
    in advanced clonign options, it doesnt specify to run adcfgclone on apps tier too
    please guide
    help appreciated

    Hi,
    The document assumes that you are aware of the RMAN backup, and you know how to duplicate the database.
    Oracle Database Documentation
    http://www.oracle.com/technology/documentation/database.html
    Search this forum for "RMAN Duplicate" there are many documents referenced as this topic was discussed many times before.
    Regards,
    Hussein

  • RAC Cloning using hot backup

    Hi,
    can somebody help me with the steps for cloning 2 node to 2 node RAC, using hot backup.
    Thx.

    Actually, the procedure to clone a RAC database do not differ substantially from those of a single-instance database.
    You can perform your cloning as if it is a single instance database and once you have your single instance up, you just have to add another instance - and the high level steps would be:
    1) Preparing the init.ora file for the second instance.
    2) Adding the redo logs for thread 2;
    3) Updating the OCR
    HTH
    Thanks
    -Chandra Pabba

  • Hot Backup Cloning

    Hi Hussein and Fadi,
    Do you have any experience on doin Hot Backup Cloning of Oracle Apps 11.5.10.2.
    Can you please share your experience

    the issue here is in the database part
    i use the following steps
    -run preclone
    -Copy the Application tier file system (same as normal cloning)
    -Copy the Database tier file system
    here i put all the tablspace in backup mode
    alter tablespace tablesacpe_name begin backup;
    -Copy the data files
    When finish the copy we have to execute the following sql statement on the source database:
    -Put the database back in normal mode.
    Alter tablespace tablesacpe_name end backup;
    ALTER SYSTEM ARCHIVE LOG CURRENT;
    -Copy Archive logs
    after that you can start working in the target env. for the database you have to
    -fix init.ora to reflect new paths and new sid
    -start the database nomount.
    -create control file manual.
    -alter database mount.
    -recover the database.
    hope that helped
    fadi

  • Difference betwen RMAN,COLD and HOT backup

    Hi Experts,
    I have faces some interview question .
    what is difference between COLD and HOT backup ?
    what is difference between RMAN, COLD and HOT backup?

    You mean the following,
    Mark the beginning of the online tablespace backup.
    SQL> ALTER TABLESPACE users BEGIN BACKUP;
    Back up the online datafiles of the online tablespace with operating system commands. For UNIX:
    % cp /oracle/oradata/trgt/users01.dbf /d2/users01_'date "+%m_%d_%y"'.dbf
    After backing up the datafiles of the online tablespace, run the SQL statement ALTER TABLESPACE with the END BACKUP option.
    SQL> ALTER TABLESPACE users END BACKUP;
    Please visit here for more details:
    Making User-Managed Backups of Online Read/Write Tablespaces
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/osbackup004.htm#sthref1489
    Adith

  • Clone from hot backup failing with ORA-19870, 19505 unable to find backup

    Ok, the steps I am taking worked previously, the only thing that I know changed was the underlying file system and I am perplexed but then again I am not the most experienced dba so please forgive if I miss something obvious.
    My steps are: create backup using:
    backup database tag= tagname format '/archive/stage/DBNAME/%U';
    backup archivelog all format '/archive/stage/DBNAME/%U';
    backup current controlfile '/archive/stage/DBNAME/%U';
    Then on the new server, I copy the files over to the new server and:
    connect target username@prod
    connect auxillary
    set until time
    duplicate target database to "PRODSBX"
    etc...
    The problem is the duplicate is not looking at my '/archive/stage/DBNAME' directory for the backup. It's looking in the normal backup directory on that prod box that it can't connect to... can anyone give me clues as to what I should be looking at to figure out why? I looked at file permissions in case it couldn't access this directory, I looked at id, group etc... and I am not seeing anything. These exact same scripts worked before... the only thing I have edited is the set until time so I just can't figure out why it's not going to the /archive/stage.
    Any light shed in my general direction would be greatly appreciated.
    Thanks!
    Va.

    I have no way to copy the output of the files as this is on a closed network. If there is any particular information you are looking for I'd be happy to post it.
    The restore is looking for the default backup location as specified in my rman configuration but in my backup script, I specify a different location that I do the hot backup to. The first time it took this location and successfully cloned to the new server and now it seems to be ignoring it. I am not sure why, any suggestions in what I should look at, if this is a possible configuration issue on my clone server or on my primary?
    Thanks,
    Va.

  • Metalink Ids for hot backup clonning

    Hi i want to perform hot backup clonning in R12 single node to single node and single node to multi node,
    Please tell me the metalink ids

    Hi,
    Please see these docs.
    Cloning Oracle Application 11i /R12 with Rapid Clone - Database (9i/10g/11g) Using Hot Backup on Open Database [ID 760772.1
    Cloning E-Business Suite Using Hot Backup for Minimal Downtime of Source Environment. [ID 362473.1]
    Rapid Clone Documentation Resources, Release 11i and 12 [ID 799735.1]
    RMAN Guides
    http://www.oracle.com/pls/db112/homepage
    Thanks,
    Hussein

  • Error while running adcfgclone on apps tier.....(hot backup)

    hi i'm performing hot backup cloning & when i run adcfgclone on apps tier....it is getting failed.here is my logfile.......single node....
    Started ApplyAppsTier at Tue Dec 14 14:42:09 GMT+05:30 2010
    Version:
    ApplyAppsTier.java : 120.4
    # Calling ApplyAppsTechStack...
    Executing runInstallDriver...
    Started unzipping files...
    Completed runInstallDriver.
    Executing home registration for s_weboh_oh...
    Registration Driver not available
    /clonehot/apps/apps/tech_st/10.1.3/appsutil/driver/regclone.drv
    Using default registration.
    copying /clonehot/apps/apps/tech_st/10.1.3//jlib/ojmisc.jar into jdk/jre/lib
    checking - /clonehot/apps/apps/tech_st/10.1.3//oraInst.loc
    checking - /etc/oraInst.loc
    Validating oraInst.loc - /etc/oraInst.loc
    oraInst.loc (/etc/oraInst.loc) points to directory without permissions: /u01/app/oracle/oraInventory
    checking - /clonehot/apps/inst/apps/PROD_apps/admin/oraInst.loc
    Validating oraInst.loc - /clonehot/apps/inst/apps/PROD_apps/admin/oraInst.loc
    Found oraInst.loc at - /clonehot/apps/inst/apps/PROD_apps/admin/oraInst.loc
    The given ORACLE_HOME_NAME : WEBOH_PROD
    This ORACLE_HOME_NAME is not registered in the inventory
    running OUI CLI home cloning:
    /clonehot/apps/apps/tech_st/10.1.3/oui/bin/runInstaller -clone -silent -force -waitForCompletion -invPtrLoc /clonehot/apps/inst/apps/PROD_apps/admin/oraInst.loc session:ORACLE_HOME=/clonehot/apps/apps/tech_st/10.1.3/ oracle.as.j2ee.top:s_asInstanceName=WEBOH_PROD oracle.as.j2ee.top:s_adminName=oc4jadmin oracle.as.j2ee.top:s_adminPassword=welcome ORACLE_HOME_NAME=WEBOH_PROD
    Executing command sh -c "/clonehot/apps/apps/tech_st/10.1.3/oui/bin/runInstaller -clone -silent -force -waitForCompletion -invPtrLoc /clonehot/apps/inst/apps/PROD_apps/admin/oraInst.loc session:ORACLE_HOME=/clonehot/apps/apps/tech_st/10.1.3/ oracle.as.j2ee.top:s_asInstanceName=WEBOH_PROD oracle.as.j2ee.top:s_adminName=oc4jadmin oracle.as.j2ee.top:s_adminPassword=welcome ORACLE_HOME_NAME=WEBOH_PROD ; echo ERRORCODE = $? ERRORCODE_END" Tue Dec 14 14:42:10 GMT+05:30 2010
    Command returned
    ERRORCODE = 127 ERRORCODE_END
    .end std out.
    /bin/sh: /clonehot/apps/apps/tech_st/10.1.3/oui/bin/runInstaller: No such file or directory
    .end err out.
    Command sh -c "/clonehot/apps/apps/tech_st/10.1.3/oui/bin/runInstaller -clone -silent -force -waitForCompletion -invPtrLoc /clonehot/apps/inst/apps/PROD_apps/admin/oraInst.loc session:ORACLE_HOME=/clonehot/apps/apps/tech_st/10.1.3/ oracle.as.j2ee.top:s_asInstanceName=WEBOH_PROD oracle.as.j2ee.top:s_adminName=oc4jadmin oracle.as.j2ee.top:s_adminPassword=welcome ORACLE_HOME_NAME=WEBOH_PROD ; echo ERRORCODE = $? ERRORCODE_END" failed. Tue Dec 14 14:42:10 GMT+05:30 2010
    OUI CLI cloning failed.
    Please look in to the latest OUI log file located in the central inventory /clonehot/apps/inst/apps/PROD_apps/admin/oraInventory/logs/cloneActions_<timestamp> for more details
    Attempting to restore /clonehot/apps/apps/tech_st/10.1.3/oui/oraparam.ini.ouibak to /clonehot/apps/apps/tech_st/10.1.3/oui/oraparam.ini
    Edited by: vandana on Dec 14, 2010 1:16 AM

    Hi,
    oraInst.loc (/etc/oraInst.loc) points to directory without permissions: /u01/app/oracle/oraInventoryPlease make sure that applmgr user has read/write/execute permission on the oraInventory directory.
    Please look in to the latest OUI log file located in the central inventory /clonehot/apps/inst/apps/PROD_apps/admin/oraInventory/logs/cloneActions_<timestamp> for more detailsAny details about the error in this log file?
    Thanks,
    Hussein

  • Hot Backups - Oracle 9i, 10g and 11g

    Are all hot backups run outside of RMAN as an OS file copy? If so, isn't this a very risky exercise.
    I understand that RMAN will check for corruption where as hot backups won't. RMAN can also track backups in a recovery catalog.
    If using a hot backup, it seems like corrupt data could be backed up with the good data.
    What exactly are the advantages of using a hot backup. It is understood that the databases can be up during a hot backup, but can't they also be up with an incremental RMAN backup?

    I think you need to read the documentation again. Check on tahiti.oracle.com
    A cold backup is when the database is shutdown (can be done by file copy or rman)
    A hot backup is when the database is running (can be done by file copy or rman)
    RMAN has the advantages of backing up at block level, and going directly to tape, and compression, and incremental backup, and block checking, and backup from ASM, and catalog ......
    File copy has the advantage of being logically simple (e.g you can see exactly what is happening when you copy a file).

  • Hot Backup for oracle database?

    Dear all,
    I want to change Cold Backup to Hot Backup. Does anyone how to do Hot Backup and has some simple document I can follow? If the database is running in ARCHIVELOG mode, is the size grow very fast or other effect will overcome?
    Please advice,
    Amy

    I want to change Cold Backup to Hot Backup. Does
    anyone how to do Hot Backup and has some simple
    document I can follow?online/hot backup don’t need to shutdown the database we can put the database in backup mode and then start taking backup even though users database activity read/write data going on. This strategy useful if ours database goes for 24x7.
    For online/hot backup the database should be in archive mode.
    I hope you know how to turn on archive.Before turning on check the archive on or not.
    SQL> archive log list
    Database log mode              Archive Mode
    Automatic archival             Enabled
    Archive destination            USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence     1
    Next log sequence to archive   2
    Current log sequence           2
    SQL> you may also check it by connecting to database as sys
    SQL> select log_mode from v$database;
    LOG_MODE
    ARCHIVELOG
    SQL> if yours database is not in archive mode then first enable archive,please before turning on the archive take cold backup.
    SQL>shutdown immediate
    SQL>startup mount
    SQL>alter database archivelog
    SQL>alter database open;
    SQL> archive log list
    Now you are able to take hot/online backup ,its upto you you use user managed backup and recovery or use RMAN oracle own shipped free tool for backup and recovery ,however my recommendation would goes for RMAN.
    http://download-uk.oracle.com/docs/cd/A97630_01/server.920/a96572/toc.htm
    http://www.oracle.com/technology/deploy/availability/htdocs/rman_overview.htm
    ARCHIVELOG mode, is the size grow very fast or other
    effect will overcome?However, the growing size pace either fast or slow everyday can be impractical it alls depends on activity of yours database operation.You will have to observe it yourself by turning on archive log its vary database to database activity.
    Khurram

  • Schedule Hot backup via OEM

    Hello all,
    We have a realtively small system running Oracle 10G on Windows 2003 O/S. I've scheduled a full offiline (cold) backup of the whole db to run once weekly via OEM. Every night we run a script to do a 'logical' backup by EXPORTing the 2 main schemas in the DB out to .DMP files. However this now may not be enough to satisfy DB recovery requirements.
    Is there an easy way to schedule a 'Hot' backup via OEM, that could replace the EXPORT scripts mentioned above, or would we have to write an RMAN script to do this ?? The requirement is really to allow the database to be updateable whilst any daily backup is running. I realise that the DB needs to be in ARCHIVELOG mode for anything like this to work.
    Any advice would be greatly appreciated.
    Thanks,
    Shaun.

    hi,
    on the OEM main page, click on targets, you should see your databse there. click on the database and then on the maintenance tab.
    from here you can schedule jobs and you have the option to schedule a online rman backup of your database. However, to do an online backup your database needs to have archiving turned on. Is this the case as you currently carry out offline backups which might indicate that archiving is turned off.
    regards
    Alan
    Edited by: alanm on Sep 5, 2008 11:47 AM

  • Why we cannot take hot backup if database is in noarchive log mode

    Hi,
    I am aware that if database is in noarchive log mode, we cannot take hot backups and only cold backup is possible.
    I would like to know the technical reason behind this restriction?
    Thank You
    Sarayu

    Hot backups are fuzzy backups, inconsistent, in other words, since something is always happening in the database.  When you recover, you restore data files and then apply redo to make the transactions consistent.  You can do a complete recovery or recover to a point in time.  So where does the redo come from?  That's what we call archiving redo logs.  When the online redo gets full, it gets archived.
    In the case of an instance crash, the redo is there in the online redo logs, so Oracle can recover automatically.  Anything beyond that, having to do with storage media, is a media recovery, and requires those archived logs.  So unless you have some other way to get your data back, always run in archivelog mode.
    It is really important to understand the concepts.  Please read the docs.
    http://docs.oracle.com/cd/E11882_01/server.112/e25789/cncptdba.htm#CNCPT031
    http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmintro.htm#i1005488
    It may be worth your while to get a third party backup and recovery book too.

Maybe you are looking for

  • Call library node in builded exe - path problem

    Hi! I have builded an EXE with the App. Builder. In my application I use the Call Library Node, and call functions from a DLL. I give the path of the dll with the "Current VI path", than strip the path, and add the DLL-s name. So in the CallLibNode I

  • Wired switch not recognized by Airport Extreme

    I recently found that my wired Linksys 4 port switch quit sending data to my Airport Extreme. The lights that referenced the connections in the back were on steady (all the lights). I tried rebooting the APE and depowering the switch to no avail. I f

  • Multiple Void Checks

    If I select a lot of invoice to pay, B1 print the first check then void the followings checks. I can't use the option to limit the number of invoice per check. There other option or workaround to print only the first check, then create a report with

  • Canon Powershot A720 IS

    Hi. Recently my Canon Powershot A720 IS Digital Camera has been stolen and I really want to replace it before my parents notice. It is about 2 years old, so i know it is an old model but i was wondering if you anyone can help me out Also what would b

  • HT202159 What do I do if there is no resume, and lost HD Space?

    I've already downloaded 3 gig of MOUNTAIN LION.  I had to restart my computer, so, I paused the download. When I came back to restart the download, there was no option to 'restart', only 'download'. There is no 'unfinished download' in the applicatio