Newbie has RMAN restore questions

I am new to Oracle and RMAN. We had a failure on a Windows Server running Oracle 9.2. I copied the backed up datafiles from RMAN to a recovery system. The production system is running again. I need to restore the old data on the recovery system, which is a clean installation of Windows Server and Oracle 9.2.
How do I get RMAN to see the backup set files that I copied over from our production system?
I tried this using the name of one of the backed up files:
CATALOG DATFILECOPY 'C:\BACKUP\ZEUS\DF0_ZEUS-2965_715266526';This returned "ORA-19563: datafile copy header validation failed for file C:\BACKUP\ZEUS\DF0_ZEUS-2965_715266526."
I think the problem is the one described at http://youngcow.net/doc/oracle10g/backup.102/b14192/maint007.htm:
If you try to catalog a datafile copy from a database other than the connected target database,
then RMAN issues an error such as the following:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of catalog command on default channel at 08/29/2001 14:44:34
ORA-19563: datafile copy header validation failed for file /tmp/tools01.dbfI tried SET DBID so that the DBID is the same as the production database, but my results are unchanged.
Edited by: user12961563 on Apr 15, 2010 10:27 AM

Thanks for all the suggestions. I have tried "RESTORE CONTROLFILE FROM AUTOBACKUP;" and the procedure "Performing Disaster Recovery" documented here: http://www.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10734/rcmrecov.htm. I run into these problems:
Not mounted: The RESTORE command fails with ORA-01507: Database not mounted.
Mounted: RMAN-06189: Current DBID does not match target mounted database.
So I run "SET DBID" to make the DBID the same as the source database, just like it says in step 3 of "Performing Disaster Recovery". The RESTORE command then searches some files and gives RMAN-06172: No autobackup found or specified handle is not a valide copy or piece.
The backed up files are in F:\Backup, and I have these settings:
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'F:\BACKUP\cf_%F';
The only thing I can think of is that RMAN is not looking in F:\BACKUP. Is there something else going on? I've read through scores of pages of docs, but can't find and leads.

Similar Messages

  • Help!  Newbie has a stupid question on file specs

    I was given a file that seems to be a native Final cut file. I am using final cut for the first time and just need to find out what this particular file already has for:
    Aspect Ratio:
    Resolution:
    Video Format:
    Audio: Stereo:
    FPS:
    I'm wondering where I can look in the program to get these answers.
    I know that I'll then need to convert this file to the specs that are needed and am hoping this is fairly straight forward.
    Any info is appreciated! This is a sudden need and it looks like I'll be learning the program in the future, I just don't have time at the moment and am afraid I might be looking in the wrong place in the program for the answers.
    Thanks!

    I was given a file that seems to be a native Final cut file. I am using final cut for the first time and just need to find out what this particular file already has for: < </div>
    A project file or a movie file? How do you know it's from FCP? As per Jerry but you could also open into QT and look at most of the properties.
    bogiesan

  • Question on RMAN restore

    Hello all,
    I'm able to successfully restore a database's datafiles from tape to the host where the database actually runs but when I try to restore the datafiles to a completely differnt host RMAN errors out saying that it could not locate the datafile on the tape.
    This is what I did....
    Database Name : DEV (live database)
    Host : dev_host
    From the dev_host, I initiated the rman restore script (which connects to the catalog) to restore just one of DEV's datafiles and it worked. The datafile got restored to dev_host.
    Let's now assume a disaster recovery scenario where dev_host becomes unusable and I have to restore the database from tape to a totally diffrent host and bring up the database. To simulate this I did the following.
    Database: DEV( shell database in mount state)
    Host : new_host
    I just created a pfile and mounted the DEV database on the "new_host". At this time we do not have any of the DEV's datafiles on the "new_host". We need to retore them from tape. While the database was in mount state, I initiated the restore script( which connects to the catalog) from "new_host" but rman failed with the following message.
    run {
    allocate channel t1 type SBT_TAPE;
    SEND 'NB_ORA_SERV=bkp200,NB_ORA_POLICY=ora-bkp200-dev_host';
    set newname for datafile '/d1/oradata/DEV/users_temp_01.dbf' to '/d2/oradata/DEV/users_temp_01.dbf';
    restore tablespace USERS_TEMP until time "TO_DATE('12/27/09','MM/DD/YY')";
    release channel t1;
    allocated channel: t1
    channel t1: sid=92 devtype=SBT_TAPE
    channel t1: Veritas NetBackup for Oracle - Release 6.5 (2007072323)
    sent command to channel: t1
    executing command: SET NEWNAME
    Starting restore at 01/08/2010 11:31:30
    channel t1: starting datafile backupset restore
    channel t1: specifying datafile(s) to restore from backup set
    restoring datafile 00004 to /d2/oradata/DEV/users_temp_01.dbf
    channel t1: reading from backup piece FULL_DEV_oel1s5u4
    ORA-19870: error reading backup piece FULL_DEV_oel1s5u4
    ORA-19507: failed to retrieve sequential file, handle="FULL_DEV_oel1s5u4", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
    Backup file <FULL_DEV_oel1s5u4> not found in NetBackup catalog
    failover to previous backup
    channel t1: starting datafile backupset restore
    channel t1: specifying datafile(s) to restore from backup set
    restoring datafile 00004 to /d2/oradata/DEV/users_temp_01.dbf
    channel t1: reading from backup piece FULL_DEV_o4l1rfsh
    ORA-19870: error reading backup piece FULL_DEV_o4l1rfsh
    ORA-19507: failed to retrieve sequential file, handle="FULL_DEV_o4l1rfsh", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
    Backup file <FULL_DEV_o4l1rfsh> not found in NetBackup catalog
    failover to previous backup
    Question: Can I not restore data from tape to a host other than where the database actually runs. I'm not sure why rman fails to restore data to a different host.
    Do I need to set something at the database level or Media Manager level? We are using Netbackup.
    Appreciate if you can give me some pointers.
    Thanks for your time.

    Can I not restore data from tape to a host other than where the database actually runs. I'm not sure why rman fails to restore data to a different host.
    Do I need to set something at the database level or Media Manager level? We are using Netbackup
    You can. For that you have to use Duplicate command. You have to duplicate the database, by replicating it from the backup.
    For that you have to have the same versions OS of both the prod (from which you took backup) and test (to which you are going to replicate). The auxiliary database (test) should be in nomount for this. There are tons of websites to give you step by step processes for this
    http://download-east.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmdupdb.htm#i1006506
    Check the link

  • How to find out what has been restored to a database instance?

    I'm using RMAN to back up and restore/recover. How to find out what has been restored/recovered to a database instance?
    Oracle version is 11gR2 but compatibility is set to 10.
    Edited by: 881656 on Aug 28, 2012 1:54 AM

    select output
    from V$rman_output
    order by stamp;
    select *
    from V$rman_status
    order by start_time desc;
    Regards
    Asif Kabir
    Handle:      881656
    Status Level:      Newbie
    Registered:      Aug 25, 2011
    Total Posts:      52
    Total Questions:      *30 (30 unresolved)*
    -- please close all the answered threads and mark your helpful post as correct/helpful

  • Does RMAN restore from 11.2.0.3 to 11.1.0.7?

    Hi Team,
    Interesting point is here, source is on 11.2.0.3 and somehow we missed 11.2.0 home on target (my team mate forgot to built new 11.2.0.3 home - we have 11.1.0 home), not sure how this rman restored/recovered  with no issues on target even it has compatibility change (controlfile restore itself should fail).
    Source is 11.2.0.3 and target is 11.1.0.7, presently the instance up and running with no issues, but we decided to re build with 11.2.0.3 home
    Any hints? Please advice, I am curious about this functionality how did this happen! J
    Thanks,
    Venkat

    See Oracle Support Note "Frequently Asked Questions about Restoring Or Duplicating Between Different Versions And Platforms (Doc ID 369644.1)" . Particularly Question 5.
    You need to run the Downgrade procedures to downgrade a database from 11.2 to 11.1
    Hemant K Chitale

  • RMAN restore database validate

    All,
    I cannot seem to find anything in the Oracle documentation what the RMAN restore database validate checks for? Does it check for physical and logical corruption or do I need to validate the backup using logical statement to check for this?
    I would appreciate it if somebody could point me in the right direction.
    This is for Oracle 9iR2
    Many thanks

    user647138 wrote:
    Many thanks for all your help. Much appreciated :)Handle:      user647138
    Status Level:      Newbie
    Registered:      Jul 15, 2008
    Total Posts:      10
    Total Questions:      5 (4 unresolved)
    why dont you mark the thread as answered/helpful?
    Many thanks for all your help.  Much appreciated :) is it?
    Posters, please mind these common-sense rules when participating here:
    - When asking a question, provide all the details that someone would need to answer it. Consulting documentation first is highly recommended.
    - When answering a question, please be courteous and respectful; there are different levels of experience represented here. A poorly worded question is better ignored than flamed - or better yet, help the poster ask a better question.
    - It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts).
    - See more tips in the FAQ
    Thanks for doing your part to make this community as valuable as possible for everyone!
    - OTN

  • Block corruptioin after rman restore/recovery

    Thanks for taking my question!
    Oracle Enterprise Edition 11.1.0.7 on Windows 2008. Using Rman on-line backups COMPRESSED.
    Can anyone give me any ideas on why SYSAUX data block corruption should occur after a rman recovery?
    Below is my script. Am I missing something? Should I be physically removing the redo? Any ideas welcome?
    Thanks!
    Kathie
    rman> restore until seq = 123
    recover until seq = 123
    alter database open resetlogs;
    Background:
    I had to do a rman recovery the other day to restore our database back to the previous day. After the recovery the sysaux table became logically corrupted. I tried to fix data corruption with rman but it said it couldn't after reading thru 6 days of backups. I ended up deleting the database, recreating the database and restoring from an export takien a few hours prior.
    I now have a database to test rman recovery. Database has been up and rman backups (compressed) running for several days. I tried to recover back to previouse day and again SYSAUX has logical corruption. I tried to use Rman to recover data corruption but it failed.
    I deleted database and recreated it. Took several rman on-line backups (this time not compressed). Did 3rd recovery this time only a few hours back. This time everything worked - no sysaux block corruption but why? The only difference is the recovery used non compressed backups and recovery was a shorter time frame. why ???

    I agree the errors are not identical but I am going to stop performing compressed backups until I am sure that is not the issue.
    My first two recoveries had logical block corruption and this last one without compression set had no block corruption. I performed the same recovery process for all recoveries and the big difference was the successfull recovery did not have compressed backups. I checked v$database_block_corruption and it shows no errors. I also, performed a backup and verify to double check.
    The only issue I can see is below. I am hoping someone can confirm this is normal after "alter database open resetlogs". Can anyone verify that?
    Thanks!
    Kathie
    Thu Aug 27 10:17:49 2009
    alter database open resetlogs
    RESETLOGS after incomplete recovery UNTIL CHANGE 3587892
    Resetting resetlogs activation ID 3129052671 (0xba818dff)
    Thu Aug 27 10:17:50 2009
    Errors in file e:\oracle\diag\rdbms\cs90dev\cs90dev\trace\cs90dev_m000_2244.trc:
    ORA-00316: log 1 of thread 1, type 0 in header is not log file
    ORA-00312: online log 1 thread 1: 'E:\ORACLE\11.1.0\ORADATA\CS90DEV\REDO01.LOG'
    Errors in file e:\oracle\diag\rdbms\cs90dev\cs90dev\trace\cs90dev_m000_2244.trc:
    ORA-00316: log 2 of thread 1, type 0 in header is not log file
    ORA-00312: online log 2 thread 1: 'E:\ORACLE\11.1.0\ORADATA\CS90DEV\REDO02.LOG'
    Errors in file e:\oracle\diag\rdbms\cs90dev\cs90dev\trace\cs90dev_m000_2244.trc:
    ORA-00316: log 3 of thread 1, type 0 in header is not log file
    ORA-00312: online log 3 thread 1: 'E:\ORACLE\11.1.0\ORADATA\CS90DEV\REDO03.LOG'
    Thu Aug 27 10:17:53 2009
    Setting recovery target incarnation to 3

  • Using RMAN restore the database on a new host in ASM

    Hello All,
    I am trying to restore a database without using RMAN database duplicate.  I want to do set new name for datafile and rename log file for online logs and change database name at last using NID.
    here are details
    source database - APSPROD / server - X
    target database -  EMERALD / Server -Y
    Compressed backup is copied to destination server and I am trying to restore database using RMAN. Here is my init.ora file
    cat initAPSPROD1.ora
    DB_NAME=APSPROD
    compatible=11.2.0.3
    sga_target=8G
    CONTROL_FILES='+DATA_DM01/EMERALD/controlfile/cntrl01.dbf','+RECO_DM01/EMERALD/controlfile/cntrl02.dbf','+DATA_DM01/EMERALD/controlfile/cntrl03.dbf'
    DB_BLOCK_SIZE=8192
    db_file_name_convert=(+DATA_DM01/APSPROD,+DATA_DM01/EMERALD)
    log_file_name_convert=(+DATA_DM01/APSPROD,+DATA_DM01/EMERALD,+RECO_DM01/APSPROD,+RECO_DM01/EMERALD)
    DB_RECOVERY_FILE_DEST='+RECO_DM01'
    DB_RECOVERY_FILE_DEST_SIZE=5500G
    So from above you can see that control file should be restored to +DATA_DM01/EMERALD and +RECO_DM01/EMERALD path.
    Question -
    when I am trying to restore control file. It creates an ASM alias name in +DATA_DM01/EMERALD/controlfile/cntrl01.dbf',+RECO_DM01/EMERALD/controlfile/cntrl02.dbf',' and +DATA_DM01/EMERALD/controlfile/cntrl03.dbf' but It creates fully Qualified ASM Filename  under +DATA_DM01/APSPROD and +RECO_DM01/
    Here is output
    RMAN> restore controlfile from '/dbfs_direct/FS1/RMAN_APSPROD/cf_APSPROD_i4p4b62m_1_1
    2> ;
    Starting restore at 02-APR-14
    using channel ORA_DISK_1
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:07
    output file name=+DATA_DM01/emerald/controlfile/cntrl01.dbf
    output file name=+RECO_DM01/emerald/controlfile/cntrl02.dbf
    output file name=+DATA_DM01/emerald/controlfile/cntrl03.dbf
    Finished restore at 02-APR-14
    output at ASM level
    SMCMD [+RECO_DM01/EMERALD/CONTROLFILE] > ls -l
    Type         Redund  Striped  Time             Sys  Name
                                                   N    cntrl02.dbf => +RECO_DM01/APSPROD/CONTROLFILE/current.17006.843826701
    ASMCMD [+RECO_DM01/EMERALD/CONTROLFILE] > cd +RECO_DM01/APSPROD/CONTROLFILE/
    ASMCMD [+RECO_DM01/APSPROD/CONTROLFILE] > ls -l
    Type         Redund  Striped  Time             Sys  Name
    CONTROLFILE  HIGH    FINE     APR 02 12:00:00  Y    current.17006.843826701
    ASMCMD [+RECO_DM01/APSPROD/CONTROLFILE] > cd +DATA_DM01
    ASMCMD [+DATA_DM01] > cd EMERALD/CONTROLFILE
    ASMCMD [+DATA_DM01/EMERALD/CONTROLFILE] > ls -l
    Type         Redund  Striped  Time             Sys  Name
                                                   N    cntrl01.dbf => +DATA_DM01/APSPROD/CONTROLFILE/current.3678.843826699
                                                   N    cntrl03.dbf => +DATA_DM01/APSPROD/CONTROLFILE/current.3679.843826701
    ASMCMD [+DATA_DM01/EMERALD/CONTROLFILE] > cd +DATA_DM01/APSPROD/CONTROLFILE
    ASMCMD [+DATA_DM01/APSPROD/CONTROLFILE] > ls -l
    Type         Redund  Striped  Time             Sys  Name
    CONTROLFILE  HIGH    FINE     APR 02 12:00:00  Y    current.3678.843826699
    CONTROLFILE  HIGH    FINE     APR 02 12:00:00  Y    current.3679.843826701
    How can I ensure that every thing gets created in +DATA_DM01/EMERALD/ or [+RECO_DM01/EMERALD??  similary for datafile restore even I have used set new file name ASM fully quilified OMF  datafile gets created under +DATA_DM01/APSPROD/
    ASMCMD [+DATA_DM01/EMERALD/DATAFILE]
    N    undots5_01.dbf => +DATA_DM01/APSPROD/DATAFILE/APPS_UNDOTS5.3669.843818269
    Thanks
    PV

    Even If I explicitly say
    rman target / nocatalog
    RMAN> restore controlfile  to '+DATA_DM01/emerald/controlfile/cntrl01.dbf' from '/dbfs_direct/FS1/RMAN_APSPROD/cf_APSPROD_i4p4b62m_1_1';
    Starting restore at 02-APR-14
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=64 device type=DISK
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:03
    Finished restore at 02-APR-14
    It create as alias name  +DATA_DM01/emerald/controlfile/cntrl01.dbf' pointing to +DATA_DM01/APSPROD/CONTROLFILE/
    ASMCMD [+DATA_DM01/EMERALD/CONTROLFILE] > ls -l
    Type         Redund  Striped  Time             Sys  Name
                                                   N    cntrl01.dbf => +DATA_DM01/APSPROD/CONTROLFILE/current.3679.843828927
    ASMCMD [+DATA_DM01/EMERALD/CONTROLFILE] > cd +DATA_DM01/APSPROD
    ASMCMD [+DATA_DM01/APSPROD] > cd CONTROLFILE
    ASMCMD [+DATA_DM01/APSPROD/CONTROLFILE] > ls -l
    Type         Redund  Striped  Time             Sys  Name
    CONTROLFILE  HIGH    FINE     APR 02 12:00:00  Y    current.3679.843828927
    ASMCMD [+DATA_DM01/APSPROD/CONTROLFILE] >

  • My iphoto has a transparent question mark over it and will not open. How do I fix this?

    My iphoto on my imac will not open. It has a transparent question mark over it...how do I fix it?

    Is the question mark on the Dock at the bottom of your screen? Then it means that the Dock can't find the application.
    To re-install iPhoto
    1. Put the iPhoto.app in the trash (Drag it from your Applications Folder to the trash)
    2a: On 10.5:  Go to HD/Library/Receipts and remove any pkg file there with iPhoto in the name.
    2b: On 10.6: Those receipts may be found as follows:  In the Finder use the Go menu and select Go To Folder. In the resulting window type
    /var/db/receipts/
    2c: on 10.7 they're at
    /private/var/db/receipts
    A Finder Window will open at that location and you can remove the iPhoto pkg files.
    3. Re-install.
    If you purchased an iLife Disk, then iPhoto is on it.
    If iPhoto was installed on your Mac when you go it then it’s on the System Restore disks that came with your Mac. Insert the first one and opt to ‘Install Bundled Applications Only.
    If you purchased it on the App Store you can find it in your Purchases List.

  • Rman restoration - Cannot identify file

    Hi,
    I am doing a RMAN restoration in linux server named I have a full backup plus next two days incremental backup to restore database till time.
    I have created a instance started it wilth a pfile and restored the control file with below option
    RMAN> restore control file from C:\backups\control_123.ctl';
    The control file is succesfully restored...
    RMAN > Alter database mount;
    Database Mounted.
    when i tried to restore the USERS tablespace i am getting the below error that file cannot be identified.
    ORA-19870: error reading backup piece C:\Rman_files\hth_data_full_6304_1_770178761.bkp
    ORA-19505: failed to identify file "C:\Rman_files\hth_data_full_6304_1_770178761.bkp
    ORA-27037: unable to obtain file status
    My question is it mandatory to move the rman and archive log backup files to the path that is specified in the backup control file, can we copy the RMAN files to some other location instead of default control file location and restore from there ?
    Thanks
    Edited by: user11981262 on Mar 6, 2012 3:58 AM

    user11981262 wrote:
    Hi,
    I am doing a RMAN restoration in linux server named I have a full backup plus next two days incremental backup to restore database till time.
    I have created a instance started it wilth a pfile and restored the control file with below option
    RMAN> restore control file from C:\backups\control_123.ctl';
    The control file is succesfully restored...
    RMAN > Alter database mount;
    Database Mounted.
    when i tried to restore the USERS tablespace i am getting the below error that file cannot be identified.
    ORA-19870: error reading backup piece C:\Rman_files\hth_data_full_6304_1_770178761.bkp
    ORA-19505: failed to identify file "C:\Rman_files\hth_data_full_6304_1_770178761.bkp
    ORA-27037: unable to obtain file status
    My question is it mandatory to move the rman and archive log backup files to the path that is specified in the backup control file, can we copy the RMAN files to some other location instead of default control file location and restore from there ?
    Thanks
    Edited by: user11981262 on Mar 6, 2012 3:58 AM
    can we copy the RMAN files to some other location instead of default control file location and restore from there ? Catalog the backup before restoring the tablespace
    or just put the backup in the default location as in your case it is in folder "C:\Rman_files\"
    --neeraj

  • Camera is black-- unable to take any pictures. All phone content has been restored and still hasn't fixed the issue. HELP

    Camera is black-- unable to take any pictures. All phone content has been restored and still hasn't fixed the issue. HELP

    Hey DannyHTDB,
    Thanks for the question. If you follow steps 1, 4, then 5 in the iPod troubleshooting assistant, that will most likely resolve the issue:
    iPod Troubleshooting Assisstant
    http://www.apple.com/support/ipodtouch/assistant/ipodtouch/
    All the best,
    David

  • Special Patch for 10.2 in order to do an rman restore upgrade to 11gR2

    Am about to start on the 11gR2 upgrade process and was talking with some dba-friends in other companies to learn what not to do , etc. I had mentioned that I wanted to do an RMAN restore then alter resetlogs upgrade and let the upgrade process automatically take me to 11gR2. He mentioned that he had tried that but had run into an rman error when 10g did not have some table in the data dictionary, but there should be a patch for that. Essentially he said the patch would put the pre-11g table needed for an rman restore upgrade. He didnt have the information available and has yet to get back to me, and I have searched metalink looking for it with no luck.
    Has anyone else hit this error and could provide either the metalink article, however , better the patch number i need. I will be going from 10.2.0.3 to 11gR2 via an rman restore to a remote system and then issuing an alter ....resetlogs upgrade command.
    Thanks in advance
    Ed Grimm

    I am not an RMAN expert, but pl see if MOS Doc 790559.1 (RMAN Restore of Backups as Part of a Database Upgrade) can help
    HTH
    Srini

  • Newbie Trying to restore Oracle database. please help

    Hi All,
    I am a newbie who is trying to restore Oracle database, I currently use RMAN to backup the database, but the database needs to be restored onto a test server, I'm not quite sure of what I need to do or where I need to start here.
    I currently backup the following
    SPfile
    ControlFile
    Datafile
    Archive Log
    If someone can point me in the right direction or maybe a link to a website, I would be very grateful.
    Thanks.

    Hi,
    login to your box using ssh or telnet
    1. rman> connect target /
    3. rman >startup force nomount;
    4. rman >restore spfile from '/u01/restore/restore/2009_02_07/o1_mf_s_678160942_4rstxj3k_.bkp';
    5. rman > shutdown immediate;
    6. rman > startup nomount;
    7. rman > restore controlfile from '/u01/restore/restore/2009_02_07/o1_mf_s_678160942_4rstxj3k_.bkp';
    8. rman > mount database;
    9. rman > restore database;
    10.rman > recover database;
    11. rman > sql 'alter database open resetlogs';
    below is the sample i've done on my test environment
    RMAN> startup mount;
    connected to target database (not started)
    Oracle instance started
    database mounted
    Total System Global Area 167772160 bytes
    Fixed Size 1218316 bytes
    Variable Size 67111156 bytes
    Database Buffers 96468992 bytes
    Redo Buffers 2973696 bytes
    RMAN> backup database;
    Starting backup at 11-FEB-09
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=158 devtype=DISK
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00001 name=/u01/app/oracle/oradata/ORCL1/datafile/o1_mf_system_4qzm5q6g_.dbf
    input datafile fno=00003 name=/u01/app/oracle/oradata/ORCL1/datafile/o1_mf_sysaux_4qzm5qc1_.dbf
    input datafile fno=00005 name=/u01/app/oracle/oradata/ORCL1/datafile/o1_mf_example_4qzmky86_.dbf
    input datafile fno=00002 name=/u01/app/oracle/oradata/ORCL1/datafile/o1_mf_undotbs1_4qzm5sgk_.dbf
    input datafile fno=00004 name=/u01/app/oracle/oradata/ORCL1/datafile/o1_mf_users_4qzm5vqj_.dbf
    channel ORA_DISK_1: starting piece 1 at 11-FEB-09
    channel ORA_DISK_1: finished piece 1 at 11-FEB-09
    piece handle=/backup/ORCL1_1_1_678528722 tag=TAG20090211T081201 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:02:35
    Finished backup at 11-FEB-09
    Starting Control File and SPFILE Autobackup at 11-FEB-09
    piece handle=/backup/c-1061732667-20090211-00 comment=NONE
    Finished Control File and SPFILE Autobackup at 11-FEB-09
    RMAN>
    --- deleted all my file including spfile..
    RMAN> shutdown immediate;
    database dismounted
    Oracle instance shut down
    RMAN> exit
    Recovery Manager complete.
    [oracle]:/home/oracle>
    [LinuxForOracle.bai.com]: orcl1 >rman target /
    Recovery Manager: Release 10.2.0.1.0 - Production on Wed Feb 11 08:17:27 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database (not started)
    RMAN> startup nomount;
    startup failed: ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/u01/app/oracle/product/10.2.0.3/dbs/initorcl1.ora'
    starting Oracle instance without parameter file for retrival of spfile
    Oracle instance started
    Total System Global Area 159383552 bytes
    Fixed Size 1218268 bytes
    Variable Size 54528292 bytes
    Database Buffers 100663296 bytes
    Redo Buffers 2973696 bytes
    RMAN> restore spfile from '/backup/c-1061732667-20090211-00';
    Starting restore at 11-FEB-09
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=36 devtype=DISK
    channel ORA_DISK_1: autobackup found: /backup/c-1061732667-20090211-00
    channel ORA_DISK_1: SPFILE restore from autobackup complete
    Finished restore at 11-FEB-09
    RMAN> shutdown immediate;
    Oracle instance shut down
    RMAN> startup nomount;
    connected to target database (not started)
    Oracle instance started
    Total System Global Area 167772160 bytes
    Fixed Size 1218316 bytes
    Variable Size 67111156 bytes
    Database Buffers 96468992 bytes
    Redo Buffers 2973696 bytes
    RMAN> restore controlfile from '/backup/c-1061732667-20090211-00';
    Starting restore at 11-FEB-09
    using channel ORA_DISK_1
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:16
    output filename=/u01/app/oracle/oradata/ORCL1/controlfile/o1_mf_4s5n6jvq_.ctl
    output filename=/u01/app/oracle/flash_recovery_area/ORCL1/controlfile/o1_mf_4s5n6n4f_.ctl
    Finished restore at 11-FEB-09
    RMAN> mount database;
    database mounted
    released channel: ORA_DISK_1
    RMAN> restore database;
    Starting restore at 11-FEB-09
    Starting implicit crosscheck backup at 11-FEB-09
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    Crosschecked 1 objects
    Finished implicit crosscheck backup at 11-FEB-09
    Starting implicit crosscheck copy at 11-FEB-09
    using channel ORA_DISK_1
    Finished implicit crosscheck copy at 11-FEB-09
    searching for all files in the recovery area
    cataloging files...
    no files cataloged
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to /u01/app/oracle/oradata/ORCL1/datafile/o1_mf_system_4qzm5q6g_.dbf
    restoring datafile 00002 to /u01/app/oracle/oradata/ORCL1/datafile/o1_mf_undotbs1_4qzm5sgk_.dbf
    restoring datafile 00003 to /u01/app/oracle/oradata/ORCL1/datafile/o1_mf_sysaux_4qzm5qc1_.dbf
    restoring datafile 00004 to /u01/app/oracle/oradata/ORCL1/datafile/o1_mf_users_4qzm5vqj_.dbf
    restoring datafile 00005 to /u01/app/oracle/oradata/ORCL1/datafile/o1_mf_example_4qzmky86_.dbf
    channel ORA_DISK_1: reading from backup piece /backup/ORCL1_1_1_678528722
    channel ORA_DISK_1: restored backup piece 1
    piece handle=/backup/ORCL1_1_1_678528722 tag=TAG20090211T081201
    channel ORA_DISK_1: restore complete, elapsed time: 00:02:57
    Finished restore at 11-FEB-09
    RMAN> recover database;
    Starting recover at 11-FEB-09
    using channel ORA_DISK_1
    starting media recovery
    archive log thread 1 sequence 6 is already on disk as file /u01/app/oracle/flash_recovery_area/ORCL1/onlinelog/o1_mf_2_4qzmccv0_.log
    archive log filename=/u01/app/oracle/flash_recovery_area/ORCL1/onlinelog/o1_mf_2_4qzmccv0_.log thread=1 sequence=6
    media recovery complete, elapsed time: 00:00:01
    Finished recover at 11-FEB-09
    RMAN> sql 'alter database open resetlogs';
    sql statement: alter database open resetlogs
    RMAN> exit
    [oracle]:/home/oracle>
    [LinuxForOracle.bai.com]: orcl1 >sqlplus '/ as sysdba'
    SQL> select name from v$database;
    NAME
    ORCL1
    SQL>
    i hope this will help you... enjoy!
    Regards,
    baidba

  • Unusual RMAN RESTORE behavior 11.1 standard edition.

    Doing an 11.1 standard edition restore of a database from source A to Source B (2 different windows servers). Backup is an old backup and RMAN just seats there and nothing comes back with errors. I don't believe its doing anything. Alert log shows a lot of "ORA-12751: cpu time or run time policy violation" and a tracefile has a lot of indication that the source was an ASM file system(this should be ok as it doesnt change the conversion till the end of my script where i tell it to "switch datafile all" (My script is also below). Not sure what the issue is. Find the behavior very weird.Thanks.
    Hot Backup end marker scn: 0x0000.00000000
    aux_file is NOT DEFINED
    Plugged readony: NO
    Plugin scnscn: 0x0000.00000000
    Plugin resetlogs scn/timescn: 0x0000.00000000 01/01/1988 00:00:00
    Foreign creation scn/timescn: 0x0000.00000000 01/01/1988 00:00:00
    Foreign checkpoint scn/timescn: 0x0000.00000000 01/01/1988 00:00:00
    DDE rules only execution for: ORA 1110
    ----- START Event Driven Actions Dump ----
    ---- END Event Driven Actions Dump ----
    ----- START DDE Actions Dump -----
    Executing SYNC actions
    Executing ASYNC actions
    ----- END DDE Actions Dump (total 0 csec) -----
    *** 2013-09-09 07:58:13.921
    WARNING: Failed to start ASM background process (ASMB)
    *** 2013-09-09 07:58:20.906
    WARNING: Failed to start ASM background process (ASMB)
    DATA FILE #40:
      (name #49) +DATA/jDIR_NAME/datafile/cvdtat.303.686779457
    creation size=128000 block size=8192 status=0xe head=49 tail=49 dup=1
    tablespace 40, index=41 krfil=40 prev_file=0
    unrecoverable scn: 0x0000.00000000 01/01/1988 00:00:00
    Checkpoint cnt:9108 scn: 0x0002.7f538e2a 08/25/2013 04:50:52
    Stop scn: 0xffff.ffffffff 08/11/2013 14:19:07
    Creation Checkpointed at scn:  0x0000.015cc44a 05/13/2009 20:04:23
    thread:1 rba:(0x6b.24144.10)
    My RECO SCRIPT and output:
    run {
    ALLOCATE CHANNEL C1 DEVICE TYPE DISK;
    ALLOCATE CHANNEL C2 DEVICE TYPE DISK;
    ALLOCATE CHANNEL C3 DEVICE TYPE DISK;
    ALLOCATE CHANNEL C4 DEVICE TYPE DISK;
    ALLOCATE CHANNEL C5 DEVICE TYPE DISK;
    set newname for datafile 1 to 'E:\DATA\DIR_NAME\datafile\system.dbf';                                                                                                                         
    set newname for datafile 2 to 'E:\DATA\DIR_NAME\datafile\sysaux.dbf';                                                                                                                         
    set newname for datafile 3 to 'E:\DATA\DIR_NAME\datafile\undotbs1.dbf';                                                                                                                       
    set newname for datafile 4 to 'E:\DATA\DIR_NAME\datafile\users_01.dbf';                                                                                                                          
    set newname for datafile 5 to 'E:\DATA\DIR_NAME\datafile\undotbs2.dbf';  
    set until sequence 9360;
    RESTORE DATABASE;
    SWITCH DATAFILE ALL;
    RECOVER DATABASE;
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET until clause
    Starting restore at 07-SEP-13
    datafile 6 not processed because file is offline
    datafile 10 not processed because file is offline
    datafile 14 not processed because file is offline
    datafile 18 not processed because file is offline
    datafile 22 not processed because file is offline
    datafile 26 not processed because file is offline
    datafile 32 not processed because file is offline
    datafile 33 not processed because file is offline
    datafile 34 not processed because file is offline
    datafile 35 not processed because file is offline
    datafile 36 not processed because file is offline
    datafile 37 not processed because file is offline

    Hi,
    Check this Doc:MMON Suspended Due to ORA-12751 "cpu time or run time policy violation" (Doc ID 761298.1)
    Its not reported for SE, but i believe Symptom like same during the RMAN restore. Check the Various  load on server as compare to your DB and Server.
    HTH

  • Why is Oracle RMAN restoring a datafile to a different diskgroup?

    Hello,
    When I was trying an RMAN restore of a datafile, I found it is restoring the datafile to a new location. Why is Oracle restoring a datafile to a different diskgroup instead of restoring to the original diskgroup where the datafile was originally present?
    1) I have a datafile '+DATA3/slob1/datafile/undotbs2.260.819992871' which is on +DATA3 diskgroup
    2) I am taking a backup on to +FRA diskgroup
    3) I then offline and delete the datafile 5 using asmcmd to simulate the loss of a datafile
    4) I perform restore and recover of datafile 5 from the backup set on +FRA
    5) Unfortunately the datafile got restored on to +FRA instead of +DATA3. I realize that the file name can change because it is going to be a new file on ASM but I would assume this will be on the same diskgroup atleast since the control file has it pointing to '+DATA3/slob1/datafile/undotbs2.260.819992871' before restoration.
    When I tested on file system, this gets restored on to file system correctly.
    Anyone has any idea why the datafile was restored on to +FRA instead of +DATA3?
    Below is the screen output of what I did.
    [oracle@ltc-rac02[SLOB11]:/home/oracle ]$ rman target /
    Recovery Manager: Release 11.2.0.2.0 - Production on Thu Jul 11 17:09:21 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: SLOB1 (DBID=4051414893)
    RMAN> report schema;
    using target database control file instead of recovery catalog
    Report of database schema for database with db_unique_name SLOB1
    List of Permanent Datafiles
    ===========================
    File Size(MB) Tablespace           RB segs Datafile Name
    1    720      SYSTEM               ***     +DATA3/slob1/datafile/system.258.819992865
    2    590      SYSAUX               ***     +DATA3/slob1/datafile/sysaux.259.819992869
    3    24430    UNDOTBS1             ***     +DATA3/slob1/datafile/undotbs1.256.819992725
    4    5        USERS                ***     +DATA3/slob1/datafile/users.262.819992873
    5    25       UNDOTBS2             ***     +DATA3/slob1/datafile/undotbs2.260.819992871
    6    10824    IOPS                 ***     +DATA3/slob1/datafile/iops.257.820445551
    RMAN> backup as backupset datafile 5 format '+FRA';
    Starting backup at 11-07-2013 17:10:03
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=687 device type=DISK
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00005 name=+DATA3/slob1/datafile/undotbs2.260.819992871
    channel ORA_DISK_1: starting piece 1 at 11-07-2013 17:10:04
    channel ORA_DISK_1: finished piece 1 at 11-07-2013 17:10:05
    piece handle=+FRA/slob1/backupset/2013_07_11/nnndf0_tag20130711t171003_0.256.820516205 tag=TAG20130711T171003 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
    Finished backup at 11-07-2013 17:10:05
    RMAN> SQL 'alter database datafile 5 offline';
    using target database control file instead of recovery catalog
    sql statement: alter database datafile 5 offline
    RMAN> quit
    Recovery Manager complete.
    [oracle@ltc-rac02[SLOB11]:/home/oracle ]$ asmcmd rm +DATA3/slob1/datafile/undotbs2.260.819992871
    [oracle@ltc-rac02[+ASM2]:/home/oracle ]$ asmcmd ls -l  +DATA3/slob1/datafile/undotbs2.260.819992871
    ASMCMD-08002: entry 'undotbs2.260.819992871' does not exist in directory '+DATA3/slob1/datafile/'
    [oracle@ltc-rac02[+ASM2]:/home/oracle ]$ . oraenv
    ORACLE_SID = [+ASM2] ? SLOB11
    The Oracle base remains unchanged with value /u01/app/oracle
    [oracle@ltc-rac02[SLOB11]:/home/oracle ]$ rman target /
    Recovery Manager: Release 11.2.0.2.0 - Production on Thu Jul 11 17:12:27 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: SLOB1 (DBID=4051414893)
    RMAN> report schema;
    using target database control file instead of recovery catalog
    Report of database schema for database with db_unique_name SLOB1
    List of Permanent Datafiles
    ===========================
    File Size(MB) Tablespace           RB segs Datafile Name
    1    720      SYSTEM               ***     +DATA3/slob1/datafile/system.258.819992865
    2    590      SYSAUX               ***     +DATA3/slob1/datafile/sysaux.259.819992869
    3    24430    UNDOTBS1             ***     +DATA3/slob1/datafile/undotbs1.256.819992725
    4    5        USERS                ***     +DATA3/slob1/datafile/users.262.819992873
    5    0        UNDOTBS2             ***     +DATA3/slob1/datafile/undotbs2.260.819992871
    6    10824    IOPS                 ***     +DATA3/slob1/datafile/iops.257.820445551
    RMAN> restore datafile 5;
    Starting restore at 11-07-2013 17:12:43
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=687 device type=DISK
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00005 to +DATA3/slob1/datafile/undotbs2.260.819992871
    channel ORA_DISK_1: reading from backup piece +FRA/slob1/backupset/2013_07_11/nnndf0_tag20130711t171003_0.256.820516205
    channel ORA_DISK_1: piece handle=+FRA/slob1/backupset/2013_07_11/nnndf0_tag20130711t171003_0.256.820516205 tag=TAG20130711T171003
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
    Finished restore at 11-07-2013 17:12:46
    RMAN> report schema;
    Report of database schema for database with db_unique_name SLOB1
    List of Permanent Datafiles
    ===========================
    File Size(MB) Tablespace           RB segs Datafile Name
    1    720      SYSTEM               ***     +DATA3/slob1/datafile/system.258.819992865
    2    590      SYSAUX               ***     +DATA3/slob1/datafile/sysaux.259.819992869
    3    24430    UNDOTBS1             ***     +DATA3/slob1/datafile/undotbs1.256.819992725
    4    5        USERS                ***     +DATA3/slob1/datafile/users.262.819992873
    5    25       UNDOTBS2             ***     +FRA/slob1/datafile/undotbs2.257.820516365
    6    10824    IOPS                 ***     +DATA3/slob1/datafile/iops.257.820445551
    RMAN> recover datafile 5;
    Starting recover at 11-07-2013 17:13:37
    using channel ORA_DISK_1
    starting media recovery
    media recovery complete, elapsed time: 00:00:01
    Finished recover at 11-07-2013 17:13:39
    RMAN> SQL 'alter database datafile 5 online';
    sql statement: alter database datafile 5 online
    Thanks,
    Rijesh

    Hello,
    Can you check what is the value set for the parameter "db_create_file_dest" on the database ?
    Regards,
    Shivananda

Maybe you are looking for

  • Could not initialize class sun.awt.X11.XToolkit

    hi all String fileName = "c:/test/one.jpg"; Image imgg = Toolkit.getDefaultToolkit().getImage(fileName);      ImageIcon img = new ImageIcon(imgg);      imgDim = ""+img.getIconHeight(); when i run this code in linux machine am getting the error Could

  • Custom Attributes in Manifest?

    Is it possible when compiling/building my j2me application using the Sun Wireless toolkit to have custom attributes/values in the manifest automatically? I've tried Project>Settings>User Defined but they arnt in the packaged jar files' manifest when

  • Move tool? And #of layers?

    Where is the move tool? How can I reposition a selection in a layer? And why can I only have three layers?

  • Video FX not applying to clips

    Hi all - yesterday I exported a clip from Flash as a quicktime movie, imported it into a new project, then brought in some other existing clips. When I tried to add Video FX to the other clip, in the preview it looked fine, but when I hit "apply", th

  • HT201412 My iphone4 won't power on at all, even after trying all the suggestions on here

    ok I have tried all of the suggestions that apple has supplied but none of them work.I am still unable to power on my iphone 4.i have connected it to my pc and will leave it charging while I am work....Zephie