Restore Cold Backup Into Test Database

Hi all.
Here's what I want to do...
Copy TESTDB1 into TESTDB2 just by moving the datafiles across the network.
Which files will I need to move over, etc? (control files and datafiles good enough?)
Any input is appreciated.
Thanks.

I hope I'm not missing anything:
spfile/pfile
pwd file
control files
data files
redo log files
Some of them can be recreated but why bother if you can copy the full DB when is down. I'm assuming you have the same directory structure.

Similar Messages

  • Partition Restore Cold Backup Different System and Different Version DB

    Is it possible, can we restore the cold backup at different database version and different operating system(but same ENDIAN_FORMAT) ????????
    My original system HP-UX (64-bit) and database version 10.2.0.3.0 i have cold backup and i want to partion restore on Linux Redhot 5.5 (64-bit), database version 10.1.0.4.0 .
    If it is possible. How can i do this.

    My original system HP-UX (64-bit) and database version 10.2.0.3.0 i have cold backup and i want to partion restore on Linux Redhot 5.5 (64-bit), database version 10.1.0.4.0 .1. AFAIK you can not do it i mean wiht cold backup move from HP to linux
    2. You can try to use exp-imp if you want to change db version.
    See below notes:
    Master Note For Oracle Database Upgrades and Migrations [ID 1152016.1]
    Different Upgrade Methods For Upgrading Your Database [ID 419550.1]
    Regard
    Helios

  • Restore cold backup without resetlogs option

    Hi,
    im using oracle 10.2.0 , i'm migrating database to SAN, how can i restore cold backup with noresetlogs.

    Hi pawan,
    steps i will follow are as follows:
    1. take backup of controlfile with noresetlogs.
    SQL> database backup controlfile to trace noresetlogs;
    2. Shut down the database, take cold backup(datafiles,redologfiles).
    3. recreate the controlfile.
    4. the open the database with noresetlogs
    are the steps fine or need any changes.

  • How to restore cold backups on other server

    Hi all
    On Oracle9i production server, we have windows scheduled job to take the cold backups every day night. The size of the database is 2GB.
    Now, the cold backup consists of
    - Database files & Log files
    - Parameter file
    - Control file.
    I am required to check the validity of the cold backup we have. So, I need to restore the database in another server.
    So, please provide me the steps I need to do to restore the database.
    Thanks.

    See Chapter 3 "Performing User-Managed Restore Operations" of the
    "Oracle9i User-Managed Backup and Recovery Guide Release 2 (9.2)" (Part Number A96572-01)
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96572/osrestore.htm#26029
    Best to start with Chapter 1 "Introduction ..."
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96572/intro.htm#431510
    and Chapter 2 "Making User-Managed Backups"
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96572/osbackups.htm#10000
    If you are on Windows note that besides installing the sofwtare you must also create the Oracle Service before you restore a database backp to another server.
    See Chapter 6 "Backing Up and Recovering Database Files" in the Oracle Database Administrator's Guide for Windows
    http://download.oracle.com/docs/cd/B10501_01/win.920/a95491/backup.htm#1004903

  • TS4036 I have been restoring the backup into a new iphone for a week. My pictures do not get restored however. Is there anything I can do?

    I have been restoring the backup into a new iphone for a week. My pictures do not get restored however. Is there anything I can do?

    Not unless the phone was backed up to the icloud or in iTunes at some point. I know you said it's crushed but can it be connected to a computer? If so you can still back it up in iTunes and then when the new phone comes use iTunes to restore that back up on it.

  • TS4036 I have restored a backup into a new iPad but it did not downloaded all my photos. There is a message saying " downloading 515 of 1230" but it never finishes downloading. How can I get all my photod downloadeda.

    I have restored a backup into a new iPad but it did not downloaded all my photos. There is a message saying " downloading 515 of 1230" but it never finishes downloading. How can I get all my photod downloadeda.

    Sorry this solution is late but I just got off of the phone with Apple support and this worked. 
    Open iTunes
    Connect your iPhone and keep it connected during this entire process.
    In the iTunes menu at the very top (File, Edit, View) choose STORE> Sign in and sign into your iTunes account.
    Once this is complete look at the upper right corner of iTunes and you will see an iPhone and Store button, cick STORE.  Now you will be in the iTunes store where you see the advertisements of the various albums, songs etc.  Look on your upper left of the window for your itunes account name and in the black band next to your iTunes account name, you will see a House icon, then Music, Movies, TV Shows etc.
    Make sure the HOUSE icon is selected.
    Stay on this screen in iTunes and on the lower RIGHT, you will see an area that says- QUICK LINKS.  In that area click - Purchased
    After you do this you will be transported to another area of iTunes.  Here there will be a menu across the top- Music, Movies, TV Shows, Apps, Books are the choices. 
    Choose APPS and you will see the apps that you have purchased.  You will also see the apps that didn't download to your phone. 
    Find the apps that didn't download and click the cloud next to their name.  Doing this will download the chosen apps to the computer you are on. 
    Once you have downloaded the apps in question, in the upper right corner click LIBRARY.
    Now you should see the button that says iPhone because your phone is still plugged in.  Click the iPhone button and then click SYNC on the lower right to sync your iPhone.  
    The apps you downloaded will now be on your phone.
    Sorry for the long instructions but this is what works.

  • Restore Oracle Backup into New Oracle Database

    Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
    PL/SQL Release 9.2.0.7.0 - Production
    CORE 9.2.0.7.0 Production
    TNS for HPUX: Version 9.2.0.7.0 - Production
    NLSRTL Version 9.2.0.7.0 - Production
    I need the steps on how to restore a backup taken from November into a new database.
    Can I just create the new controlfile, mount the database and then perform the restore with the tag option?
    All input is appreciated.
    Thanks

    Jamie CC wrote:
    Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
    PL/SQL Release 9.2.0.7.0 - Production
    CORE 9.2.0.7.0 Production
    TNS for HPUX: Version 9.2.0.7.0 - Production
    NLSRTL Version 9.2.0.7.0 - Production
    I need the steps on how to restore a backup taken from November into a new database.
    Can I just create the new controlfile, mount the database and then perform the restore with the tag option?
    All input is appreciated.
    ThanksWhen discuss about restoring then there is not think "creating" control file (CF),there is restoring files(like control,data or archive logs).I exactly do not know which operation you did for this restoration but you can not be create CF without restoring data files.If you have COLD backup then you need just create need directories for traces(background,user dumps) and files(control/data/online log) and set environment variable(ORACLE_HOME,ORACLE_SID) then start database using STARTUP PFILE='PFILE_LOCATION',in this case if you want restore datafiles different location then source database then STARTUP MOUNT PFILE='PFILE_LOCATION' and rename files names using ALTER DATABASE RENAME FILE 'OLD_NAME' TO 'NEW_NAME' then open database as ALTER DATABASE OPEN.If you have HOT backup then after restoring database STARTUP MOUNT and need recover it using RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL and apply all available archive logs then you an open database using ALTER DATABASE OPEN RESETLOGS.And Finally if you have RMAN backup(HOT or COLD) then firstly you have to restore spfile from autobackup using RESTORE SPFILE FROM 'AUTOBACKUP_LOCATION'(you need execute this command after STARTUP NOMOUNT) and need again STARTUP FORCE NOMOUNT.After that you have to restore controlfile as same as RESTORE CONTROLFILE FROM 'AUTOBACKUP_LOCATION'.Now you can restore database as RESTORE DATABASE and RECOVER DATABASE then open database with RESETLOGS option.But remember that in oracle 9i you must copy all backups to original/same location as target database.

  • ORA-12560 in database restore cold backup

    Hi guys,
    I'm trying to restore a cold backup (WINDOWS NT) and I did the following:
    1. Restore the datafiles in a specific location, according to the directory that the files were before.
    2. Create the service:
    C:\>oradim -new -sid ORCL -startmode auto -pfile C:\oracle\admin\ORCL\pfile\initORCL.ora
    3. startup the listener with the instance.
    4. When I try to connect as follows, I receive the following error:
    C:\>connect "/as sysdba"
    'connect' is not recognized as an internal or external command,
    operable program or batch file.
    C:\>sqlplus "/as sysdba"
    SQL*Plus: Release 9.2.0.3.0 - Production on MiΘ Ago 13 17:20:32 2003
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Enter user-name:
    C:\>
    What am I missing???
    TIA.

    You may be hitting bug 4598734. See Metalink Note:359428.1 - Windows: Starting the instance service fails to start the database in Server rel. 10g

  • Restore RMAN Backup in Different Database on Same RAC

    We have 11gR2 2 node RAC on Linux. ASM and OMF is used for database. The database on it is backedup using RMAN.
    We want to test the RMAN backup by restoring it to a new database on same server.
    Can someone guide me to steps on how this can be achieved. I'm afraid this should not affect the actual database.
    Thanks a lot.

    Hi,
    Yes, this can be done without disturbing your source db. Need more information on your DB structure (datafile asm diskgroups), all you need to do is restore as single node and convert to rac, since you want to test rman restore, you can restore to single node to prove your RMAN backups are intact.
    Changes in init.ora
    ==============
    db_file_name_convert= ("source dir structure","target dir structure")
    log_file_name_convert=("source dir structure","target dir structure")
    cluster_database=false
    event="10298 trace name context forever, level 32"
    _no_recovery_through_resetlogs=TRUE
    Set new database sid (export ORACLE_SID=NEW_SID)
    sql>startup nomount;
    rman auxiliary /
    rman>duplicate database to "NEW_SID" backup location "Your RMAN Backup location";
    The above are very high level general steps, please do take other steps into consideration as per your environment.

  • How to restore cold backup + archived log files

    Hi,
    Suppose I take a cold backup on 18th. After that I have four days of archived log files. if the database crashes on 5th day, I have to restore the 18th cold back + 4 days of archived log files. How do I restore since it is a cold backup and I cant do incomplete recovery.
    can I use
    Recover database ( with 18th cold backup) in mount state and apply archived logs.
    Prabhath

    The details of how you perform forward recovery using a cold backup depends on
    1- rman or manual backup
    2- using current or backup control file
    3- if rman, recovery catalog or no recovery catalog
    4- if full database recovered or only a few files
    Each of these conditions will affect what is known to Oracle and what needs to be done. For example if you restored the entire cold backup including the control file then Oracle would see a consistent database and not need to perform recovery so you would need to startup mount and tell the database to perform recovery using a backup control file. If using rman and no recovery catalog you might need to catalog some of the archived redo logs, etc....
    It is advisable to consult the Backup and Recovery manuals before attempting recovery for any new scenario.
    HTH -- Mark D Powell --

  • Restore cold backup and RMAN backup

    Hi,
    I have cold backup as well as RMAN backup. But i don't know how to restore the backup.
    Please anybody send, steps or links for restoring both backups.
    Regs,
    Brijesh

    The "script" would depend on how the backup was done.
    A cold backup should be a backup of controlfiles and datafiles.
    Was it done using RMAN ? Or done using an OS command (e.g. "cp" or "tar" or "cpio") ?
    A non-RMAN cold backup can be restored with the same command that was used to create the backup. If the backup did not include the Online Redo Log files, you need to simulate a dummy recovery from the SQL command line (RECOVER DATABASE UNTIL CANCEL ; then CANCEL) and ALTER DATABASE OPEN RESETLOGS.
    If the backup was done using RMAN, you need to
    1. RESTORE CONTROLFILE FROM '/location_of_backuppiece'
    2. ALTER DATABASE MOUNT
    3. RESTORE DATABASE
    4. ALTER DATABASE OPEN
    Hemant K Chitale

  • Restore cold backup

    Hi
    After restoring the cold backup
    I need to recreate the controlfile.
    Do I need to recover afterwards? since I created new controlfile.
    or just
    alter database open;
    Oracle 9i, user managed backups

    scofield wrote:
    Hi
    After restoring the cold backup
    I need to recreate the controlfile.
    Do I need to recover afterwards? since I created new controlfile.
    or just
    alter database open;
    Oracle 9i, user managed backupsWe have said couple of things many times but seems that people don't really care.
    1) Always mention complete thing/story, not just a snippet of it.
    2) Always tell the complete version, 9202 9208.
    3) Check the oracle docs,
    [Restoring and Re-Creating Control Files|http://download.oracle.com/docs/cd/B10501_01/server.920/a96572/osrestore.htm#26488]
    HTH
    Aman....

  • Hyperion 9.3.1 Disaster Recovery Steps For Restoring Prod Backups Into QA ?

    Hello All:
    We run Hyperion 9.3.1.1 (SQL back end) and I was wondering what the correct steps are for restoring sql backups from PROD into QA?
    Does anyone have any experience with this? I've tried it out and can't get the QA system to come up after the restore of the PROD bak files. When I try to log into the QA workspace after the restore, it errors saying I need proper username/id....even when I use the local shared services admin account....like there is a disconnect between workspace and shared services.
    Any suggestions are greatly appreciated.....thanks!
    Jim
    Edited by: Bozich on Mar 9, 2009 11:57 AM

    HI and Welcome to Apple Discussions...
    The most recent version of iTunes is 9.0.2
    Try updating your iTunes software and *then try to Restore the iPhone.*
    On your Mac, click the Apple Menu  / Software Updates.
    After the installation, repair disk permissions.
    Quit any open applications/programs. Launch Disk Utility. (Applications/Utilities) Select MacintoshHD in the panel on the left, select the FirstAid tab. Click: Repair Disk Permissions. When it's finished from the Menu Bar, Quit Disk Utility and restart your Mac. If you see a long list of "messages" in the permissions window, it's ok. That can be ignored. As long as you see, "Permissions Repair Complete" when it's finished... you're done. Quit Disk Utility and *restart your Mac*.
    Make sure your Windows based machine has the latest version of iTunes also. 9.0.2
    Launch iTunes on the PC. If it's not up to date you should see a dialog box asking if you want to updage your iTunes software.
    Carolyn

  • Recover full backup into another database

    Hello,
    I have a particular need that does not seems to be done so often and I just cannot get it.
    So here is the situation : I have a backup of a full database. That means that I have the init parameter file, the autobackuped controlfile (+pfile) and the autobackuped backupset.
    The source database is release 10.2.0.5.0, RAC instance.
    On another server, I have a simple instance, same release and I would like to recover the full backup in the second database.
    I have already done that once before but I had both pfile and controlfile backuped manually and the two instances were simple ones.
    Here I have tried the same way : shutdown my target database, changing my pfile backup parameters to match the target database. Startup the target database in nomount mode using the pfile. Create spfile from pfile. Then restore controlfile from the backuped controlfile with rman.
    But here this step is a problem.
    My question is simple : what is the best way / good practices to get this working?
    Thanks in advance for your help. Ask if you need any further informations.
    Max

    Hello,
    Here is the original init pfile content :
    instdb1.__db_cache_size=1107296256
    instdb2.__db_cache_size=1023410176
    instdb2.__java_pool_size=16777216
    instdb1.__java_pool_size=16777216
    instdb2.__large_pool_size=16777216
    instdb1.__large_pool_size=16777216
    instdb1.__shared_pool_size=436207616
    instdb2.__shared_pool_size=520093696
    instdb2.__streams_pool_size=16777216
    instdb1.__streams_pool_size=16777216
    *.audit_trail='DB'
    *.background_dump_dest='/u1/app/oracle/admin/instdb/bdump'
    *.cluster_database_instances=2
    *.cluster_database=TRUE
    *.compatible='10.2.0.0.0'
    *.control_file_record_keep_time=95
    *.control_files='+DG_DATA/instdb/controlfile/backup.305.615208725','+DG_FLASH/instdb/controlfile/current.256.614223119'
    *.core_dump_dest='/u1/app/oracle/admin/instdb/cdump'
    *.db_block_size=8192
    *.db_create_file_dest='+DG_DATA'
    *.db_create_online_log_dest_1='+DG_FLASH'
    *.db_domain='inst.xx'
    *.db_file_multiblock_read_count=16
    *.db_flashback_retention_target=1440
    *.db_name='inst'
    *.db_recovery_file_dest='+DG_DATA'
    *.db_recovery_file_dest_size=53687091200
    instdb1.instance_number=1
    instdb2.instance_number=2
    *.job_queue_processes=10
    instdb1.local_listener='LISTENER_INST1.INST.XX'
    instdb2.local_listener='LISTENER_INST2.INST.XX'
    instdb1.log_archive_dest_1='LOCATION=/u1/app/oracle/admin/inst/arch_orainst1'
    instdb2.log_archive_dest_1='LOCATION=/u1/app/oracle/admin/inst/arch_orainst2'
    *.log_archive_dest_2='SERVICE=INSTB.INST.XX VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) OPTIONAL LGWR ASYNC NOAFFIRM NET_TIMEOUT=10'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_format='inst_%t_%s_%r.arc'
    *.max_dump_file_size='200000'
    *.open_cursors=300
    *.parallel_max_servers=20
    *.pga_aggregate_target=824180736
    *.processes=550
    instdb1.remote_listener='LISTENER_INST1.INST.XX'
    instdb2.remote_listener='LISTENER_INST2.INST.XX'
    *.remote_login_passwordfile='EXCLUSIVE'
    *.resource_limit=TRUE
    *.session_max_open_files=20
    *.sessions=480
    *.sga_target=1610612736
    instdb1.thread=1
    instdb2.thread=2
    *.undo_management='AUTO'
    instdb1.undo_tablespace='UNDOTBS1'
    instdb2.undo_tablespace='UNDOTBS2'
    *.user_dump_dest='/u1/app/oracle/admin/inst/udump'
    And here is the test I have done :
    *1. modified the init pfile to this :*
    inst.__db_cache_size=1107296256
    inst.__java_pool_size=16777216
    inst.__large_pool_size=16777216
    inst.__shared_pool_size=436207616
    inst.__streams_pool_size=16777216
    *.audit_trail='DB'
    *.background_dump_dest='C:\Oracle\admin\inst\bdump'
    *.compatible='10.2.0.5.0'
    *.control_file_record_keep_time=95
    *.control_files='C:\Oracle\oradata\inst\control01.ctl','C:\Oracle\oradata\inst\control02.ctl','C:\Oracle\oradata\inst\control03.ctl'
    *.core_dump_dest='C:\Oracle\admin\inst\cdump'
    *.db_block_size=8192
    *.db_create_file_dest='C:\Oracle\oradata\inst'
    *.db_create_online_log_dest_1='C:\Oracle\inst'
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_flashback_retention_target=1440
    *.db_name='inst'
    *.db_recovery_file_dest='C:\Oracle\oradata'
    *.db_recovery_file_dest_size=53687091200
    *.job_queue_processes=10
    inst.log_archive_dest_1='LOCATION=C:\Oracle\oradata'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_format='inst_%t_%s_%r.arc'
    *.max_dump_file_size='200000'
    *.open_cursors=300
    *.parallel_max_servers=20
    *.pga_aggregate_target=824180736
    *.processes=550
    *.remote_login_passwordfile='EXCLUSIVE'
    *.resource_limit=TRUE
    *.session_max_open_files=20
    *.sessions=480
    *.sga_target=1610612736
    inst.thread=1
    *.undo_management='AUTO'
    inst.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='C:\Oracle\admin\inst\udump'
    *2. shutdown the database, startup in nomount and restore controlfile (with the error when trying to restore controlfile) :*
    RMAN> shutdown immediate;
    Oracle instance shut down
    RMAN> startup nomount pfile='C:\Oracle\init\initInst.ora';
    connected to target database (not started)
    Oracle instance started
    Total System Global Area 1610612736 bytes
    Fixed Size 1305856 bytes
    Variable Size 369099520 bytes
    Database Buffers 1233125376 bytes
    Redo Buffers 7081984 bytes
    RMAN> restore controlfile from 'C:\Oracle\ctl\inst_ctrl_c-2972284490-20120318-00';
    Starting restore at 04-MAY-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=596 devtype=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 05/04/2012 14:20:12
    RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
    Thank you for your help.
    Max

  • Test cold backup database in archive mode

    Hello,
    We doing every week a cold backup from Oracle database, us database is in archive mode.
    We would like to test us cold backup in other server but the drive where we have to copy
    the datafiles and logs and rollback are different on this server.
    In the production server the oracle_home and the oracle_sid:
    ORACLE_HOME=E:\oracle\product\10.2.0\db_1
    ORACLE_SID=ENCY
    and on the other server to test the backup are:
    ORACLE_HOME=I:\oracle\product\10.2.0\db_2
    ORACLE_SID=ENCY
    Can somebody help me saying please the steps that I have to follow to restore the database in other server
    to test if the last cold backup is fine?
    My understand is copy the files(datafiles, log files, control files, pfile,...) in the new server, when everything is copied into new server,
    I have to:
    Modify the parameter CONTROL_FILES in the pfile
    Mount the database and rename the datafiles and redolog files
    Thanks.

    user641364 wrote:
    Hello,
    We doing every week a cold backup from Oracle database, us database is in archive mode.
    We would like to test us cold backup in other server but the drive where we have to copy
    the datafiles and logs and rollback are different on this server.
    In the production server the oracle_home and the oracle_sid:
    ORACLE_HOME=E:\oracle\product\10.2.0\db_1
    ORACLE_SID=ENCY
    and on the other server to test the backup are:
    ORACLE_HOME=I:\oracle\product\10.2.0\db_2
    ORACLE_SID=ENCYThe only difference between servers is different ORACLE_HOME path?
    All other directories are the same?
    >
    Can somebody help me saying please the steps that I have to follow to restore the database in other server
    to test if the last cold backup is fine?
    My understand is copy the files(datafiles, log files, control files, pfile,...) in the new server, when everything is copied into new server,
    I have to:
    Modify the parameter CONTROL_FILES in the pfile
    Mount the database and rename the datafiles and redolog filesYou shoud modify and rename only in case if path to datafiles, redologs, controlfiles, dump, archive log directories is different on test server.
    If that will be the same, then no need to rename.
    If it is different, then modify pfile in order to meet correct one paths.

Maybe you are looking for