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

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

  • 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

  • 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

  • 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

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

  • Database refresh from cold backup and hotbackup.

    How can we perform Database refresh from cold backup and hotbackup?

    OracleM wrote:
    How can we perform Database refresh from cold backup and hotbackup?I understand that you have Cold/hot backup and you need recover(refresh) this backup?If yes then restore cold/hot backup and
    sqlplus "/as sysdba"
    startup mount;
    recover database using backup controlfile unil cancel;
    /*then apply all available archive logs*/
    alter database open resetlogs;

  • Database Restore from COLD Backup

    Dear all,
    I .m trying to restore a production database from a COLD backup. Before the COLD BAckup, we have take a HOT backup as usual and then shutdown the database to perform the Cold Backup.
    After restirong all the oracle files and arch redo log, i have tried to restart the datbase but it failed with the followgin error message:
    SVRMGR> connect internal
    Connected.
    SVRMGR> startup
    ORACLE instance started.
    Total System Global Area 625729520 bytes
    Fixed Size 69616 bytes
    Variable Size 133795840 bytes
    Database Buffers 491520000 bytes
    Redo Buffers 344064 bytes
    Database mounted.
    ORA-01113: file 1 needs media recovery
    ORA-01110: data file 1: '/usr/oracle/8.1.6/disk1/IF1/system01.dbf'
    SVRMGR> exit
    Server Manager complete.
    root@dbserver#su - oracle
    Sun Microsystems Inc. SunOS 5.8 Generic Patch October 2001
    Then i have recovered but it seems that the Oracle process do not started and here is what i have found in alert log file:
    Errors in file /usr/oracle/8.1.6/admin/IF1/bdump/if1_smon_609.trc:
    ORA-00600: internal error code, arguments: [4194], [52], [52], [], [], [], [], []
    Mon Mar 8 11:42:46 2004
    Recovery of Online Redo Log: Thread 1 Group 1 Seq 29954 Reading mem 0
    Mem# 0 errs 0: /usr/oracle/8.1.6/disk2/IF1/redo1a.rdo
    SMON: terminating instance due to error 600
    Instance terminated by SMON, pid = 609
    WARNING! Recovering data file 1 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 2 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 3 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 4 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 5 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 7 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 8 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 9 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 26 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 27 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 29 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 31 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 34 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 36 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 40 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 43 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 49 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 53 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 54 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 55 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 58 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    Media Recovery Log
    Could someone explain to me what i did wrong?
    Thank you
    ORA-01113
    ORA-01110
    ORA-00600: internal error code, arguments: [4194], [52], [52], [], [], [], [], []

    Please do not confuse between the backup copies you have. Ensure that you have the latest copy whether cold or hot. If you have COLD copy then simply replace all the data files, redo log files, and the control files and start the database it should start. I do not understand your back up strategy because if you have a Hot backup then why do you need a cold backup. Please let me know in what mode your database is running?
    Regards,
    DJ

  • 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

  • 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

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

  • AUXILIARY database update using full backup from target database

    Hi,
    I am now facing the problem with how to implement AUXILIARY database update to be consistent with the target database during a certain period (a week). I did a fully backup on our target database everyday using rman. I know it is possible to use expdp to realize it but i want to use the current fully backup to do it. Does anybody has idea or experience with that? Thanks in advance!
    Regards,
    lik

    That's OK. If you don't use RMAN to clone your database. You can create a database just using the cold backup of the primary database simply.
    Important things are
    1) you must catalog all datafiles as image copy level 0 in the cloned database
    RMAN> connect catalog rman/rman@rcvcat (in host 1)
    RMAN> connect target sys/manager@clonedb (in host 2)
    RMAN> catalog datafilecopy
    '/oracle/oradata/CLONE/datafile/abc.dbf',
    '/oracle/oradata/CLONE/datafile/def.dbf',
    '/oracle/oradata/CLONE/datafile/ghi.dbf'
    level 0 tag 'CLONE';
    2) You need to make incrementals of the primary database to refresh the clone database.Make sure that you need to specify a tag for the incremental and the name of tag is the exactly same as the one used step (1).
    RMAN> connect catalog rman/rman@rcvcat (in host 1)
    RMAN> connect target sys/manager@prod (in host 3)
    RMAN> backup incremental level 1 tag 'CLONE' for recover of copy with tag 'CLONE' database format '/backup/%u';
    3) Copy the newly created incrementals (in host 3) to the clone database site (host 2). Make sure the directory must be exactly same.
    $ rcp /backup/<incr_backup> /backup/
    -- rcp <the loc of a incremental in host 3> <the loc of a incremental in host 2>
    4) Apply incrementals to update the clone database. Make sure you provide the tag you specified.
    RMAN> connect catalog rman/rman@rcvcat
    RMAN> connect target sys/manager@clone
    RMAN> recover copy of database with tag 'CLONE';
    5) After update the clone database, then delete the incremental backups and uncatalog the image copies
    RMAN> delete backup tag 'CLONE';
    RMAN> change copy like '/oracle/oradata/CLONE/datafile/%' uncatalog;
    *** As you can see, you can clone a database using any methods. The key is you have to catalog the clone database when you refresh it. After finishing it, then uncatalog..

  • 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

  • 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

Maybe you are looking for

  • Ports problems with 10g XE

    Hello! I'm using Oracle 10g XE on Windows Server 2003, the installation was successfully realized. The problem is that I can't access to the login page : http://127.0.0.1:8080/apex . I think that the problem come from a port restriction (but I'm not

  • How do i enable office applications for all user accounts on the same machine?

    Hi All, I just purchased a new MBA and Office Hame & Business. Coming from the windows world I thought that one installation of office should be available to all accounts that I set up on the same machine.  I set-up the user accounts then installed o

  • In Transaction code OOSB entries not found

    Hi!   I have been suffer from problem that, in T. code OOSB when i check the entries, then the user name SAP*, Auth. profile ALL, start data and end date maintained, but when i click on Display Objects then the no entries is found. How maintain the e

  • Availability check run requirement in the Sales order Save user Exit.

    Hi Gurus, As per the requirment we are using a user exit SAVE SALE ORDER PREPARE for BOM purpose to reconfirm the confirmation qty. Now we need to add one more logic in the same user exit, which will run the availabilty check run for each of the line

  • At the time of Payment scheduling Bank Account List

    Hi All, As per my client requirement they want at the time of payment scheduling They have to know Bank Account status than they can do the payment scheduling. And they want process for multiple Vender and multiple House Bank. Payment by NEFT/RTGS/Ch