Cold backup vs cold cloning

Can anyone tell me the major difference between cold backup and cold cloning?
Thanks
Raj

908291 wrote:
Can anyone tell me the major difference between cold backup and cold cloning?
There is no comparison of difference, since they are different thing.
Cold Backup is a safe copy of existing database dismounted (i.e offline mode). The RMAN generated a new file which is read/write only by RMAN, also RMAN can generate a copy of database files on specific location.
Cloud Cloning is a duplication of existing database with was backed up in offline mode. The RMAN restore database files which is read/write by a Instance.

Similar Messages

  • 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

  • Database cloning using cold backup

    Hello Guys,
    I am doing cloning of a database from cold backup for testing, actully one datafile has been croupted, so my issue is that, can i exclude tht datafile from controlfile when creating the controlfile and is that poosible that controlfile will created sucessfully and database will open sucessfully.
    Please reply.
    Thanks

    @asif, @ckpt
    With humble, how all you know that corrupted datafile is not belonging to system and undo tablespace? If this case, then do you think we can restore that corrupted cold-backup ? Sorry, but this is not the way to just start providing help without asking OP :
    1.Current Oracle Version ?
    2.Where he want to restore i.e. restoring platform info Oracle version OS ?
    3.After cold backup how he came to know that one datafile is corrupted ?
    4.When and how datafile became corrupted ?
    5.How he taken cold backup ? Was db running fine just before shut immediate for cold backing ?
    6.What he has done so far to restore the cold backup ?
    7.What error he is getting right now ?
    Here problem is corrupted datafile. So, first let come problem clear from OP, ask all missing question in one go, and then start helping is the right way... (my personal opinion, may be wrong!).
    Regards
    Girish Sharma

  • Database Cloning (Cold Backup) Doubt

    Hi,
    Operating System : Sun Solaris
    Production Database Version : 11.1.0.6.2
    UAT Server Database Version : 11.1.0.7.0
    We have taken the production backup and restored in UAT server. We found that there is a conflict in version.
    Is there any solution to bring the UAT up with the production cold backup.
    Please give some manual steps to bring the UAT (11.1.7) with Production backup (11.1.6)
    I have attached the output for your verification we got so much of error. Please suggest some steps.
    We are doing the cloning manually. We need to bring the UAT database up asap.
    Kindly reply me.
    Thanks all.
    Regards
    Pramodh
    Error
    ~~~
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    Process ID: 28848
    Session ID: 335 Serial number: 5
    SQL> alter database open;
    ERROR:
    ORA-03114: not connected to ORACLE.
    SQL> shutdown immediate
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    SQL> exit
    Alert Log
    ~~~~~
    ORA-00704: bootstrap process failure
    ORA-39700: database must be opened with UPGRADE option
    Error 704 happened during db open, shutting down database
    USER (ospid: 1371): terminating the instance due to error 704
    Instance terminated by USER, pid = 1371
    ORA-1092 signalled during: alter database open...
    ORA-1092 : opiodr aborting process unknown ospid (1371_1)
    Mon Jun 08 12:53:46 2009
    ORA-1092 : opitsk aborting process

    Hi Forstmann,
    Thanks for your reply.
    Can you tell me whether the follwing steps will bring up the database.
    1. Bring up the Production database up in UAT server
    sqlplus "/as sysdba"
    startup mount
    alter database rename file (For datafile and redolog) to change from production location to UAT.(Using this method if any recovery needed done by smon)
    shutdown immediate.
    sqlplus "/as sysdba"
    startup upgrade
    SQL> spool upgrade.log
    SQL> @?/rdbms/admin/catupgrd.sql
    then run the catalog and catproc script.
    OPen the database.
    take the trace file.
    shutdown immediate.
    2. Open the UAT database.
    sqlplus "/as sysdba"
    startup nomount
    run the control reuse script
    open the database.
    Whether this steps will help. Please suggest me.
    Thanks you
    Pramodh

  • How to reduce the cloning time if using cold backup?

    Hi,
    We are using EBS r12 (12.0.6) with database 10.2.0.3 in Linux Redhat 4 32-bit envoirnment.
    Our datbase size is around 480 GB and we are facing the issues to provide the clone to my consultants for meet the target timelines in given time.
    (Source:)---- Production Dell R900 Server machine having 32-GB RAM and 8 Quard Core CPU's.
    (Target:)---- Clone Dell 2950 Server machine having 16-GB RAM and 4-Quard Core CPU's.
    Currectly we are taking cold backup like:
    1: Auto shutdown EBS r12 database nighthy at 12:00 AM daily and compress the backup using tar utility in linux. This process takes 6:00 hours aprox:
    2: After that we move compressed file to clone machine and then uncompressed it, and this process takes 5:00 hours aprox.
    3: And performe standard cloning steps.
    Questions:
    1: How to reduce time of this backup process?
    3: Is there any other way to reduce the cloning process.
    2: What type of backup oracle recommended to their customers for this type of process?
    Thanks.

    1: How to reduce time of this backup process?Without using third party tools, it might be hard to tune the timing of compressing/uncompressing the file.
    Have you tried to use scp command? This would help if your network throughput is acceptable.
    3: Is there any other way to reduce the cloning process.Since the main issue you have with the copy, then you might copy the files remotely from the source to the target, or using any other storage/backup tools (like file system snapshot).
    2: What type of backup oracle recommended to their customers for this type of process?Oracle does not recommend any type of backup as the tools used are not Oracle products.
    Thanks,
    Hussein

  • 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 --

  • Cold Backup Cloning Cloning

    Hello All ,
    I am new to the DBA activities..,kindly help me with the cold backup cloning.
    We have a backup of PROD(cold bkp) taken 2 weeks before.
    After the backup was taken we have dropped a tablespace(with 4 dbfs) as per the customer requirement.
    And also we have created a new tablespace (with 1 dbf).
    So the cold backup does not include the new dbfs created which is needed,and it does include the dropped dbfs which are not needed.
    Now we are going to do a clone on to the TEST with the above cold backup,Could anybody please help me how to proceed..?
    Thanks in advance...
    Thanks,
    Chan.

    My thoughts were :
    If the test and prod hosts are identical:
    1. restore the cold backup to test.
    2. Copy over all archive logs created since to the archive log destination.
    3. Use a new cold backup of current production controlfiles to overwrite those restored to test, or if prod has to stay up , use RMAN to create a backup of the controlfile & spfile from production that you then restore using rman on test (with DB started nomount & DBID set).
    4. Open test 'mount' , recover database, then open resetlogs.
    Or am I forgetting something?
    I vaguely remember that there's something about changes to DB structure (additional Tablespaces and files) and control files thus other posts refering to 'alter database create file' ...
    Regards,
    Vin.
    PS. You might just be better of creating a new Rman compressed backupset database backup and restoring that.

  • Cloning Using Cold Backups !!!!

    Dear All,
    Greetings,
    I Want To Ask What Are All The Files And Directories That I Need To Copy From The Original Server To The Destination To Perform A Cloning From Cold Backups ?
    The Second Thing, Can You Plz, Tell Me The Complete Steps To Perform This Cloning .
    Plz, It's Urgent
    Thank You .
    Guivara

    Hi Guivara,
    Sabar given urls that would be useful for your requirement.
    Generally for cold backups
    We need to take the below's from your original server.
    Control Files,
    Redo log files,
    all Data files
    After restore those files into your destination, you should edit/modify the original server files to destination server path.
    For example,
    System.dbf is located on /u01/oracle/product/9iR2/oradata/' but in destination server you want to put other location, then you should change the path using
    Alter database rename .....
    Cheers,
    Moorthy.GS

  • DB cloning using cold backup

    Hi,
    I have a database cold backup. Need to open the database in a new server with that cold backup by applying the production archives on it. How to force fully apply the archives on it.????
    Regards,
    007

    Hi;
    Yes you can apply archivelog to your system.Please see
    Cold backup and Archived Logs
    Cold backup and Archived Logs
    Also see:
    http://www.dbasupport.com/forums/showthread.php?t=57932
    Regard
    Helios

  • 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

  • Cold backup downtime using RMAN

    Over the weekend I performed a cold RMAN backup on a 3.6 TB
    database. Because a lot of the database was backed up with
    transportable tablespaces, the net amount being backed up was
    approximately 365 Gb. I took down the database at 11:00 and the
    script finished at 4am, but in reviewing the logs, the database
    actually appears to have been opened at 2am.
    I assumed that the database would be down the entirety of the
    backup. Can anyone help me understand why the database was
    opened so long before the RMAN command completed? Was the
    backup adversely affected in any way by a user obtaining access
    prior to the RMAN process completing.
    Any information greatly appreciated.

    unfortunately i think you misunderstood the original question. i took the database down to do the cold backup. in order to use rman, you have to startup nomount the instance.
    the script run was:
    #!/usr/bin/ksh
    rman msglog '/data2/oracle2/local/log/rman_lvl0.log' <<EOF
    @connect.rman
    run {
    backup incremental level 0 tag full_bkup0 database diskratio=0;
    alter database open;
    exit;
    EOF
    exit
    the "alter database open" tells RMAN to open the database once the backup is completed. i had a process running that checked each 10 seconds to see if the PID for the RMAN process was still running. The process itself appears to have run for an additional 2 hours after the database was opened.
    there is nothing on the system to suggest that the database was opened by anything other than RMAN. was the database opened prematurely? was the additional time spent in the RMAN script doing the sync in the database? did the usage by the user prior to RMAN completing invalidate the backup? (so far the cloning is still running without error).

  • After the test DB created using cold backup..things to do..

    Dear All,
    I had done Physical cold backup cloning to create the test DB using Production DB.
    After that ,Is anything need to do before give to the application team?
    For say,
    index recreation,
    index re-build,
    valid the invalid objects
    Please help me and input your suggestions.
    Thanks in Advance,
    Regards,
    DB.

    All objects should be fine – no need to rebuild/recompile anything.
    If tables in the production DB contain references to production HTMLs, production server names, production usernames/passwords, etc, they need to be changed or deleted. The DB password should be changed.
    If the production DB has DB links to other production DBs, those DB links have to be redefined.
    If any of the data in the production DB should not be visible to the developers, it should be masked.
    Iordan Iotzov

  • 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

  • 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 Restore using RMAN COLD Backup!!

    Hi All,
    I Need to restore a database using rman cold backup taken a month back.
    Can i use Duplicate database option until time/scn just like we do for hotbackup or is there any other procedure for cloning/refreshing the database using RMAN COLD BACKUP of source.
    Thanks & Regards,
    Pdev

    This may be used to clone db
    connect target sys/sys@<dba>
    connect catalog rman/rman@<dba>
    connect auxiliary sys/sys<new>
    run {
    set newname for datafile 1 to 'e:\oracle\oradata\giri\system01.dbf';
    set newname for datafile 2 to 'e:\oracle\oradata\giri\undotbs01.dbf';
    set newname for datafile 3 to 'e:\oracle\oradata\giri\users01.dbf';
    set newname for datafile 4 to 'e:\oracle\oradata\giri\indx01.dbf';
    set newname for datafile 5 to 'e:\oracle\oradata\giri\example01.dbf';
    allocate auxiliary channel dupdb1 type disk;
    set until sequence 2 thread 1;
    duplicate target database to dupdb
    logfile
    GROUP 1 ('e:\oracle\oradata\giri\redo01.log') SIZE 100k REUSE,
    GROUP 2 ('e:\oracle\oradata\giri\redo02.log') SIZE 100k REUSE;
    Message was edited by:
    Girishh

Maybe you are looking for