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

Similar Messages

  • 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

  • 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

  • Build standby database using cold backup on a different file system & host

    Hi gurus,
    The database version is 11.2.0.3. OS is HP UX Itanium 11.31
    I am building a standby database using cold backup of primary. The primary mount points are (/p003/oracle, /p004/oracle) on HOST1 and the standby file system on HOST2 are (/s003/oracle,/s004/oracle). I am not using Data Guard to apply logs as we have a script that mounts the log location periodically to standby server and apply the logs to make it current. I am using cold backup as the database is small like 200G and can be taken down. Could someone help me with the steps to build standby using cold backup for a different file location in standby ?? My concern is I can copy the data files from /p003 to /s003. How will I build the controlfile ?
    If it was same File system on both HOST 1 and HOST2 I can copy the cold backup to the standby server, build a standby control file on primary and copy and replace the standby control file and everything was set.
    Thanks
    Cherrish Vaidiyan

    Hello;
    I have a note on this using a cold copy of the current files instead of a copy backup :
    http://www.visi.com/~mseberg/data_guard_on_oracle_10_step_by_step.html
    I will post SCP SQL in a moment.
    Best Regards
    mseberg
    set heading off
    set feedback off
    set pagesize 100
    set linesize 400
    select 'scp '||a.name ||' server_name:' || a.name as newname from v$datafile a;
    select 'scp '||a.name ||' server_name:' || a.name as newname from v$controlfile a;
    select 'scp '||a.member ||' server_name:' || a.member as newname from v$logfile a;Edited by: mseberg on May 25, 2013 10:35 AM

  • Upgrade 10.2 to 11.2 manualy using cold backup copy on new server.

    Hi,
    I am going to manually upgrade my databases to 11.2 from 10.2. I will use cold backup of 10.2 and copy in to the new server Red Hat Linux 5.
    I got a Note (742108.1) done for upto 10.2.0.5 and it tells to set
    orapwd file=$oracle_HOME/dbs/orapw<SID>
    But my upgrade path is 10.2 to 11.2 and i would like to verify whether i need to do the same before startup in upgrade mode?? Nothing mention regarding this in Upgrade Guideline. Just telling only to copy password file to $oracle_HOME/dbs/
    if so how i set it ? i mean in $ prompt or SQL Prompt?

    I have 10 databases in one server and 2 seperate servers. I will do 3 changes mainly 32 bit to 64 bit, Suse Linux 9 to red Hat Linux 5 and 10.2.0.4 to 11.2.0.1
    So best path to do all at once is cold backup and i verified it from oracle Support as well. because 32 bit o 64 bit conversion will automatically happend when upgrade.
    My databses are nearly 300GB each and not much big . use for datawarehouse.

  • Recover database using cold backup

    Hi All,
    One of the table is delete by one of our DBA from PROD accidentally. We have a cold backup on one day before.
    Now we are trying to restore it from the cold backup. PROD DB is in archivelog and all the archive is in tact.
    The table got truncated today at 8 PM. Can we apply the database till 8 PM so that we can restore the truncated table using cold backup.
    Please find the below steps which we are using to restore.
    creating controlfile
    starting the db in mount state
    recover database;
    Will it ask for latest archive log when we try to recover it.
    ENV details -
    DB - 11.2.0.1
    Please suggest.
    Thanks

    Hi,
    If you have doubts about the procedure to use to restore a backup to a point in time, then please take a look at the documentation first: Performing Flashback and Database Point-in-Time Recovery - 11g Release 2 (11.2)
    After you specify the time when the recovery must end (UNTIL clause in rman), then the RECOVER command will try to use the archivelogs needed.
    Before starting with this PITR operation, you should check if your database has flashback active, because it will be much easier to recover using it.
    This is also explained on the same document linked above.
    Regards.
    Nelson

  • Plz provide me some documents on how to clone a database using cold backup

    Dear All,
    Please provide me some documents on how to clone a database using cold backup which is in archive log.
    Also, please can you provide me the document to install Oracle 9.2.0.6 on Aix 5L
    Thanks,
    Mahipal

    Please provide me some documents on how to clone a database using cold >backup which is in archive loghttp://www.oracle-base.com/articles/9i/DuplicateDatabaseUsingRMAN9i.php
    please can you provide me the document to install Oracle 9.2.0.6 on Aix 5L
    Oracle9i Installation Guide
    Release 2 (9.2.0.1.0) for UNIX Systems: AIX-Based Systems, Compaq Tru64 UNIX, HP 9000 Series HP-UX, Linux Intel, and Sun Solaris -
    http://download.oracle.com/docs/html/A96167_01/toc.htm

  • 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

  • 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

  • Create a standby controlfile using cold backup

    Hi All,
    We have to setup a DR for a production database.
    Here we have the coldbackup which backups all the datafiles and the control file from the production database.
    For cloining we generally copy them to another instance and then create controlfile manually. But for setting up as a DR , we would be creating it for standby controlfile.
    I tried to google but I am not able to find a way to create a standby controlfile from the existing controlfile cold backup.
    OS version solaris 10 , database version 11.2.0.1
    Regards
    KK
    Edited by: Kk on Feb 16, 2012 8:51 AM

    Kk wrote:
    Hi All,
    We have to setup a DR for a production database.
    Here we have the coldbackup which backups all the datafiles and the control file from the production database.
    For cloining we generally copy them to another instance and then create controlfile manually. But for setting up as a DR , we would be creating it for standby controlfile.
    I tried to google but I am not able to find a way to create a standby controlfile from the existing controlfile cold backup.
    OS version solaris 10 , database version 11.2.0.1
    Regards
    KK
    Edited by: Kk on Feb 16, 2012 8:51 AMTry as below
    My version:
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    SQL>1) Taken backup of current controlfile
    2) Deleted Current controlfiles
    3) Restored using standby clause from current controlfile
    4) Mounted & now controlfile type is Standby
    Try in this way when you have cold backup. :)
    SQL> select controlfile_type from v$database;
    CONTROL
    CURRENT
    RMAN> run
    2> {
    3> allocate channel ch1 device type disk format 'c:\oracle\control%U.bkp';
    4> backup current controlfile;
    5> release channel ch1;
    6> }
    using target database control file instead of recovery catalog
    allocated channel: ch1
    channel ch1: SID=63 device type=DISK
    Starting backup at 16-FEB-12
    channel ch1: starting full datafile backup set
    channel ch1: specifying datafile(s) in backup set
    including current control file in backup set
    channel ch1: starting piece 1 at 16-FEB-12
    channel ch1: finished piece 1 at 16-FEB-12
    piece handle=C:\ORACLE\CONTROL08N3GEA6_1_1.BKP tag=TAG20120216T230334 comment=NONE
    channel ch1: backup set complete, elapsed time: 00:00:01
    Finished backup at 16-FEB-12
    released channel: ch1
    RMAN> exit
    RMAN> restore standby controlfile from 'C:\ORACLE\CONTROL08N3GEA6_1_1.BKP';
    Starting restore at 16-FEB-12
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=66 device type=DISK
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:03
    output file name=C:\ORACLE\ORADATA\ORCL\CONTROL01.CTL
    output file name=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\CONTROL02.CTL
    Finished restore at 16-FEB-12
    SQL> alter database mount;
    Database altered.
    SQL> select controlfile_type from v$database;
    CONTROL
    STANDBY
    SQL>
    Some More information:-
    Even if your database backup is old, still you can create a new standby controlfile and restore new controlfile and restore database. Later after starting MRP all will be synchronized. No issues
    SQL> select controlfile_type from v$database;
    CONTROL
    CURRENT
    SQL> alter database create standby controlfile as 'c:\oracle\control_stby.ctl';
    Database altered.
    SQL> $dir c:\oracle\con*
    Volume in drive C is System
    Volume Serial Number is 1853-3E21
    Directory of c:\oracle
    02/16/2012  11:41 PM         9,748,480 CONTROL_STBY.CTL
                   1 File(s)     19,546,112 bytes
                   0 Dir(s)  177,185,570,816 bytes free
    SQL>Now Just restore database. You already have backup.
    Or
    If you have opportunity you can go ahead for Duplicate/Duplicate from active database
    Edited by: CKPT on Feb 16, 2012 11:41 PM

  • Recover a database using cold backup

    Hi,
    I am working in oracle 9i and solaris 5.8. I am taking coldbackup and its stored in another solaris server. I need to create a new database in the backup server using the cold backup files.
    Please explain me in detail how to create a database using the files.
    SQL QUERY needed.
    Gobi.

    Hi,
    go through below link
    Re: Help! How to migrant my whole DBXE to another computer???!!!!!
    hope this helps
    Taj

  • Recover datafile using cold backup in archivelog mode

    Hi,
    I have lost one of my datafiles i.e New.dbf from the disk. I have full database cold backup of last sunday. Also I have the archives. Is it possible to restore and recover only the lost datafile? Please help.

    If you used RMAN to create the backup, then use RMAN again to restore that one datafile alone (RESTORE DATAFILE n) and then recover it (RECOVER DATAFILE n).
    If you didn't use RMAN but you are sure that the backup was a COLD Backup, manually restore the datafile and then issue a RECOVER DATAFILE n from the SQLPlus command.
    In either case you must ensure that the datafile is OFFLINE before you restore the file -- or take it OFFLINE with ALTER DATABASE DATAFILE n OFFLINE IMMEDIATE before doing the restore.
    After the RECOVER is completed, you must bring it ONLINE with an ALTER DATABASE DATAFILE n ONLINE
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

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

  • 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

  • Using Cold Backup for a 42GB database

    I plan to have a Cold backup for a 42GB db (v 8.1.6). Since it's size is quite large, i am not sure how to back it up quicker.
    I did a trial copy for a 3GB file, it took almost 9 hours to finish.
    Please help!!!
    Thanks a lot :)
    Tracey

    I did a trial copy for a 3GB file, it took almost 9 hours to finish.Wouaw, what is your network ?
    You can copy the files in local, restart db, and move files on an other drive trough network, like this, the service is not down for a long time.
    Nicolas.

Maybe you are looking for