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

Similar Messages

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

  • Restoring the backup on other server with different patch level

    Hi Gurus,
    I have one HP-UX B11.31 server which holds ORACLE software with 10.2.0.4 patch level, and I have restored one database with the same patch level from HP DataProtector successfully. Now, I want to restore two node RAC database backup with Oracle Patch level of 10.2.0.2 into the Restore server which is of 10.2.0.4 patch level, the RAC database uses ASM, here are the steps which I am going to follow;
    1. Create a new database with the same schema as like the RAC database in ASM.
    2. Restore & Recover the RAC database backup from Data Protector.
    But, I have one question, can I restore & recover the backup which is in lower grade Oracle software patch level i.e; 10.2.0.2 on a higher grade Oracle software patch level ie; 10.2.0.4 ???
    ?:|
    Even after restoring & recovering can the database will work? PLEASE guide.
    Thanks in Advance.

    Thanks again!!!
    The point of upgrading the database comes when there is already a database and one is upgrading the ORACLE software version and then upgrading the database to its version using the scripts you suggest.
    Here is the scenario where I have to restore and recover a 10.2.0.2 RAC database backup on 10.2.0.4 sotware version,
    *my question is that, whether there will be any conflict of patch version as the Oracle Brain will be of the latest version? Oracle software will successfully restore and recover the database backup with a lower patch version? or it will throw any error when restoring the backup like compatibility unmatched between the software and the backup you are trying to restore & recover?*
    yes the RAC database is in ASM.
    Thanks & Regards

  • Restoration of MaxDB online backup on other server for creating Standby DB

    Hi,
    I had taken MaxDB online database backup through Data Protector 6.11. Now i want to restore this backup on other server. So that i can configure this as a standby database. I selected config and data for restoration but it was giving me an error as below,
    [Critical] From: OB2BAR_SAPDBBAR@ttcsolma "BE1"  Time: 01/11/11 01:19:05
          Error: SAPDB responded with: -24988,ERR_SQL: SQL error
    -9407,System error: unexpected error
    3,Database state: OFFLINE
    Internal errorcode, Error code 9050 "disk_not_accessible"
    So I created the database but with default values and then tried restoration but getting error as below,
    Error: Unable to read the configuration value `All' for SAPDB instance `SID'.
    If anybody is having any document or steps for confguring the Standby MaxDB database through Data Protector backup/restore method.
    Thanks,
    Narendra

    Hi Siva,
    Thanks for the replyu2026Yes I had copied the dbm.ebf, dbm.mdf dbm.knl files from the source server to target server. And also backup is visible in target server. And also I created Data /Log volumes size as equal to source server.
    I tried restoring through DBM GUI with "recovery with initialization" option but I am getting error message as below and also I am getting same error message when I restore from Data Protector GUI. But I donu2019t have any problem restoring the backup on same server the problem occurs only when restoring it on target server.
    Now for testing I have taken backup on file system through DBM GUI of source system and started restoring on target system. No problem while restoring from file system backup on target server. I am suspecting there is some problem with PIPE as I am using third party backup tool i.e. DP 6.11. I want to resolve the problem with third party backup tool as we will take all MaxDB database backup on tapes through DP 6.11.
    Through DBM GUI error message:
    Error: SAPDB responded with: -24925,ERR_PREPARE: preparation of backup operation failed
    The list of external backup ID's contains less than 16 ID's.
    Through Data Protector GUI error message:
    [Normal] From: RSM@bkupsvr ""  Time: 1/18/11 8:49:16 AM
          Restore session 2011/01/18-12 started.
    [Normal] From: OB2BAR_SAPDBBAR@tstmaxdb "SID"  Time: 01/18/11 08:50:58
          Executing the dbmcli command: `user_logon'.
    [Normal] From: OB2BAR_SAPDBBAR@tstmaxdb "SID"  Time: 01/18/11 08:51:00
          Executing the dbmcli command: `dbm_configset -raw BSI_ENV /var/opt/omni/tmp/SID.bsi_env'.
    [Normal] From: OB2BAR_SAPDBBAR@tstmaxdb "SID"  Time: 01/18/11 08:51:03
          Executing the dbmcli command: `db_admin'.
    [Normal] From: OB2BAR_SAPDBBAR@tstmaxdb "SID"  Time: 01/18/11 08:51:03
          Executing the dbmcli command: `util_execute clear log'.
    [Normal] From: OB2BAR_SAPDBBAR@tstmaxdb "SID"  Time: 01/18/11 08:51:22
          Executing the dbmcli command: `dbm_configset -raw set_variable_10 OB2BACKUPAPPNAME=SID'.
    [Normal] From: OB2BAR_SAPDBBAR@tstmaxdb "SID"  Time: 01/18/11 08:51:22
          Executing the dbmcli command: `dbm_configset -raw set_variable_11 OB2BACKUPHOSTNAME=ttcmaxdr'.
    [Normal] From: OB2BAR_SAPDBBAR@tstmaxdb "SID"  Time: 01/18/11 08:51:23
          Executing the dbmcli command: `util_connect'.
    [Normal] From: OB2BAR_SAPDBBAR@tstmaxdb "SID"  Time: 01/18/11 08:51:24
          Restoring backup 2011/01/17 0061.
    [Normal] From: OB2BAR_SAPDBBAR@tstmaxdb "SID"  Time: 01/18/11 08:51:24
          Executing the dbmcli command: `medium_put BACKDP-Data[8]/1 /var/opt/omni/tmp/SID.BACKDP-Data[8].1 PIPE DATA 0 8 NO NO \"\" BACK'.
    [Normal] From: OB2BAR_SAPDBBAR@tstmaxdb "SID"  Time: 01/18/11 08:51:24
          Executing the dbmcli command: `medium_put BACKDP-Data[8]/2 /var/opt/omni/tmp/SID.BACKDP-Data[8].2 PIPE DATA 0 8 NO NO \"\" BACK'.
    [Normal] From: OB2BAR_SAPDBBAR@tstmaxdb "SID"  Time: 01/18/11 08:51:25
          Executing the dbmcli command: `medium_put BACKDP-Data[8]/3 /var/opt/omni/tmp/SID.BACKDP-Data[8].3 PIPE DATA 0 8 NO NO \"\" BACK'.
    [Normal] From: OB2BAR_SAPDBBAR@tstmaxdb "SID"  Time: 01/18/11 08:51:25
          Executing the dbmcli command: `medium_put BACKDP-Data[8]/4 /var/opt/omni/tmp/SID.BACKDP-Data[8].4 PIPE DATA 0 8 NO NO \"\" BACK'.
    [Normal] From: OB2BAR_SAPDBBAR@tstmaxdb "SID"  Time: 01/18/11 08:51:26
          Executing the dbmcli command: `medium_put BACKDP-Data[8]/5 /var/opt/omni/tmp/SID.BACKDP-Data[8].5 PIPE DATA 0 8 NO NO \"\" BACK'.
    [Normal] From: OB2BAR_SAPDBBAR@tstmaxdb "SID"  Time: 01/18/11 08:51:27
          Executing the dbmcli command: `medium_put BACKDP-Data[8]/6 /var/opt/omni/tmp/SID.BACKDP-Data[8].6 PIPE DATA 0 8 NO NO \"\" BACK'.
    [Normal] From: OB2BAR_SAPDBBAR@tstmaxdb "SID"  Time: 01/18/11 08:51:27
          Executing the dbmcli command: `medium_put BACKDP-Data[8]/7 /var/opt/omni/tmp/SID.BACKDP-Data[8].7 PIPE DATA 0 8 NO NO \"\" BACK'.
    [Normal] From: OB2BAR_SAPDBBAR@tstmaxdb "SID"  Time: 01/18/11 08:51:28
          Executing the dbmcli command: `medium_put BACKDP-Data[8]/8 /var/opt/omni/tmp/SID.BACKDP-Data[8].8 PIPE DATA 0 8 NO NO \"\" BACK'.
    [Normal] From: OB2BAR_SAPDBBAR@tstmaxdb "SID"  Time: 01/18/11 08:51:28
          Executing the dbmcli command: `recover_start BACKDP-Data[8] DATA ExternalBackupID "SID 11011761:1 Stream,SID 11011761:2 Stream,SID 11011761:3 Stream,SID 11011761:4 Stream,SID 11011761:5 Stream,SID 11011761:6 Stream,SID 11011761:7 Stream,SID 11011761:8 Stream"'.
    [Critical] From: OB2BAR_SAPDBBAR@tstmaxdb "SID"  Time: 01/18/11 08:51:30
          Error: SAPDB responded with: -24925,ERR_PREPARE: preparation of backup operation failed
    The list of external backup ID's contains less than 16 ID's.
    [Normal] From: OB2BAR_SAPDBBAR@tstmaxdb "SID"  Time: 01/18/11 08:51:30
          Executing the dbmcli command: `exit'.
    [Normal] From: RSM@bkupsvr ""  Time: 1/18/11 8:49:59 AM
          OB2BAR application on "tstmaxdb" disconnected.
    Thanks,
    Narendra

  • How to restore the backup which we taken from db13 ?

    Hi .........
    I am taking full back up from DB13 to hard disk and tape drive every day.
    Please tell me how to restore this backup which is taken from db13.
    4.7E, MSSQL , Windows 2003 server.
    Gayatry.

    If its the same server you took the backup from the backup history for the DB will be stored against it. If its a different server you will need to catalog the backup tape to read in the history/contents.
    Lets assume its the same server, with the same file locations.
    From SQL Ent Mgr - with SAP stopped.
    right click  the DB
    select restoredb
    select the set you want to restore from the history
    select the options you need (ie leave off line for addition TL restore, or bring online)
    It really is that simple - you cant go wrong (assuming you select the correct set!)

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

  • HT5096 how about copying the backup to a server instead of a hard drive?

    how about copying the backup to a server instead of a hard drive? Doesn't seem to work.

    ISP's cap your upload speed to a fraction of your download so you don't run a server off your computer.
    You can certainly spend more money to upload faster, but it's a waste of money and the data online can vanish or be held or spied upon.
    Then there is a prolem that you want to restore your system and there is slow Internet.
    Apple now requires fresh OS X installs to come from them online, it's better to have local drive to boot from anytime, so a bootable clone is ideal, better than TimeMachine which is only a backup system
    Most commonly used backup methods

  • HT201210 i forgot my backup password how to restore my backup?

    i forgot my backup password how to restore my backup?

    If you have a Mac the password should be in your Keychain app.

  • How to restore my backup in laptop from external drive

    How to restore my backup in my macbookpro from external drive

    Hello Jayrajjpatel,
    It sounds like you have a Time Machine backup on an external drive that you would like to use to restore your computer. The following article will help you get that done, named:
    OS X Mavericks: Recover your entire system
    http://support.apple.com/kb/PH14185
    If you’re restoring your system because of a problem with your startup disk, repair or replace the disk before following these instructions.
    Make sure your Time Machine backup disk is connected and turned on. If your disk is on a network, make sure your Mac is on the same network.
    Choose Apple menu > Restart. Once your Mac restarts (and the gray screen appears), hold down the Command (⌘) and R keys.
    Select “Restore from a Time Machine Backup,” then click Continue.
    Do one of the following:
    External backup disk: Select it, then click Continue.
    Time Capsule: Choose your network from the AirPort menu on the right side of the menu bar, and then select your Time Capsule and click “Connect to Remote Disk.”
    Network backup disk: Select it, then click “Connect to Remote Disk.”
    If necessary, enter the name and password you use to connect to your backup disk, then click Connect.
    Select the date and time of the backup you want to restore, then follow the onscreen instructions.
    After you restore your system, Time Machine may perform a full backup at the next scheduled backup time. This is normal. Time Machine resumes incremental backups after the full backup is completed.
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • How to restore iCloud backups earlier ios version to new phone with latest ios?

    Does anybody know how to restore an icloud backup with i.os 7.1.2 version to a new iphone5 with ios 7.0.4 version?
    thanks

    Set up the phone as a new phone, not from the backup. Go to Settings > General > Software Update, and perform the update. Then go to Settings > General > Reset > Erase All Content and Settings to repeat the setup, and this time choose Restore from backup.

  • HT1766 how to restore older backups? I can only access the latest backup but I need the one before that.

    How to restore older backups? I can only access the latest backup but I need the one before that.

    You would only have that backup if you saved it somewhere.
    Itunes only keeps the latest one.

  • How to restore iCloud backups on a new phone?

    How to restore iCloud backups on a new phone?

    The only way to access iCloud backups is to Erase all content and settings, go thru the setup assistant, and when prompted to restore from iCloud backup - choose that option.
    HTH

  • How to restore specific backup file from RMAN?

    Hi,
    I am just begginer with Oracle DB so I do not have a lot knowledge.
    I created two backups at April the 8th and April the 10th.
    I did following from RMAN.
    shutdown immediate
    startup mount
    configure channel 1 device type disk format '/opt/oracle/backup/std_%U';
    backup database
    startup
    output was:
    including current control file in backupset
    including current SPFILE in backupset
    it created two files: std-0so6l0vn(2 GB) and std_0to6l106 (7 MB).
    First question - first file is backup and what is the second file???
    Today I created also backup and it also created two files: std_0uo6morg (2GB) and std_0vo6morv (7MB)
    Now I want to return backup from 2 days ago (*std-0so6l0vn*) but can't;
    I do the the following:
    shutdown immediate
    startup mount
    restore database from '/opt/oracle/backup/std_0so6l0vn'
    but getting error - only SPFILE or control file can be restored from autobackup.
    How to restore my backup from two days ago? It looks to me so complicated and hardly understandable.
    What command to execute from RMAN to succeed in restore?
    Thank you

    I still can not restore database; I tried Honza method.
    i try
    startup nomount
    restore controlfile from 'restore controlfile from /opt/oracle/backup/sss_11o7efd9_1_1';
    And getting message:
    no autobackup found or specified handle is not a valid copy or piece
    list backup returns:
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    19 Full 6.80M DISK 00:00:01 19-APR-13
    BP Key: 19 Status: AVAILABLE Compressed: NO Tag: TAG20130419T025522
    Piece Name: /opt/oracle/backup/sss_11o7efd9_1_1
    Control File Included: Ckp SCN: 3178467 Ckp time: 19-APR-13
    SPFILE Included: Modification time: 02-APR-13
    show all returns:
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
    configuration for DISK channel 2 is ignored
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT '/opt/oracle/backup/sss_%U';
    CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT '/opt/oracle/backup/sss_%U';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/opt/oracle/product/10.2.0/dbs/snapcf_ctginst1.f'; # default
    Please help I really must restore database but can't do it.

  • What permission is needed for a login to access the restored database(backup from different server)

    what permission is needed for a login to access the restored database(backup from different server)
    frequently reach the situation, when vendor restores a database, but he cannot access it unless I remap or add his login to the restored database. What permssion can grant the vendor so that he can but only can access the database he restored, not all other
    databases.

    Hi George,
    According to your description, When you move a database from one server that is running SQL Server to another server that is running SQL Server, a mismatch may occur between the security identification numbers (SIDs) of the logins in the master database
    and the users in the user database. As other post, you can use the sp_change_users_login stored procedure to map SQL Server logins. Also , you can use the following statement after doing the restore database. It will
     fix the mis-mapped SID inside the restored DB.
    ALTER USER <username> WITH LOGIN = <username>
    For more information, you can review the following article.
    http://blogs.lessthandot.com/index.php/DataMgmt/DBAdmin/MSSQLServerAdmin/do-you-still-use-sp_change_users_login/
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

Maybe you are looking for