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

Similar Messages

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

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

  • Difference in o/p in CROSSCHECK & RESTORE ARCHIVELOG VALIDATE

    hi,
    i m planning to restore and recovery from a backup(full hot Level 0) taken between '24.05.2012 11:41:00' AND '24.05.2012 12:03:07'; But when i run the crosscheck and restore archivelog validate there seems to be an extra archivelog backup piece reported in restore archivelog validate command.
    Also there was 2 backups taken on same day but different time
    LEVEL 0 ======> between '24.05.2012 11:41:00' AND '24.05.2012 12:03:07'
    LEVEL 1 CUMMULATIVE =======> between '24.05.2012 12:29:46' AND '24.05.2012 12:35:59'
    below the difference in o/p when i run the crosscheck and restore archivelog validate
    CROSSCHECK BACKUP OF ARCHIVELOG ALL command :
    RMAN> ALLOCATE CHANNEL FOR MAINTENANCE DEVICE TYPE sbt;
    allocated channel: ORA_MAINT_SBT_TAPE_1
    channel ORA_MAINT_SBT_TAPE_1: sid=1859 devtype=SBT_TAPE
    channel ORA_MAINT_SBT_TAPE_1: Veritas NetBackup for Oracle - Release 7.0 (2010010419)
    RMAN> sql "alter session set nls_date_format = ''dd.mm.yyyy hh24:mi:ss''";
    sql statement: alter session set nls_date_format = ''dd.mm.yyyy hh24:mi:ss''
    RMAN> CROSSCHECK BACKUP OF ARCHIVELOG ALL DEVICE TYPE sbt completed between '24.05.2012 11:41:00' AND '24.05.2012 12:03:07';
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=PRTUXDB_al_0dnbphae_1_1 RECID=10 STAMP=784123214
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=PRTUXDB_al_0cnbphae_1_1 RECID=11 STAMP=784123214
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=PRTUXDB_al_0fnbphae_1_1 RECID=12 STAMP=784123214
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=PRTUXDB_al_0enbphae_1_1 RECID=13 STAMP=784123214
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=PRTUXDB_al_0bnbphae_1_1 RECID=14 STAMP=784123214
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=PRTUXDB_al_0anbphae_1_1 RECID=15 STAMP=784123214
    Crosschecked 6 objectsRestore archive log validate command :
    [oratux@DMXCK5 ~]$ rman target / nocatalog
    Recovery Manager: Release 11.2.0.3.0 - Production on Fri May 25 08:16:08 2012
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: PRTUXDB (DBID=329945109)
    using target database control file instead of recovery catalog
    RMAN> run {
    allocate channel t1 type 'SBT_TAPE';
    restore archivelog UNTIL TIME "TO_DATE('24.05.2012 12:03:07','dd.mm.yyyy hh24:mi:ss')" validate;
    release channel t1;
    2> 3> 4> 5>
    allocated channel: t1
    channel t1: SID=35 device type=SBT_TAPE
    channel t1: Veritas NetBackup for Oracle - Release 7.0 (2010010419)
    Starting restore at 25-MAY-12
    channel t1: starting validation of archived log backup set
    channel t1: reading from backup piece PRTUXDB_al_0dnbphae_1_1
    channel t1: piece handle=PRTUXDB_al_0dnbphae_1_1 tag=PRIMARY_HOT_DB_BK_LEVEL0
    channel t1: restored backup piece 1
    channel t1: validation complete, elapsed time: 00:01:15
    channel t1: starting validation of archived log backup set
    channel t1: reading from backup piece PRTUXDB_al_0cnbphae_1_1
    channel t1: piece handle=PRTUXDB_al_0cnbphae_1_1 tag=PRIMARY_HOT_DB_BK_LEVEL0
    channel t1: restored backup piece 1
    channel t1: validation complete, elapsed time: 00:01:15
    channel t1: starting validation of archived log backup set
    channel t1: reading from backup piece PRTUXDB_al_0fnbphae_1_1
    channel t1: piece handle=PRTUXDB_al_0fnbphae_1_1 tag=PRIMARY_HOT_DB_BK_LEVEL0
    channel t1: restored backup piece 1
    channel t1: validation complete, elapsed time: 00:01:15
    channel t1: starting validation of archived log backup set
    channel t1: reading from backup piece PRTUXDB_al_0enbphae_1_1
    channel t1: piece handle=PRTUXDB_al_0enbphae_1_1 tag=PRIMARY_HOT_DB_BK_LEVEL0
    channel t1: restored backup piece 1
    channel t1: validation complete, elapsed time: 00:01:15
    channel t1: starting validation of archived log backup set
    channel t1: reading from backup piece PRTUXDB_al_0bnbphae_1_1
    channel t1: piece handle=PRTUXDB_al_0bnbphae_1_1 tag=PRIMARY_HOT_DB_BK_LEVEL0
    channel t1: restored backup piece 1
    channel t1: validation complete, elapsed time: 00:01:25
    channel t1: starting validation of archived log backup set
    channel t1: reading from backup piece PRTUXDB_al_0anbphae_1_1
    channel t1: piece handle=PRTUXDB_al_0anbphae_1_1 tag=PRIMARY_HOT_DB_BK_LEVEL0
    channel t1: restored backup piece 1
    channel t1: validation complete, elapsed time: 00:01:15
    channel t1: starting validation of archived log backup set
    channel t1: reading from backup piece PRTUXDB_al_0qnbpj8c_1_1
    channel t1: piece handle=PRTUXDB_al_0qnbpj8c_1_1 tag=HOT_DB_BK_LEVEL1
    channel t1: restored backup piece 1
    channel t1: validation complete, elapsed time: 00:01:05
    Finished restore at 25-MAY-12
    released channel: t1As you can see one extra archivelog backup piece is reported and that too from HOT_DB_BK_LEVEL1(LEVEL 1 CUMMULATIVE BACKUP) which was between '24.05.2012 12:29:46' AND '24.05.2012 12:35:59'.
    I m afraid if i execute the real restore command it will apply this extra archivelog from LEVEL 1 CUMMULATIVE BACKUP

    Yes that is true,but my question is when i run crosscheck i have all the required archivelogs availiable (6 archivelogs) but when i execute restore archivelog validate why it give (6+1) archivelogs why not only those 6 from LEVEL 0 hot backup
    i have clearly specified UNTIL TIME "TO_DATE('24.05.2012 12:03:07','dd.mm.yyyy hh24:mi:ss')" in restore archivelog validate but still it also give me extra archive log backup piece from LEVEL 1 backup taken way after TO_DATE('24.05.2012 12:03:07','dd.mm.yyyy hh24:mi:ss').

  • 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

  • Validate command syntax

    Hello,
    I need to validate if a database has been backed up succesfully so I want to execute rman validates command.
    I checked oracle manuals and I found validates command is a parameter of restore command:
    http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10770/rcmsynta65.htm#86797
    http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10770/rcmsynta51.htm#85191
    I already duplicated databases using rman, but I'm not sure about syntax for validating. Is the following code right if I want just to validate database backup?
    rman rcvcat rman/rman@rman target sys/password@database auxiliary / cmdfile /home/oracle/restore_dup.sh
    Where restore_dup.sh is:
    run {
    allocate auxiliary channel 'dev_0' type 'sbt_tape';
    allocate auxiliary channel 'dev_1' type 'sbt_tape';
    allocate auxiliary channel 'dev_2' type 'sbt_tape';
    allocate auxiliary channel 'dev_3' type 'sbt_tape';
    restore target database validates;
    Note that...
    - OS is HP-UX 11.00
    - Database is Oracle 8.1.7
    - I CANNOT recover anything as database I want to validate is a production environment.
    Thanks in advance for your help.
    Regards,
    Carles

    I never worked with RMAN 8.1.7 (only newer versions)
    According the documentation you can validate only a backupset in RMAN 8.1.7:
    - validate backupset <bs_number>;
    http://download-east.oracle.com/docs/cd/A87860_01/doc/server.817/a76990/rmansy50.htm#6148
    http://download-east.oracle.com/docs/cd/A87860_01/doc/server.817/a76990/preparer.htm#435378
    The validation for the full DB in a new feature in RMAN 9i.
    Bye, Aron

  • Restore database failed on Oracle 10g 10.2.0.1 linux 32 bit

    Hi,
    I am working on test database for testing database disaster recovery.
    1) i made full database backup by RMAN and ui also have archive log
    2) i noted DBID and all folders of database
    3)Turn on the Controlfile auto backup
    4) then i drop database
    5) then i follow all the steps , which include restoration of spfile and controlfile
    6)After that when i have mounted database and in RMAN WRITING RESTORE DATABASE, it is giving following error.
    Starting restore at 02-APR-08
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 04/02/2008 17:54:56
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    Please help me
    Regards,

    1) i made full database backup by RMAN and ui also
    have archive logWhat's the command used?
    2) i noted DBID and all folders of databaseWhat's inside the folders.
    ls -l <your folder>
    3)Turn on the Controlfile auto backup
    4) then i drop databaseHow did you drop it? delete files from OS? or DROP DATABASE statement?
    5) then i follow all the steps , which include
    restoration of spfile and controlfileWhat's the steps you followed? And from where you got the steps.
    6)After that when i have mounted database and in RMAN
    WRITING RESTORE DATABASE, it is giving following
    error.
    Starting restore at 02-APR-08
    using channel ORA_DISK_1
    RMAN-06026: some targets not found - aborting
    restore
    RMAN-06023: no backup or copy of datafile 4 found to
    restore
    RMAN-06023: no backup or copy of datafile 3 found to
    restore
    RMAN-06023: no backup or copy of datafile 1 found to
    restoreOracle Error :: RMAN-06026
    some targets not found - aborting restore
    Cause
    Some of the files specified for restore could not be found. Message 6023, 6024, or 6025 is also issued to indicate which files could not be found. Some common reasons why a file can not be restored are that there is no backup or copy of the file that is known to recovery manager, or there are no backups or copies that fall within the criteria specified on the RESTORE command, or some datafile copies have been made but not cataloged.
    Action
    The Recovery Manager LIST command can be used to display the backups and copies that Recovery Manager knows about. Select the files to be restored from that list.

  • Restore Database to non-ASM Storage - Issue with Bigfile Tablespace

    I have been testing a restore of my prod database that uses ASM (and oracle managed files) for storage to a different server and non-ASM storage. Oracle version is 10g EE. My database has one bigfile tablespace and it's datafile is about 250GB. The restore fails and it has something to do with the bigfile tablespace.
    Here is the rman restore script:
    run
    set newname for datafile 1 to '/ora01/db/ehr/system01.dbf';
    set newname for datafile 2 to '/ora01/db/ehr/undotbs01.dbf';
    set newname for datafile 3 to '/ora01/db/ehr/sysaux01.dbf';
    set newname for datafile 4 to '/ora01/db/ehr/undotbs02.dbf';
    set newname for datafile 5 to '/ora01/db/ehr/users01.dbf';
    set newname for datafile 6 to '/ora01/db/ehr/apolloaud01.dbf';
    set newname for datafile 7 to '/ora01/db/ehr/apollohist01.dbf';
    set newname for datafile 8 to '/ora01/db/ehr/apolloidx01.dbf';
    set newname for datafile 9 to '/ora01/db/ehr/apollotab01.dbf';
    set newname for datafile 10 to '/ora01/db/ehr/apollotab02.dbf';
    set newname for datafile 11 to '/ora02/db/ehr/apollolob01.dbf';
    set newname for datafile 12 to '/ora01/db/ehr/apollofdb01.dbf';
    set newname for datafile 13 to '/ora01/db/ehr/apolloidx02.dbf';
    set newname for datafile 14 to '/ora01/db/ehr/apolloidx03.dbf';
    set newname for datafile 15 to '/ora01/db/ehr/apolloaud02.dbf';
    set newname for datafile 16 to '/ora01/db/ehr/apollotab03.dbf';
    set until sequence 60298 thread 2;
    restore database;
    switch datafile all;
    recover database;
    Datafile 11 is the datafile in the bigfile tablespace. Here are the weird things about the restore:
    1. The restore output shows this:
    creating datafile fno=11 name=/ora02/db/ehr/apollolob01.dbf
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to /ora01/db/ehr/system01.dbf
    restoring datafile 00002 to /ora01/db/ehr/undotbs01.dbf
    restoring datafile 00003 to /ora01/db/ehr/sysaux01.dbf
    restoring datafile 00004 to /ora01/db/ehr/undotbs02.dbf
    restoring datafile 00005 to /ora01/db/ehr/users01.dbf
    restoring datafile 00006 to /ora01/db/ehr/apolloaud01.dbf
    restoring datafile 00007 to /ora01/db/ehr/apollohist01.dbf
    restoring datafile 00008 to /ora01/db/ehr/apolloidx01.dbf
    restoring datafile 00009 to /ora01/db/ehr/apollotab01.dbf
    restoring datafile 00010 to /ora01/db/ehr/apollotab02.dbf
    restoring datafile 00012 to /ora01/db/ehr/apollofdb01.dbf
    restoring datafile 00013 to /ora01/db/ehr/apolloidx02.dbf
    restoring datafile 00014 to /ora01/db/ehr/apolloidx03.dbf
    restoring datafile 00015 to /ora01/db/ehr/apolloaud02.dbf
    restoring datafile 00016 to /ora01/db/ehr/apollotab03.dbf
    Why at the beginning is it "creating" datafile 11? Then it doesnt even say it is "restoring" that datafile. Only restoring datafiles 1,2,3,4,5,6,7,8,9,10,12,13,14,15, and 16.
    When it creates datafile 11 it is only 26GB, that is much smaller than it should be according to v$datafile view on source prod database. Also even though it says it is creating datafile 11 as /ora02/db/ehr/apollolob01.dbf it actually creates it as an oracle managed file at /ora02/db/ehr/EHR/datafile/o1_mf_apollolo_6crxyqs2_.dbf
    After the datafiles are restored the "switch datafile all" command fails:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of switch command at 10/18/2010 13:58:37
    ORA-19625: error identifying file /ora02/db/ehr/apollolob01.dbf
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    So my question is how do I get this database restored to non-ASM (and non omf)?

    So I tried using a different scn with my "set until scn #####" then the restore created 2 datafiles. The datafile for apollolob and apollotab02.dbf. So I think I have narrowed the problem to be that I am not using the correct scn number so RMAN can successfully restore those datafiles and recreates them instead. How do I find the correct scn to use to do a successful restore of the entire database? I have seen different methods on the web, but cant figure it out. Ive used "select archivelog_change#-1 from v$database;" and I also did "list backup of archivelog all" and used the latest sequence number. How can I find the correct scn to use so the entire database will restore?
    Here is the output of "list backup":
    List of Backup Sets
    ===================
    BS Key Size Device Type Elapsed Time Completion Time
    19724 41.12M DISK 00:00:10 14-OCT-10
    BP Key: 65840 Status: AVAILABLE Compressed: YES Tag: TAG20101014T210022
    Piece Name: /mnt/migrate/rman/EHR_dbid3632734257_set113195_piece1_copy1_20101014
    List of Archived Logs in backup set 19724
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 50439 3230234843 14-OCT-10 3230268282 14-OCT-10
    1 50440 3230268282 14-OCT-10 3230286806 14-OCT-10
    2 60280 3230234852 14-OCT-10 3230251419 14-OCT-10
    2 60281 3230251419 14-OCT-10 3230268263 14-OCT-10
    2 60282 3230268263 14-OCT-10 3230286809 14-OCT-10
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    19725 Full 126.40G DISK 09:11:51 15-OCT-10
    List of Datafiles in backup set 19725
    File LV Type Ckp SCN Ckp Time Name
    1 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/system.625.609259453
    2 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/undotbs1.620.609259461
    3 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/sysaux.768.609259463
    4 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/undotbs2.632.609259467
    5 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/users.257.609259471
    6 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apolloaud.316.619537285
    7 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apollohist.629.619538155
    8 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apolloidx.312.619538169
    9 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apollotab.276.619538487
    10 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apollotab.576.619539331
    11 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apollolob.570.619539593
    12 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apollofdb.750.645974339
    13 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apolloidx.429.651171265
    14 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apolloidx.705.688680793
    15 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apolloaud.747.699632315
    16 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apollotab.330.715622123
    Backup Set Copy #1 of backup set 19725
    Device Type Elapsed Time Completion Time Compressed Tag
    DISK 09:11:51 20-OCT-10 YES TAG20101014T210039
    List of Backup Pieces for backup set 19725 Copy #1
    BP Key Pc# Status Piece Name
    65851 1 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece1_copy1_20101014
    65862 2 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece2_copy1_20101014
    65873 3 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece3_copy1_20101014
    65884 4 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece4_copy1_20101014
    65895 5 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece5_copy1_20101014
    65901 6 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece6_copy1_20101014
    65902 7 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece7_copy1_20101014
    65903 8 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece8_copy1_20101014
    65904 9 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece9_copy1_20101014
    65841 10 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece10_copy1_20101014
    65842 11 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece11_copy1_20101014
    65843 12 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece12_copy1_20101014
    65844 13 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece13_copy1_20101014
    65845 14 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece14_copy1_20101014
    65846 15 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece15_copy1_20101014
    65847 16 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece16_copy1_20101014
    65848 17 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece17_copy1_20101014
    65849 18 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece18_copy1_20101014
    65850 19 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece19_copy1_20101014
    65852 20 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece20_copy1_20101014
    65853 21 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece21_copy1_20101014
    65854 22 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece22_copy1_20101015
    65855 23 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece23_copy1_20101015
    65856 24 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece24_copy1_20101015
    65857 25 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece25_copy1_20101015
    65858 26 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece26_copy1_20101015
    65859 27 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece27_copy1_20101015
    65860 28 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece28_copy1_20101015
    65861 29 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece29_copy1_20101015
    65863 30 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece30_copy1_20101015
    65864 31 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece31_copy1_20101015
    65865 32 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece32_copy1_20101015
    65866 33 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece33_copy1_20101015
    65867 34 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece34_copy1_20101015
    65868 35 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece35_copy1_20101015
    65869 36 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece36_copy1_20101015
    65870 37 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece37_copy1_20101015
    65871 38 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece38_copy1_20101015
    65872 39 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece39_copy1_20101015
    65874 40 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece40_copy1_20101015
    65875 41 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece41_copy1_20101015
    65876 42 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece42_copy1_20101015
    65877 43 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece43_copy1_20101015
    65878 44 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece44_copy1_20101015
    65879 45 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece45_copy1_20101015
    65880 46 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece46_copy1_20101015
    65881 47 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece47_copy1_20101015
    65882 48 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece48_copy1_20101015
    65883 49 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece49_copy1_20101015
    65885 50 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece50_copy1_20101015
    65886 51 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece51_copy1_20101015
    65887 52 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece52_copy1_20101015
    65888 53 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece53_copy1_20101015
    65889 54 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece54_copy1_20101015
    65890 55 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece55_copy1_20101015
    65891 56 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece56_copy1_20101015
    65892 57 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece57_copy1_20101015
    65893 58 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece58_copy1_20101015
    65894 59 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece59_copy1_20101015
    65896 60 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece60_copy1_20101015
    65897 61 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece61_copy1_20101015
    65898 62 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece62_copy1_20101015
    65899 63 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece63_copy1_20101015
    65900 64 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece64_copy1_20101015
    BS Key Size Device Type Elapsed Time Completion Time
    19726 228.10M DISK 00:00:49 15-OCT-10
    BP Key: 65905 Status: AVAILABLE Compressed: YES Tag: TAG20101015T061242
    Piece Name: /mnt/migrate/rman/EHR_dbid3632734257_set113197_piece1_copy1_20101015
    List of Archived Logs in backup set 19726
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 50441 3230286806 14-OCT-10 3230331993 14-OCT-10
    1 50442 3230331993 14-OCT-10 3230401945 14-OCT-10
    1 50443 3230401945 14-OCT-10 3230469794 15-OCT-10
    1 50444 3230469794 15-OCT-10 3230555010 15-OCT-10
    1 50445 3230555010 15-OCT-10 3230618396 15-OCT-10
    1 50446 3230618396 15-OCT-10 3230695020 15-OCT-10
    2 60283 3230286809 14-OCT-10 3230304858 14-OCT-10
    2 60284 3230304858 14-OCT-10 3230330891 14-OCT-10
    2 60285 3230330891 14-OCT-10 3230354275 14-OCT-10
    2 60286 3230354275 14-OCT-10 3230366292 14-OCT-10
    2 60287 3230366292 14-OCT-10 3230399805 14-OCT-10
    2 60288 3230399805 14-OCT-10 3230423577 14-OCT-10
    2 60289 3230423577 14-OCT-10 3230446176 15-OCT-10
    2 60290 3230446176 15-OCT-10 3230469756 15-OCT-10
    2 60291 3230469756 15-OCT-10 3230496786 15-OCT-10
    2 60292 3230496786 15-OCT-10 3230524710 15-OCT-10
    2 60293 3230524710 15-OCT-10 3230554981 15-OCT-10
    2 60294 3230554981 15-OCT-10 3230583802 15-OCT-10
    2 60295 3230583802 15-OCT-10 3230610465 15-OCT-10
    2 60296 3230610465 15-OCT-10 3230617887 15-OCT-10
    2 60297 3230617887 15-OCT-10 3230673207 15-OCT-10
    2 60298 3230673207 15-OCT-10 3230695022 15-OCT-10

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

  • Database Portability of restored Database in Production server

    Hi All,
    I have a query regarding database portability in Exchange 2010 server.
    I have restored a Journaling Database which is ~ 350 GB and just wanted to check if i dismount the prod database which does not have any data in the DB and only journlaing mailbox is pointed to this DB , can i move restored DB .edb file to the production
    server physical location and mount it, will the journaling account will connect to this restored database which i have copied. or do i have to run any command which will reconnect the mailbox. 
    BR/Deepak

    Hi,
    You can use the Connect-Mailbox -Identity -Archive cmdlet to re-connect an archive mailbox.
    You can refer to the following article.
    https://technet.microsoft.com/en-GB/library/ee633490(v=exchg.141).aspx
    Best regards,
    Belinda Ma
    TechNet Community Support

  • Use of Table Valued Parameter to restore databases

    I'm a noob with table valued parameters.  Not sure if I can use TVP for what I need to do.  I want to restore/refresh multiple databases from arbitrary number of .BAK files.  I can successfully populate a TVP with the needed
    source information which includes:
    Database name
    File/device name (i.e., xxx.BAK file)
    Logical data file name
    Logical log file name
    Now I want to create a stored procedure that contains Restore Database command like this:
       RESTORE DATABASE <@database name> 
       FROM <@path and name of .bak file> 
       WITH MOVE <@logical data file> TO <new path and file name>,
       MOVE <@logical log file name> TO <new path and file name>;
    Can I replace those variables with the column values in the TVP?  I'm not sure because all the stored proc examples I see simply insert rows from the TVP into rows of an existing table.

    Yes, but you would need to run a cursor of your TVP:
    DECLARE cur CURSOR STATIC LOCAL FOR
       SELECT db, path, logical_data_file, new_data_path, logical_log_file,
              new_logfile_apth
        FROM  @TVP
    OPEN cur
    WHILE 1 = 1
    BEGIN
       FETCH cur INTO @db, @path, @logical_data_file, @new_data_path,
                      @new_logical_log_file, @new_logfile_path
       IF @@fetch_status <> 0
          BREAK
       RESTORE DATABASE @db FROM DISK = @path
       WITH MOVE @logical_data_file TO @new_data_path,
            MOVE @new_logical_log_file, @new_logfile_pth
    END
    DEALLOCATE cur
    Erland Sommarskog, SQL Server MVP, [email protected]

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

  • Restore database to another host - I have only rman backup files

    Hi all,
    The PC where Oracle was installed is crashed.
    I have only the RMAN backup pieces in other computer.
    I want to restore/recover this RMAN backup to other PC.
    I know the commands, restore database, recover database,
    but I've always used these commands with rman into existing rman
    user. Now, I don't have anything. I have only the RMAN backup files.
    How can I restore/recover database to other PC using these files?
    The steps are? create other database, create a rman user, register
    the rman backup files in this new rman, and restore these files
    in this new database already created with the same name?
    thank you!!!!

    XM wrote:
    Hi all,
    The PC where Oracle was installed is crashed.
    I have only the RMAN backup pieces in other computer.
    I want to restore/recover this RMAN backup to other PC.
    I know the commands, restore database, recover database,
    but I've always used these commands with rman into existing rman
    user. Now, I don't have anything. I have only the RMAN backup files.
    How can I restore/recover database to other PC using these files?
    The steps are? create other database, create a rman user, register
    the rman backup files in this new rman, and restore these files
    in this new database already created with the same name?
    thank you!!!!You need to perform disaster recovery. For this, follow my step by step video tutorial:
    http://kamranagayev.wordpress.com/2010/03/29/rman-video-tutorial-series-performing-disaster-recovery-with-rman/

Maybe you are looking for

  • To prefix an amount with a negative sign

    Hi All, I want to prefix a positive amount with a negative sign...for display... How will I be able to do that ? Regards, Archana

  • QRcode printing with unicode characters

    Hi, We're trying to print out QRcode in smartforms by referencing below link with output device ZBWIPP and device type ZBWIPPQR. http://www.rjruss.info/2010/09/how-to-printpdf-qr-codes-in-standard.html Meanwhile, we need to print out trad. Chinese in

  • Businesss partner change

    Hi , I am trying to use BAPI_ISUPARTNER_CHANGE to change the BP . I am passing post_code1 , region , taxjurcode but i am not able to see the changes thorough FPP3 . i.e., address is not changing . can anyone tell me how to use this BAPI to change the

  • Users are unable to login (HD is located on an AFP or SMB server message)

    I've searched on here, but nothing I've tried helps. This is only happening on certain machines in a building. They have all been re-imaged multiple times. Other machines in other buildings running the exact same setup work fine. It's a 10.4.7 client

  • Transfer contacts from Motorola Razr to iPhone - or - Mac Address Book

    Got the iPhone a few hours ago and have talked to Support at Apple, AT&T and Motorola. Yikes! No one can get mea straight answer. I'd like to transfer to 150 phone numbers in my old Razr phone to my Mac Address book or straight to my new iPhone. Let'