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

Similar Messages

  • Restore database validate ERROR

    I configure RMAN yesterday with the following parameters:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u02/rman/prod1/%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 2;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 2;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 2;
    CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT '/backup/prod1/backup_db/%U' MAXPIECESIZE 2000M;
    CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT '/backup/prod1/backup_db/%U' MAXPIECESIZE 2000M;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/backup/rman/prod1/scontrolfile.ctl';
    CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT '/backup/prod1/backup_db/%U' MAXPIECESIZE 2000M;
    I performed a full backup after this and was trying to verify it this morning. But I am getting the following errors:
    RMAN-00558: error encountered while parsing input commands
    RMAN-01005: syntax error: found "equal": expecting one of: "double-quoted-string
    , identifier, newline, ;, single-quoted-string"
    RMAN-01007: at line 1 column 16 file: standard input
    RMAN> connect target /
    connected to target database: PROD (DBID=444452)
    RMAN> restore database validate;
    Starting restore at 11-SEP-07
    using target database controlfile instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=950 devtype=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid=1136 devtype=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 09/11/2007 09:59:44
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 258 found to restore
    RMAN-06023: no backup or copy of datafile 257 found to restore
    I listed RMAN back and my full backup is showing. Please help your sister out.

    RMAN> connect target /
    connected to target database: PROD (DBID=35109652)
    using target database controlfile instead of recovery catalog
    RMAN> report schema;
    Report of database schema
    File K-bytes Tablespace RB segs Datafile Name
    1 523264 SYSTEM *** /dev/rprod_sys_000
    2 1047552 UNDO *** /dev/rprod_und_001
    3 130048 MISC *** /dev/rprod_msc_000
    4 4193280 D_R_SMALL *** /dev/rdprod_0000001
    5 3872768 I_R_SMALL *** /dev/riprod_0000001
    6 916480 I_R_LARGE *** /dev/riprod_0000002
    7 637952 D_R_LARGE *** /dev/rdprod_0000002
    RMAN> backup database;
         #This was successful/completed although I don’t have the output.
    RMAN> list backup;
    List of Backup Sets
    ===================
    BS Key Type LV Size
    1 Full 3G
    List of Datafiles in backup set 1
    File LV Type Ckp SCN Ckp Time Name
    19 Full 2241992994123 10-SEP-07 /dev/rlprod_0000001
    25 Full 2241992994123 10-SEP-07 /dev/rdprod_0000010
    30 Full 2241992994123 10-SEP-07 /dev/riprod_0000012
    31 Full 2241992994123 10-SEP-07 /dev/riprod_0000013
    36 Full 2241992994123 10-SEP-07 /dev/riprod_0000015
    Backup Set Copy #1 of backup set 1
    Device Type Elapsed Time Completion Time Compressed Tag
    DISK 00:07:20 10-SEP-07 NO TAG20070910T225622
    List of Backup Pieces for backup set 1 Copy #1
    BP Key Pc# Status Piece Name
    1 1 AVAILABLE /backup/prod1/backup_db/0girkfgo_1_1
    3 2 AVAILABLE /backup/prod1/backup_db/0girkfgo_2_1
    Backup Set Copy #2 of backup set 1
    Device Type Elapsed Time Completion Time Compressed Tag
    DISK 00:07:20 10-SEP-07 NO TAG20070910T225622
    List of Backup Pieces for backup set 1 Copy #2
    BP Key Pc# Status Piece Name
    2 1 AVAILABLE /backup/prod1/backup_db/0girkfgo_1_2
    4 2 AVAILABLE /backup/prod1/backup_db/0girkfgo_2_2
    BS Key Type LV Size
    2 Full 3G
    List of Datafiles in backup set 2
    File LV Type Ckp SCN Ckp Time Name
    4 Full 2241992994124 10-SEP-07 /dev/rdprod_0000001
    8 Full 2241992994124 10-SEP-07 /dev/riprod_0000003
    12 Full 2241992994124 10-SEP-07 /dev/rdprod_0000005
    17 Full 2241992994124 10-SEP-07 /dev/rdprod_0000007
    24 Full 2241992994124 10-SEP-07 /dev/rdprod_0000009
    27 Full 2241992994124 10-SEP-07 /dev/riprod_0000011
    Backup Set Copy #1 of backup set 2
    Device Type Elapsed Time Completion Time Compressed Tag
    DISK 00:07:37 10-SEP-07 NO TAG20070910T225622
    List of Backup Pieces for backup set 2 Copy #1
    BP Key Pc# Status Piece Name
    5 1 AVAILABLE /backup/prod1/backup_db/0hirkfgp_1_1
    7 2 AVAILABLE /backup/prod1/backup_db/0hirkfgp_2_1
    Backup Set Copy #2 of backup set 2
    Device Type Elapsed Time Completion Time Compressed Tag
    DISK 00:07:37 10-SEP-07 NO TAG20070910T225622
    List of Backup Pieces for backup set 2 Copy #2
    BP Key Pc# Status Piece Name
    6 1 AVAILABLE /backup/prod1/backup_db/0hirkfgp_1_2
    8 2 AVAILABLE /backup/prod1/backup_db/0hirkfgp_2_2
    RMAN> validate backupset 1;
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=950 devtype=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid=949 devtype=DISK
    channel ORA_DISK_1: starting validation of datafile backupset
    channel ORA_DISK_1: restored backup piece 1
    piece handle=/backup/prod1/backup_db/0girkfgo_1_1 tag=TAG20070910T225622
    channel ORA_DISK_1: restored backup piece 2
    piece handle=/backup/prod1/backup_db/0girkfgo_2_1 tag=TAG20070910T225622
    channel ORA_DISK_1: validation complete
    The problem is that I can’t perform: restore database validate; or test.

  • RMAN Error - restore database validate

    Hi all
    I am trying to validate a full database backup taken on tape using 'restore database validate' command but for some reason this command spits out multi-page long PL/SQL code (below truncated output). I have searched all over for a solution but can't seem to figure out the problem.
    Any assistance will be appreciated.
    RMAN> allocate channel for maintenance type SBT_TAPE parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
    2> crosscheck backup;
    3> restore database validate;
    4> release channel;
    5> exit;
    allocated channel: ORA_MAINT_SBT_TAPE_1
    channel ORA_MAINT_SBT_TAPE_1: SID=82 device type=SBT_TAPE
    channel ORA_MAINT_SBT_TAPE_1: Data Protection for Oracle: version 5.4.1.0
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=c-822607628-20101006-02 RECID=66 STAMP=731711718
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=DB_20101007_77_2dlpsj84_1_1.dbf RECID=67 STAMP=731794692
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=CF_20101008_116_3klpt5iv_1_1.ctl RECID=106 STAMP=731813472
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=c-822607628-20101008-01 RECID=107 STAMP=731813518
    Crosschecked 42 objects
    Starting restore at 08-OCT-10
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=110 device type=DISK
    DBGANY: CMD type=IRESTORE cmdid=1 status=NOT STARTED
    DBGANY: 1 STEPstepid=1 cmdid=1 status=NOT STARTED devtype=SBT_TAPE bs.stamp=731812991 step_size=0 Bytes
    DBGANY: 1 TEXTNOD = -- rsdf_start
    DBGANY: 2 TEXTNOD = declare
    DBGANY: 3 TEXTNOD = /* restoreStatus */
    DBGANY: 4 TEXTNOD = state binary_integer;
    DBGANY: 5 TEXTNOD = pieces_done binary_integer;
    DBGANY: 6 TEXTNOD = files binary_integer;
    DBGANY: 7 TEXTNOD = datafiles boolean;
    DBGANY: 8 TEXTNOD = incremental boolean;
    DBGANY: 9 TEXTNOD = device boolean;
    DBGANY: 10 TEXTNOD = /* restorebackuppiece */
    DBGANY: 11 TEXTNOD = done boolean;
    DBGANY: 12 TEXTNOD = currcf boolean;
    DBGANY: 266 TEXTNOD = sys.dbms_backup_restore.restoreCancel(FALSE);
    DBGANY: 267 TEXTNOD = exception
    DBGANY: 268 TEXTNOD = when others then
    DBGANY: 269 TEXTNOD = krmicd.writeMsg(1005,
    DBGANY: 270 TEXTNOD = 'c. dbms_backup_restore.restoreCancel() failed');
    DBGANY: 271 TEXTNOD = end;
    DBGANY: 272 TEXTNOD = sys.dbms_backup_restore.setRmanStatusRowId(rsid=>0, rsts=>0);
    DBGANY: 273 TEXTNOD = end;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00601: fatal error in recovery manager
    RMAN-03004: fatal error during execution of command
    RMAN-00600: internal error, arguments [6000] [] [] [] []

    Hi Sybrand
    So here's the deal:
    1) 'backup validate database;' is run before RMAN backup to check for any logical or physical corruption in datafiles or archivelogs.
    If the backup validation discovers corrupt blocks, then RMAN updates the V$DATABASE_BLOCK_CORRUPTION view with rows describing the corruptions.
    2)
    a- 'restore database validate;' is run after RMAN backup to check for any logical or physical corruption in backupsets.
    b- 'validate backupset <n>;' is also run after RMAN backup to check for any logical or physical corruption in backupsets. The difference being you have to run it for each individual backupset as opposed to the previous option (2a), which loops through all existing backupsets.
    I believe for now only option 2b is available for use in my case.
    Cheers.

  • Restore database validate command

    Hey Guys..
    Is there a way to attempt to run the "restore database validate" command specifying a different location for the backup?
    Lets say i have a backup in the following location: C:\SimpleBackup
    How can i run the restore validate command to that location instead of the default flash recovery?

    We always use the :
    set newname for datafile 1 to '/opt/dbsid/db01/system.dbf';
    set newname for datafil 2 to '/opt/dbsid/db01/temp01.dbf';
    to restore backup files to another location.
    Is that useable here ?
    Edit: I just re-read the question. Is the c:\simplebackup a destination to put restored files to, or is it the location of the rman archive ?
    if the first is true, then the above can't be used.
    Edited by: orafrf on Mar 16, 2009 4:37 PM

  • RMAN restore database from another backup of different database in the same host

    Hi Experts,
    I have taken FULL Database Backup using RMAN , now I want to Restore and Recover the same database on different instance on Same Host.
    Could u suggest any document or Steps to achieve this task.....
    Thanks,
    Mouni.

    No Problem.
    Please check this :
    http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmdupdb.htm#BRADV420
    ORACLE-BASE - Duplicate a Database Using RMAN in Oracle Database 11g Release 2
    Ensure you follow what Mr. Hemant has mentioned.
    Regards
    Karan

  • Rman "restore database"

    Hi Guys,
    Scenario:
    I have a production database 10.2.0.4 running in host A. I did a full backup of the database using rman and of cause, all the archive logs.
    Now in host B, i wanted to perform a restore of the database. I'm aware there's a duplicate function in RMAN and has tried it and working. However for this exercise, I wanted to test out the "restore" command. I do not want the database to be restored to the production as the database is running. Can i do this? I just have to ensure that tnsnames in host b is not pointed to the production server HOST A

    dbaing wrote:
    Hi Guys,
    Scenario:
    I have a production database 10.2.0.4 running in host A. I did a full backup of the database using rman and of cause, all the archive logs.
    Now in host B, i wanted to perform a restore of the database. I'm aware there's a duplicate function in RMAN and has tried it and working. However for this exercise, I wanted to test out the "restore" command. I do not want the database to be restored to the production as the database is running. Can i do this? I just have to ensure that tnsnames in host b is not pointed to the production server HOST ACheck my video tutorial on "Performing Disaster Recovery"
    http://kamranagayev.wordpress.com/2010/03/29/rman-video-tutorial-series-performing-disaster-recovery-with-rman/

  • RMAN Restore Database vs Duplicate Database

    Currently we have Dev Database which runs on its own Server and registered in Dev Catalog Database for RMAN backups. We also have production Database which runs on own server and register to Prod Catalog Database for RMAN backups.(Both databases 10g running on AIX servers)
    We are in process of developing new process which allows us to refresh Dev Database from Production couple times per week.
    Here are my questions. Since Production Database is utilizing RMAN for backups I want to use RMAN Duplicate to new host or restore to new host
    1.     Would duplicate command auto register newly re created Dev Database in Prod Catalog ? I really do not want to.
    2.     Would Duplicate will generate new DBID for re created Dev Database? I do not want to ..
    3.     Since Dev Database registered in its own RMAN Catalog. We would want to continue to run regular backups every night. Do we need to do anything special or just run regular backup script?
    4.     Also should we look at regular RMAN recovery/restore option to new host instead of RMAN Duplicate for what we need to accomplish?
    Any input would be really appreciated.

    If you need "up-to-date" data in your dev environment, you have no choice but to duplicate your prod database.
    Restoring would only apply if you wanted the same data as was in your dev database as of a certain point in time.
    RMAN is pretty straight forward and if that works for you, I would continue with that method.
    If you also do hot/cold backups (O/S copies), then the question of speed comes into play (is it faster to copy the O/S files to your dev servers and apply the needed archivelogs or is RMAN faster). We have scenarios when RMAN is twice as fast as O/S copies and others when O/S copies are better. Testing should tell you which would be best in your case.
    I hope that answers your question.

  • What are RMAN "RESTORE .. PREVIEW" and "BACKUP .. VALIDATE" pros.&cons.?

    On 10gR2 and Solaris 10 we want to test our rman backups periodically. Can I have your advices on which method and how we might use?
    BACKUP .. VALIDATE
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/strategy004.htm#sthref186
    RESTORE... PREVIEW
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/recov003.htm#sthref555
    Thank you.

    As they are for different purposes both can be used. You can get detailed information using PREVIEW like which files the backup set contains, which archivelogs will be used, etc...
    RMAN> restore database preview;
    Starting restore at 04.JAN.2008 15:56:41
    allocated channel: ORA_SBT_TAPE_1
    channel ORA_SBT_TAPE_1: sid=135 devtype=SBT_TAPE
    channel ORA_SBT_TAPE_1: WARNING: Oracle Test Disk API
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=143 devtype=DISK
    List of Backup Sets
    ===================
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    42      Full    861.50M    SBT_TAPE    00:02:51     25.DEC.2007 15:24:16
            BP Key: 39   Status: AVAILABLE  Compressed: NO  Tag: TAG20071225T152124
            Handle: 1ij4gdbl_1_1   Media: /sbt_tape,1ij4gdbl_1_1
      List of Datafiles in backup set 42
      File LV Type Ckp SCN    Ckp Time             Name
      1       Full 2676243    25.DEC.2007 15:21:02 /disk1/oradata/10G/datafile/o1_mf_system_3lyw58ct_.dbf
      2       Full 2676243    25.DEC.2007 15:21:02 /disk1/oradata/10G/datafile/o1_mf_undotbs1_3lj593qr_.dbf
      3       Full 2676243    25.DEC.2007 15:21:02 /disk1/oradata/10G/datafile/o1_mf_sysaux_3lj598gc_.dbf
      4       Full 2676243    25.DEC.2007 15:21:02 /disk1/oradata/10G/datafile/o1_mf_data_3lj7f81h_.dbf.tmp
    using channel ORA_SBT_TAPE_1
    using channel ORA_DISK_1
    List of Archived Log Copies
    Key     Thrd Seq     S Low Time             Name
    103     1    106     A 26.DEC.2007 09:15:19 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2007_12_26/o1_mf_1_106_3q4h8sqg_.arc
    104     1    107     A 26.DEC.2007 13:38:01 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2007_12_26/o1_mf_1_107_3q5dxp9w_.arc
    105     1    108     A 26.DEC.2007 22:04:05 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2007_12_27/o1_mf_1_108_3q7hkpyw_.arc
    106     1    109     A 27.DEC.2007 17:01:09 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2007_12_27/o1_mf_1_109_3q7jcvq3_.arc
    107     1    110     A 27.DEC.2007 17:15:07 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2007_12_27/o1_mf_1_110_3q7jl37r_.arc
    108     1    111     A 27.DEC.2007 17:18:27 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2007_12_27/o1_mf_1_111_3q7jo6hk_.arc
    109     1    112     A 27.DEC.2007 17:20:06 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2007_12_28/o1_mf_1_112_3q883z06_.arc
    110     1    113     A 28.DEC.2007 00:00:30 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2007_12_28/o1_mf_1_113_3qbol2q6_.arc
    111     1    114     A 28.DEC.2007 22:02:09 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2007_12_29/o1_mf_1_114_3qcknl4s_.arc
    112     1    115     A 29.DEC.2007 06:01:20 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2007_12_29/o1_mf_1_115_3qfhjq8k_.arc
    113     1    116     A 29.DEC.2007 23:37:27 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2007_12_30/o1_mf_1_116_3qj281j8_.arc
    114     1    117     A 30.DEC.2007 23:09:20 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2007_12_31/o1_mf_1_117_3qllqy7d_.arc
    115     1    118     A 31.DEC.2007 22:03:09 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2008_01_01/o1_mf_1_118_3qmgq0w1_.arc
    116     1    119     A 01.JAN.2008 06:00:32 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2008_01_01/o1_mf_1_119_3qochbm6_.arc
    117     1    120     A 01.JAN.2008 23:17:30 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2008_01_02/o1_mf_1_120_3qq2r4wj_.arc
    118     1    121     A 02.JAN.2008 15:00:51 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2008_01_02/o1_mf_1_121_3qq3f0v1_.arc
    119     1    122     A 02.JAN.2008 15:12:00 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2008_01_02/o1_mf_1_122_3qq3jkpq_.arc
    120     1    123     A 02.JAN.2008 15:13:53 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2008_01_03/o1_mf_1_123_3qr53rcb_.arc
    121     1    124     A 03.JAN.2008 00:47:19 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2008_01_03/o1_mf_1_124_3qtj22bp_.arc
    122     1    125     A 03.JAN.2008 22:06:25 /disk1/app/oracle/flash_recovery_area/10G/archivelog/2008_01_04/o1_mf_1_125_3qvtmx5c_.arc
    Media recovery start SCN is 2676243
    Recovery must be done beyond SCN 2676243 to clear data files fuzziness
    Finished restore at 04.JAN.2008 15:58:59With VALIDATE you can be sure that you will be able to use that backup to restore your database as it reads all the files.
    RMAN> restore database validate;
    Starting restore at 04.JAN.2008 15:59:06
    using channel ORA_SBT_TAPE_1
    using channel ORA_DISK_1
    channel ORA_SBT_TAPE_1: starting validation of datafile backupset
    channel ORA_SBT_TAPE_1: reading from backup piece 1ij4gdbl_1_1
    channel ORA_SBT_TAPE_1: restored backup piece 1
    piece handle=1ij4gdbl_1_1 tag=TAG20071225T152124
    channel ORA_SBT_TAPE_1: validation complete, elapsed time: 00:00:38
    Finished restore at 04.JAN.2008 15:59:46I find both of them useful.

  • Problem with restoring database from backupset

    Hello,
    I'm newie in working with RMAN and I have problem with restoring database from backup set in my testcase.
    I've restored controlfile, but I couldn't restore database - it fails with:
    RMAN-00571: =============================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS
    RMAN-00571: =============================================
    RMAN-03002: failure of restore command at 08/31/2006 12:06:47
    ORA-01180: can not create datafile 1
    ORA-01110: data file 1: 'C:\ORACLE\ORADATA\LOCA10G2\SYSTEM01.DBF'
    List of backupsets from restored controlfile
    (I restored controlfile by command: restore controlfile from 'C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NCSNF_TAG20060829T113622_2H82OW77_.BKP'; -- I have disabled controlfile autobackup, therefore I couldn't restore from autobackup);
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    36 Full 6.98M DISK 00:00:02 29-AUG-06
    BP Key: 36 Status: AVAILABLE Compressed: NO Tag: 01_CTL
    Piece Name: C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NCNNF_01_CTL_2H82NDQT_.BKP
    Control File Included: Ckp SCN: 578469 Ckp time: 29-AUG-06
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    37 Full 322.96M DISK 00:00:27 29-AUG-06
    BP Key: 37 Status: AVAILABLE Compressed: NO Tag: TAG20060829T113622
    Piece Name: C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NNNDF_TAG20060829T113622_2H82NQ58_.BKP
    List of Datafiles in backup set 37
    File LV Type Ckp SCN Ckp Time Name
    1 Full 578481 29-AUG-06 C:\ORACLE\ORADATA\LOCA10G2\SYSTEM01.DBF
    2 Full 578481 29-AUG-06 C:\ORACLE\ORADATA\LOCA10G2\UNDOTBS01.DBF
    3 Full 578481 29-AUG-06 C:\ORACLE\ORADATA\LOCA10G2\SYSAUX01.DBF
    4 Full 578481 29-AUG-06 C:\ORACLE\ORADATA\LOCA10G2\USERS01.DBF
    BS Key Size Device Type Elapsed Time Completion Time
    38 650.50K DISK 00:00:00 29-AUG-06
    BP Key: 38 Status: AVAILABLE Compressed: NO Tag: TAG20060829T113804
    Piece Name: C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_ANNNN_TAG20060829T113804_2H82QYOV_.BKP
    List of Archived Logs in backup set 38
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 32 577277 29-AUG-06 578529 29-AUG-06
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    39 Full 7.02M DISK 00:00:00 29-AUG-06
    BP Key: 39 Status: AVAILABLE Compressed: NO Tag: TAG20060829T113622
    Piece Name: C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NCSNF_TAG20060829T113622_2H82OW77_.BKP
    Control File Included: Ckp SCN: 578493 Ckp time: 29-AUG-06
    SPFILE Included: Modification time: 28-AUG-06
    I can successfully crosscheck backup sets (by command crosscheck backup), but I couldn't restore database.
    Path C:\ORACLE\ORADATA\LOCA10G2\ exists and I have right privileges.
    Output of command restore database validate:
    RMAN> restore database validate;
         Starting restore at 31-AUG-06
         allocated channel: ORA_DISK_1
         channel ORA_DISK_1: sid=102 devtype=DISK
         data file 1 will be created automatically during restore operation
         data file 2 will be created automatically during restore operation
         data file 3 will be created automatically during restore operation
         data file 4 will be created automatically during restore operation
         restore not done; all files readonly, offline, or already restored
         Finished restore at 31-AUG-06
    What's wrong?
    Thanks
         Paul

    Hi,
    I think, that everything seems to be OK.
    Commands which I use to validation of existence backup:
    RMAN> crosscheck backup;
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=102 devtype=DISK
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NCNNF_01_CTL_2H82NDQT_.BKP recid=36 stamp=599744172
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NNNDF_TAG20060829T113622_2H82NQ58_.BKP recid=37 stamp=599744183
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_ANNNN_TAG20060829T113804_2H82QYOV_.BKP recid=38 stamp=599918805
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NCSNF_TAG20060829T113622_2H82OW77_.BKP recid=39 stamp=599918805
    Crosschecked 4 objects
    RMAN> list backup summary;
    List of Backups
    ===============
    Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
    36 B F A DISK 29-AUG-06 1 1 NO 01_CTL
    37 B F A DISK 29-AUG-06 1 1 NO TAG20060829T113622
    38 B A A DISK 29-AUG-06 1 1 NO TAG20060829T113804
    39 B F A DISK 29-AUG-06 1 1 NO TAG20060829T113622
    RMAN> list backup;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    36 Full 6.98M DISK 00:00:02 29-AUG-06
    BP Key: 36 Status: AVAILABLE Compressed: NO Tag: 01_CTL
    Piece Name: C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NCNNF_01_CTL_2H82NDQT_.BKP
    Control File Included: Ckp SCN: 578469 Ckp time: 29-AUG-06
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    37 Full 322.96M DISK 00:00:27 29-AUG-06
    BP Key: 37 Status: AVAILABLE Compressed: NO Tag: TAG20060829T113622
    Piece Name: C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NNNDF_TAG20060829T113622_2H82NQ58_.BKP
    List of Datafiles in backup set 37
    File LV Type Ckp SCN Ckp Time Name
    1 Full 578481 29-AUG-06 C:\ORACLE\ORADATA\LOCA10G2\SYSTEM01.DBF
    2 Full 578481 29-AUG-06 C:\ORACLE\ORADATA\LOCA10G2\UNDOTBS01.DBF
    3 Full 578481 29-AUG-06 C:\ORACLE\ORADATA\LOCA10G2\SYSAUX01.DBF
    4 Full 578481 29-AUG-06 C:\ORACLE\ORADATA\LOCA10G2\USERS01.DBF
    BS Key Size Device Type Elapsed Time Completion Time
    38 650.50K DISK 00:00:00 29-AUG-06
    BP Key: 38 Status: AVAILABLE Compressed: NO Tag: TAG20060829T113804
    Piece Name: C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_ANNNN_TAG20060829T113804_2H82QYOV_.BKP
    List of Archived Logs in backup set 38
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 32 577277 29-AUG-06 578529 29-AUG-06
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    39 Full 7.02M DISK 00:00:00 29-AUG-06
    BP Key: 39 Status: AVAILABLE Compressed: NO Tag: TAG20060829T113622
    Piece Name: C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NCSNF_TAG20060829T113622_2H82OW77_.BKP
    Control File Included: Ckp SCN: 578493 Ckp time: 29-AUG-06
    SPFILE Included: Modification time: 28-AUG-06
    RMAN> restore database validate;
    Starting restore at 04-SEP-06
    using channel ORA_DISK_1
    data file 1 will be created automatically during restore operation
    data file 2 will be created automatically during restore operation
    data file 3 will be created automatically during restore operation
    data file 4 will be created automatically during restore operation
    restore not done; all files readonly, offline, or already restored
    Finished restore at 04-SEP-06
    Is something wrong? After crosscheck backup set with system datafile is AVAILABLE.
    If i tried to test existence of backup pieces on disk and permissisons - everything is OK too:
    C:\>dir C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\
    Volume in drive C has no label.
    Volume Serial Number is E003-9FC6
    Directory of C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29
    29.08.2006 11:38 <DIR> .
    29.08.2006 11:38 <DIR> ..
    29.08.2006 11:38 666 624 O1_MF_ANNNN_TAG20060829T113804_2H82QYOV_.BKP
    29.08.2006 11:36 7 340 032 O1_MF_NCNNF_01_CTL_2H82NDQT_.BKP
    29.08.2006 11:37 7 372 800 O1_MF_NCSNF_TAG20060829T113622_2H82OW77_.BKP
    29.08.2006 11:36 338 657 280 O1_MF_NNNDF_TAG20060829T113622_2H82NQ58_.BKP
    4 File(s) 354 036 736 bytes
    2 Dir(s) 56 865 202 176 bytes free
    C:\>copy C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\ C:\ORACLE\ORADATA\LOCA10G2\
    C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_ANNNN_TAG20060829T113804_2H82QYOV_.BKP
    C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NCNNF_01_CTL_2H82NDQT_.BKP
    C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NCSNF_TAG20060829T113622_2H82OW77_.BKP
    C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NNNDF_TAG20060829T113622_2H82NQ58_.BKP
    4 file(s) copied.
    Thanks
    Pavel

  • Unable to restore database using RMAN in oracle 10g

    Hi Everyone!!!!!!!
    I have following scenario. In which I don't want to drop newly created tablespace (test). So, let me know how to restore database from existing backup without dropping new tablespace and taking new backup?
    1. I took database backup as
    RMAN > backup database;
    2. Create one tablespace "test"
    3. Then I tried to restore database as (In mount mode)
    RMAN > restore database
    4. But I can't restore database. Even I tried after taking "test" tablespace offline , It returns error as follow
    ORA-01119: error in creating database file 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\TESTCAT\TEST.DBF'
    ORA-27038: created file already exists
    OSD-04010: <create> option specified, file already exists
    Please suggest me step/way so that I can restore database without taking new backup or dropping new tablespace (test).........

    Hello;
    Rename this datafile :
    D:\ORACLE\PRODUCT\10.2.0\ORADATA\TESTCAT\TEST.DBF
    Then try the restore again.
    If this isn't a test database stop and think about how you will recover if this does not work. That is how will you recover from the recover if it goes bad?
    Best Regards
    mseberg

  • Test Restore Database Instance from Cold backup

    Hi - I have a customer who is using an Oracle database instance not in archivelog mode
    currently, I have managed to persuade them to backup at least weekly using an RMAN cold backup.
    Prior to my being allowed to do anything else they want to perform a test restore from the cold backup
    I want to find a simple procedure to do this which will enable me to tick the box then hopefully I may be able to persuade them that Hot Backups are the way to go.
    Has anyone got any good suggestions for this please?

    Ah if only things were quite so simple - my hands are tied somewhat there isn't a second machine available at the moment so I was hoping to be able to run a test restore to the same machine !
    No they do not worry about data in this situation - Oracle is used almost as a query engine maybe a very odd solution as the actual data is not really held within this oracle database but the resultant queries are!
    Anyway I think I will just do a virtual restore using the restore database validate command then armtwist a couple of managers!
    One of the areas they had difficulty with is that apparently they had archivelogging on but the rate of writing archivelogs was huge and it was affecting performance. I am not knowledgeable enough to know how to tune that problem!!

  • RMAN: restore scenario failed

    Hi!
    The problem occur when trying to restore original database on another test server
    Original server - Windows 2008 x64bit, Oracle Database *10.2.0.5* w/o patch,ASM configured.
    Database - Archivelog mode. RMAN performs weekly database incremental level 0 backup, daily level 1 backup.
    Contorl file backup occurs immediately after incremental level 0/1 database backup
    The backup incremental level 0 RMAN copy restoing on:
    Server - Windows 2008 x32bit, Oracle Database *10.2.0.5* w/o patch, ASM configured
    input Data "on hands":
    - Incremental level 0 database backup (Chkpt SCN 2978611044)
    - Control file backup (controlfile_change# 2988231505 , checkpoint change# 2987947892)
    - There is no oracle datafiles on test server, only instance started with appropriate parameters (SPFILE);
    0) start instance
    1) Restoring control file from backup (appropriate dbid has been set)
    2) mount database
    3) Crosscheck backup,archivelog..
    4) delete expired backup,archivelog..
    5) catalog backuppiece with incremental level 0 backup
    6) "list backup" command display contents of backuppiece with all datafiles (Chkpt SCN 2978611044)
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    589 Incr 0 35.59G DISK 02:13:31 07-MAR-11
    BP Key: 597 Status: AVAILABLE Compressed: YES Tag: INCREMENTAL LEVEL 0 BACKUP
    Piece Name: C:\BACKUP\DB0_EMCOR_1814183562_20110311_589_1_IDM6JCIS.BKP
    List of Datafiles in backup set 589
    File LV Type Ckp SCN Ckp Time Name
    1 0 Incr 2978611044 07-MAR-11 +DATA/emcor/datafile/system.262.732897467
    2 0 Incr 2978611044 07-MAR-11 +DATA/emcor/datafile/undotbs1.271.732882203
    3 0 Incr 2978611044 07-MAR-11 +DATA/emcor/datafile/sysaux.260.732896913
    4 0 Incr 2978611044 07-MAR-11 +DATA/emcor/datafile/undotbs2.272.732882195
    5 0 Incr 2978611044 07-MAR-11 +DATA/emcor/datafile/emcos_tab.274.732882177
    6 0 Incr 2978611044 07-MAR-11 +DATA/emcor/datafile/emcos_tab.278.732882143
    7 0 Incr 2978611044 07-MAR-11 +DATA/emcor/datafile/emcos_tab.261.732897211
    8 0 Incr 2978611044 07-MAR-11 +DATA/emcor/datafile/emcos_tab.277.732882151
    9 0 Incr 2978611044 07-MAR-11 +DATA/emcor/datafile/emcos_tab.276.732882159
    10 0 Incr 2978611044 07-MAR-11 +DATA/emcor/datafile/emcos_tab.275.732882169
    11 0 Incr 2978611044 07-MAR-11 +DATA/emcor/datafile/emcos_ind.269.732888789
    12 0 Incr 2978611044 07-MAR-11 +DATA/emcor/datafile/emcos_ind.268.732890649
    13 0 Incr 2978611044 07-MAR-11 +DATA/emcor/datafile/emcos_ind.267.732891909
    14 0 Incr 2978611044 07-MAR-11 +DATA/emcor/datafile/emcos_ind.258.732895369
    15 0 Incr 2978611044 07-MAR-11 +DATA/emcor/datafile/emcos_ind.259.732895663
    16 0 Incr 2978611044 07-MAR-11 +DATA/emcor/datafile/emcos_ind.266.732892429
    17 0 Incr 2978611044 07-MAR-11 +DATA/emcor/datafile/usertbsp.264.732897773
    18 0 Incr 2978611044 07-MAR-11 +DATA/emcor/datafile/emcos_ind.265.732893801
    19 0 Incr 2978611044 07-MAR-11 +DATA/emcor/datafile/emcos_tab.270.732887581
    20 0 Incr 2978611044 07-MAR-11 +DATA/emcor/datafile/system.263.732897753
    21 0 Incr 2978611044 07-MAR-11 +DATA/emcor/datafile/emcos_tab.273.732882187
    22 0 Incr 2978611044 07-MAR-11 +DATA/emcor/datafile/emcos_ind.257.732894149
    23 0 Incr 2978611044 07-MAR-11 +DATA/emcor/datafile/emcos_tab.295.734795693
    24 0 Incr 2978611044 07-MAR-11 +DATA/emcor/datafile/emcos_tab.297.736591245
    25 0 Incr 2978611044 07-MAR-11 +DATA/emcor/datafile/emcos_ind.298.736593189
    7) restore database validate
    RMAN-03002: failure of restore command at 03/16/2011 15:35:42
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 25 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    8) list incarnation of database
    List of Database Incarnations
    DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
    1 1 EMCOR 1814183562 PARENT 1577251660 06-OCT-10
    2 2 EMCOR 1814183562 CURRENT 1578030113 09-OCT-10
    3 3 EMCOR 1814183562 ORPHAN 1578047894 20-OCT-10
    So, the DBPITR not possible.
    I've tried to restore on windows 2008 x64 - result is the same.

    According to the SCNs your backups (controlfile,datafiles) belong to orphaned incarnation 3, NOT current incarnation 2. But you run the restore process in incarnation 2.
    There was obviously a point in time recovery with resetlogs to 09-OCT-10 (Reset_SCN 1578030113), but you want to restore to SCN 2978611044.
    Try
    reset database to incarnation 3;
    Werner

  • Error during Restore Database

    Hello everyone!
    First of all, i'm sorry for posting another restore problem, but i read all threads related and i still have my problem.
    I have a fresh new install of oracleXE, but when i try to restore de database from a backup store in other disk install in the same computer, using the restore database option include with the application, the program show me these steps:
    STEP 1:
    This operation will shut down and restore the database. Are you sure [Y/N]?
    I write 'Y'.
    STEP 2:
    This operation will shut down and restore the database. Are you sure [Y/N]?y
    Restore in progress...
    El servicio solicitado ya ha sido iniciado.
    Puede obtener más ayuda con el comando NET HELPMSG 2182.
    Recovery Manager : Release 10.2.0.1.0 - Production on Vie Ago 31 10:20:45 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    conectado a la base de datos destino: XE (DBID=2513092923)
    RMAN> set echo on;
    2> startup nomount pfile=C:\DOCUME~1\imgltda\CONFIG~1\Temp\rman_dummy.ora force;
    3>
    echo activado
    instancia Oracle iniciada
    Total del ┴rea Global del Sistema 285212672 bytes
    Fixed Size 1287016 bytes
    Variable Size 92277912 bytes
    Database Buffers 188743680 bytes
    Redo Buffers 2904064 bytes
    Recovery Manager terminado.
    Enter the flash recovery area location:
    I write this in my flash recovery area, where i have the backup files: D:\Respaldo.
    In this path i have de following folders: D:\Respaldo\XE; Inside this folder i have other folders: ARCHIVELOG, AUTOBACKUP, BACKUPSET, ONLINELOG.
    STEP 3 This is my problem:
    MAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: fallo del comando startup en 08/31/2007 10:24:10
    RMAN-04014: fallo al iniciar: ORA-01261: Parameter db_recovery_file_dest destina
    tion string cannot be translated
    ORA-01263: Name given for file destination directory is invalid
    OSD-04018: No se ha podido acceder al directorio o dispositivo especificado.
    O/S-Error: (OS 21) El dispositivo no est┐ listo.
    Recovery Manager terminado.
    ==================== ERROR =============================
    Restore of the database failed.
    RMAN Error - See log for error .
    Log file is at C:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\SERVER\DATABASE\OX
    E_RESTORE.LOG.
    ==================== ERROR =============================
    Presione una tecla para continuar . . .
    The OXE_RESTORE file show me this:
    Recovery Manager : Release 10.2.0.1.0 - Production on Vie Ago 31 10:23:58 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Windows XP Version V5.1 Service Pack 2
    CPU : 2 - type 586
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:1652M/2021M, Ph+PgF:3435M/3914M, VA:2003M/2047M
    Starting with debugging turned off
    conectado a la base de datos destino: xe (no montada)
    RMAN> set echo on;
    2> restore (spfile from autobackup db_recovery_file_dest='D:\Respaldo');
    3> startup nomount force;
    4> restore (controlfile from autobackup);
    5> alter database mount;
    6> configure controlfile autobackup off;
    7> restore database;
    8>
    echo activado
    Iniciando restore en 31/08/07
    se utiliza el archivo de control de la base de datos destino en lugar del catálogo de recuperación
    canal asignado: ORA_DISK_1
    canal ORA_DISK_1: sid=37 devtype=DISK
    destino del área de recuperación: D:\Respaldo
    nombre de base de datos (o nombre único de base de datos) utilizado para la búsqueda: XE
    canal ORA_DISK_1: se ha encontrado una copia de seguridad automática en el área de recuperación
    canal ORA_DISK_1: se ha encontrado la copia de seguridad automática: D:\RESPALDO\XE\AUTOBACKUP\2007_08_27\O1_MF_S_631711029_3F5TQOVT_.BKP
    canal ORA_DISK_1: restauración de SPFILE a partir de la copia de seguridad automática terminada
    restore terminado en 31/08/07
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: fallo del comando startup en 08/31/2007 10:24:10
    RMAN-04014: fallo al iniciar: ORA-01261: Parameter db_recovery_file_dest destination string cannot be translated
    ORA-01263: Name given for file destination directory is invalid
    OSD-04018: No se ha podido acceder al directorio o dispositivo especificado.
    O/S-Error: (OS 21) El dispositivo no est¿ listo.
    Recovery Manager terminado.
    I really do not know what is my problem and how to solve it. I hope you guys can help me. I'm under a big pressure to solve this soon.
    My Operating System is: WinXP Pro
    I'm using APEX 2.01
    When I create the backup I use ARCHIVELOG enable
    Things i try:
    1. Install fresh oracle XE database, and restore
    2. Install fresh oracle XE database, enable archivelog and restore
    3. Install fresh oracle XE database, enable archivelog, change path of DB_RECOVERY_FILE_DEST to 'D:\Respaldo'.
    4. Install fresh oracle XE database, enable archivelog, change path of DB_RECOVERY_FILE_DEST to 'D:\Respaldo', and execute: @?/sqlplus/admin/movelogs;
    5. Install fresh oracle XE database, enable archivelog, change path of DB_RECOVERY_FILE_DEST to 'D:\Respaldo';, and change DB_RECOVERY_FILE_DEST_SIZE to 20G;
    NOTE: sorry for my english it is not my native language. and sorry for using a spanish version of the database.
    Message was edited by:
    Minning

    Well,
    After a lot of reading, i try this using rman:
    SQL
    1. SQL> connect xx/xx as sysdba
    2. SQL> shutdown immediate
    RMAN
    1. RMAN> connect target XE
    2. RMAN> startup nomount;
    3. RMAN> restore spfile to 'C:\xe.ora' from 'D:\Respaldo\XE\AUTOBACKUP\2007_08_27\O
    1_MF_S_631711029_3F5TQOVT_.BKP';
    4. RMAN> alter database mount;
    5. RMAN> restore database;
    in point n°5 i have the following problem:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: fallo del comando restore en 09/06/2007 16:27:09
    RMAN-06026: no se han encontrado algunos destinos - abortando la restauraci¾n
    RMAN-06023: no se ha encontrado ninguna copia de seguridad o copia del archivo d
    e datos 4 para restaurar
    RMAN-06023: no se ha encontrado ninguna copia de seguridad o copia del archivo d
    e datos 3 para restaurar
    RMAN-06023: no se ha encontrado ninguna copia de seguridad o copia del archivo d
    e datos 2 para restaurar
    RMAN-06023: no se ha encontrado ninguna copia de seguridad o copia del archivo d
    e datos 1 para restaurar
    I try this command to find what's going on:
    RMAN> list backup;
    with this result:
    Lista de Juegos de Copias de Seguridad
    ===================
    Clave BS Tipo LV Tama±o Tipo de Dispositivo Tiempo Transcurrido Hora de F
    inalizaci¾n
    15 Full 736.04M DISK 00:00:19 24/08/07
    Clave BP: 15 Estado: EXPIRED Comprimido: NO Etiqueta: TAG20070824T12
    4938
    Nombre de Parte: E:\RESPALDO\XE\BACKUPSET\2007_08_24\O1_MF_NNNDF_TAG2007
    0824T124938_3DY3143F_.BKP
    Lista de Archivos de Datos en el juego de copias de seguridad 15
    Tipo de Archivo LV SCN Pto. Ctrl. Hora de Punto de Control Nombre
    1 Full 2747434 24/08/07 C:\ORACLEXE\ORADATA\XE\SYSTEM
    .DBF
    2 Full 2747434 24/08/07 C:\ORACLEXE\ORADATA\XE\UNDO.D
    BF
    3 Full 2747434 24/08/07 C:\ORACLEXE\ORADATA\XE\SYSAUX
    .DBF
    4 Full 2747434 24/08/07 C:\ORACLEXE\ORADATA\XE\USERS.
    DBF
    Clave BS Tipo LV Tama±o Tipo de Dispositivo Tiempo Transcurrido Hora de F
    inalizaci¾n
    16 Full 6.83M DISK 00:00:01 24/08/07
    Clave BP: 16 Estado: EXPIRED Comprimido: NO Etiqueta: TAG20070824T12
    5005
    Nombre de Parte: E:\RESPALDO\XE\AUTOBACKUP\2007_08_24\O1_MF_S_631457405_
    3DY31Y0H_.BKP
    Archivo de Control Incluido: SCN de Punto de Control: 2747446 Hora de Pun
    to de Control: 24/08/07
    SPFILE Incluido: Hora de Modificaci¾n: 24/08/07
    Clave BS Tipo LV Tama±o Tipo de Dispositivo Tiempo Transcurrido Hora de F
    inalizaci¾n
    17 Full 736.04M DISK 00:00:20 24/08/07
    Clave BP: 17 Estado: EXPIRED Comprimido: NO Etiqueta: TAG20070824T17
    0028
    Nombre de Parte: E:\RESPALDO\XE\BACKUPSET\2007_08_24\O1_MF_NNNDF_TAG2007
    0824T170028_3DYKQGTC_.BKP
    Lista de Archivos de Datos en el juego de copias de seguridad 17
    Tipo de Archivo LV SCN Pto. Ctrl. Hora de Punto de Control Nombre
    1 Full 2773728 24/08/07 C:\ORACLEXE\ORADATA\XE\SYSTEM
    .DBF
    2 Full 2773728 24/08/07 C:\ORACLEXE\ORADATA\XE\UNDO.D
    BF
    3 Full 2773728 24/08/07 C:\ORACLEXE\ORADATA\XE\SYSAUX
    .DBF
    4 Full 2773728 24/08/07 C:\ORACLEXE\ORADATA\XE\USERS.
    DBF
    Clave BS Tipo LV Tama±o Tipo de Dispositivo Tiempo Transcurrido Hora de F
    inalizaci¾n
    18 Full 6.83M DISK 00:00:02 24/08/07
    Clave BP: 18 Estado: EXPIRED Comprimido: NO Etiqueta: TAG20070824T17
    0054
    Nombre de Parte: E:\RESPALDO\XE\AUTOBACKUP\2007_08_24\O1_MF_S_631472454_
    3DYKR7OZ_.BKP
    Archivo de Control Incluido: SCN de Punto de Control: 2773741 Hora de Pun
    to de Control: 24/08/07
    SPFILE Incluido: Hora de Modificaci¾n: 24/08/07
    Clave BS Tipo LV Tama±o Tipo de Dispositivo Tiempo Transcurrido Hora de F
    inalizaci¾n
    19 Full 740.95M DISK 00:00:20 27/08/07
    Clave BP: 19 Estado: EXPIRED Comprimido: NO Etiqueta: TAG20070827T11
    1642
    Nombre de Parte: E:\RESPALDO\XE\BACKUPSET\2007_08_27\O1_MF_NNNDF_TAG2007
    0827T111642_3F5TPWHN_.BKP
    Lista de Archivos de Datos en el juego de copias de seguridad 19
    Tipo de Archivo LV SCN Pto. Ctrl. Hora de Punto de Control Nombre
    1 Full 2916556 27/08/07 C:\ORACLEXE\ORADATA\XE\SYSTEM
    .DBF
    2 Full 2916556 27/08/07 C:\ORACLEXE\ORADATA\XE\UNDO.D
    BF
    3 Full 2916556 27/08/07 C:\ORACLEXE\ORADATA\XE\SYSAUX
    .DBF
    4 Full 2916556 27/08/07 C:\ORACLEXE\ORADATA\XE\USERS.
    DBF
    Where it says 'Estado' (Status in english) I found this: 'EXPIRED', it seems that my 4 dbf files have some problem, right now i'm looking for a way to solve this, but with no luck.
    I think i need a little help again...

  • RMAN restoration

    Hi,
    Oracle 10.2.0.4.0 on AIX
    Im restoring the backup.
    I have restored the controlfile.
    When I give restore databse, It's throwing the error.
    RMAN> restore database
    2> ;
    Starting restore at 23-SEP-10
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    released channel: ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 09/23/2010 18:01:16
    ORA-19554: error allocating device, device type: SBT_TAPE, device name:
    ORA-27211: Failed to load Media Management Library
    Additional information: 2
    'ADDITION' And I'm trying to restore from disk
    Please suggest me
    Thanks
    KSG
    Edited by: KSG on Sep 23, 2010 6:16 PM 'ADDITION'

    Hi,
    Thanks again
    I have created the symbolic link for the directory '"/t24/rman". does symbolic link works with RMAN?
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO NONE;
    CONFIGURE BACKUP OPTIMIZATION OFF;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP OFF;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/t24/rman/%U';
    CONFIGURE MAXSETSIZE TO UNLIMITED;
    CONFIGURE ENCRYPTION FOR DATABASE OFF;
    CONFIGURE ENCRYPTION ALGORITHM 'AES128';
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/glosoft/oracle/oracle10g/product/10.2.0/db_1/dbs/snapcf_hilalrac.f'; # default
    RMAN> restore database;
    Starting restore at 23-SEP-10
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 09/23/2010 18:46:14
    RMAN-12009: command aborted because some backup pieces could not be located
    RMAN-12008: could not locate backup piece /t24/rman/df_t724770389_s23595_p1
    RMAN-12008: could not locate backup piece /t24/rman/df_t724770389_s23597_p1
    RMAN-12008: could not locate backup piece /t24/rman/df_t724770389_s23598_p1
    RMAN-12008: could not locate backup piece /t24/rman/df_t724770389_s23596_p1
    $ cd /t24/rman
    $ ls
    cf_t724773247_s23600_p1 df_t724770389_s23596_p1 df_t724770389_s23598_p1
    df_t724770389_s23595_p1 df_t724770389_s23597_p1 df_t724772695_s23599_p1
    $
    Restoration started...
    I did the following
    RMAN> CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' clear;
    old RMAN configuration parameters are successfully deleted
    released channel: ORA_DISK_1
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO NONE;
    CONFIGURE BACKUP OPTIMIZATION OFF;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP OFF;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/t24/rman/%U';
    CONFIGURE MAXSETSIZE TO UNLIMITED;
    CONFIGURE ENCRYPTION FOR DATABASE OFF;
    CONFIGURE ENCRYPTION ALGORITHM 'AES128';
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/glosoft/oracle/oracle10g/product/10.2.0/db_1/dbs/snapcf_hilalrac.f'; # default
    rman>exit
    $rman target /
    rman>
    $ rman target /
    Recovery Manager: Release 10.2.0.4.0 - Production on Thu Sep 23 19:30:24 2010
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    connected to target database: HILALRAC (DBID=2934614354, not open)
    RMAN> restore database;
    Starting restore at 23-SEP-10
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=159 devtype=DISK
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00003 to /u01/oradata/hilalmisdata/sysaux01.dbf
    restoring datafile 00008 to /u01/oradata/hilalmisdata/t242dxml007.dbf
    restoring datafile 00016 to /u01/oradata/hilalmisdata/t242dxml003.dbf
    channel ORA_DISK_1: reading from backup piece /t24/rman/df_t724770389_s23596_p1
    Thanks again for everyone... :)
    Thanks
    KSG
    Edited by: KSG on Sep 23, 2010 7:36 PM ***Restoration started***

  • I need explanation about RESTORE DATABASE PREVIEW SUMMARY;

    After executing the command:
    RMAN> RESTORE DATABASE PREVIEW SUMMARY;
    It finished with the following lines:
    Media recovery start SCN is 1487308
    Recovery must be done beyond SCN 1726503 to clear data files fuzziness
    Finished restore at 2008-04-30:17:13:59
    What does it mean "recovery start SCN is 1487308" and "Recovery must be done beyond SCN 1726503..." ?
    I would like to restore/recover untill a SCN... but I don't understand if it means I must set a SCN between 1487308 and 1726503, or 1726503 is simply a starting SCN ...
    Below there's my list of backup by file with SCN:
    RMAN> list backup by file;
    List of Datafile Backups
    ========================
    File Key TY LV S Ckp SCN Ckp Time #Pieces #Copies Compressed Tag
    1 121266 B F A 1726482 2008-04-18:17:10:06 1 1 YES TAG20080418T170953
    2 121262 B F A 1726496 2008-04-18:17:10:23 1 1 YES TAG20080418T170953
    3 121261 B F A 1487308 2008-04-15:12:59:31 1 1 YES TAG20080418T170953
    4 121265 B F A 1726503 2008-04-18:17:10:27 1 1 YES TAG20080418T170953
    5 121263 B F A 1726499 2008-04-18:17:10:24 1 1 YES TAG20080418T170953
    6 121241 B F A 1726455 2008-04-18:17:09:53 1 1 YES TAG20080418T170953
    7 121242 B F A 1726456 2008-04-18:17:09:53 1 1 YES TAG20080418T170953
    8 121243 B F A 1726458 2008-04-18:17:09:54 1 1 YES TAG20080418T170953
    9 121244 B F A 1726459 2008-04-18:17:09:54 1 1 YES TAG20080418T170953
    10 121245 B F A 1726460 2008-04-18:17:09:55 1 1 YES TAG20080418T170953
    11 121246 B F A 1726461 2008-04-18:17:09:55 1 1 YES TAG20080418T170953
    12 121248 B F A 1726463 2008-04-18:17:09:57 1 1 YES TAG20080418T170953
    13 121247 B F A 1726464 2008-04-18:17:09:57 1 1 YES TAG20080418T170953
    14 121249 B F A 1726466 2008-04-18:17:09:58 1 1 YES TAG20080418T170953
    15 121250 B F A 1726467 2008-04-18:17:09:58 1 1 YES TAG20080418T170953
    16 121251 B F A 1726469 2008-04-18:17:09:59 1 1 YES TAG20080418T170953
    17 121252 B F A 1726470 2008-04-18:17:09:59 1 1 YES TAG20080418T170953
    18 121253 B F A 1726471 2008-04-18:17:10:00 1 1 YES TAG20080418T170953
    19 121254 B F A 1726472 2008-04-18:17:10:00 1 1 YES TAG20080418T170953
    20 121255 B F A 1726473 2008-04-18:17:10:02 1 1 YES TAG20080418T170953
    21 121256 B F A 1726474 2008-04-18:17:10:02 1 1 YES TAG20080418T170953
    22 121258 B F A 1726476 2008-04-18:17:10:03 1 1 YES TAG20080418T170953
    23 121257 B F A 1726477 2008-04-18:17:10:03 1 1 YES TAG20080418T170953
    24 121259 B F A 1726478 2008-04-18:17:10:04 1 1 YES TAG20080418T170953
    25 121260 B F A 1726480 2008-04-18:17:10:05 1 1 YES TAG20080418T170953
    List of Archived Log Backups
    ============================
    Thrd Seq Low SCN Low Time BS Key S #Pieces #Copies Compressed Tag
    1 10 1487308 2008-04-15:12:59:31 121240 A 1 1 YES TAG20080418T170947
    1 11 1726433 2008-04-18:17:06:08 121333 A 1 1 YES TAG20080418T171040
    2 26 1591040 2008-04-15:23:15:47 121239 A 1 1 YES TAG20080418T170947
    2 27 1726430 2008-04-18:17:09:42 121332 A 1 1 YES TAG20080418T171040
    List of Control File Backups
    ============================
    CF Ckp SCN Ckp Time BS Key S #Pieces #Copies Compressed Tag
    1726501 2008-04-18:17:10:24 121264 A 1 1 YES TAG20080418T170953
    List of SPFILE Backups
    ======================
    Modification Time BS Key S #Pieces #Copies Compressed Tag
    2008-04-16:13:04:18 121267 A 1 1 YES TAG20080418T170953

    Yes, you're right. It's just what I wanted to know.
    Does it also mean 1726504 is the nearest scn compared with the time I finished to complete that online backup ???
    I mean... what should I do to restore just that backup without applying current available archived log and online redo log ???

Maybe you are looking for

  • Image Processor not working for me. Help!

    In a nearby thread I've reached a stumbling block. Image Processor in CS4's PS is not working for me. I have a folder of psd's generated on the fly via File > Export > Data Sets as File... and now I'm trying to process those psd's to generate a JPEG

  • How to start up ID on my Mac

    I downloaded the trial ID on my Mac OS X 10.7 and I don't know how to start using it.

  • I can't stand this any more i want to reformat

    since failed migration an upgrade to 10.4 to fix migration a paid $132.00 per hour professional to fix my mac and still it is causing me greif.. Migration was never clean i have been sorting the mess and have been unable to use some programes even un

  • Reinstalling Adobe Acrobat Pro XI after computer recovery

    I recently had to re format my computer. I need to re install Adobe Acrobat Pro XI but don't know how to find the download from the website without purchasing again.

  • Cannot open tiffs, jpegs etc. in CS by double clicking

    Cannot double click to open files in CS. I have CS4 and CS6 on same machine. Supposedly this should be fine. I am running OSX.8.3 Mountain lion. I have already cleared the PS prefs for both versions. I have run the disk utility permissions etc. Somet