RMAN Validate backup from a location

Hi All,
I need to validate a set of RMAN backup files that I took to a disk say /ora_tmp.
Do I need to catalogue those files to validate or I can validate the files connecting to the target and provide a location to validate the backups.
Please let me know.
Thanks,
Chilakamarthi.

You can use the BACKUP VALIDATE command to do the following:
Check datafiles for physical and logical block corruption
Confirm that all database files exist and are in the correct locations
When you run BACKUP VALIDATE, RMAN reads the files to be backed up in their entirety, as it would during a real backup. RMAN does not, however, actually produce any backup sets or image copies.
To validate files with the BACKUP VALIDATE command:
Start RMAN and connect to a target database and recovery catalog (if used).
Run the BACKUP VALIDATE command.
For example, you can validate that all database files and archived logs can be backed up by running a command as shown in the following example. This command checks for physical corruptions only.
BACKUP VALIDATE
DATABASE
ARCHIVELOG ALL;
To check for logical corruptions in addition to physical corruptions, run the following variation of the preceding command:
BACKUP VALIDATE
CHECK LOGICAL
DATABASE
ARCHIVELOG ALL;
Hope this will help you

Similar Messages

  • Rman restore files from diff location

    Hi,
    In rman backups i have kept 3 location of backup /disk1,/disk2,sbt.now i want to restore the datafile or archive file from only location /disk2 .how can i do that.I dont want to give the backupset name or tag etc etc.Can i point allocate channel to /disk2.when i am pointing it to /disk2 it is still picking for /disk1.
    Please help
    Regards

    Hi CKPT,
    give the full connection string i am trying below its not connecting
    rman TARGET sys/xxxx@kau CATALOG '/disk2'Recovery Manager: Release 10.2.0.1.0 - Production on Sun Nov 14 12:40:27 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: KAU (DBID=1783968026, not open)
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-10000: error parsing target database connect string "/disk2">
    AND WHAT CHINAR SAID IS NOT WORKING ITS GOING TO /disk1 after allocation channel to /disk2
    Regards

  • I can ping and browse shares on time capsule, but not make backups from other location connected with MPLS?

    Hi
    We have just bought an Apple Time Capsule with 3TB of storage, to make backups of our users macbooks. It works fine at the office1 where it is located, but from our other office, time machine backup doesn't work. The offices are connected through a 100Mbit MPLS connection with no firewall - everybody in office1 can see everything at office2, and vice versa. The users at office2 can ping the time capsule, and they can also browse network shares on it.
    The only thing that doesn't work, are time machine backups.
    The only difrence I can imagine is, that the the machines at office2 are on a different IP subnet, that is being routed through the MPLS connection.
    Is there a problem with the AFP perhaps? SMB and ping works fine, my guess is, that AFP doesn't like the fact that the clients are on a different subnet than the time capsule. But what can be done about this?
    Best regards
    Peter Bak

    Thanks Linc ......you were right on the money. Your help has been awsome. I spent 3 hours last night doing stuff with out any solutions. May I ask you another question if you have the time and patience please. My orriginal setup was 2 windows laptops with XP on them connected with a timecapsule attached to a router. Hence the time capsule made a wireless signal aswell as being an external hard drive. On one of the laptops i have a printer attached to it which was shared so that the other computer could print documents through the network however the computer attached to the printer has to be on. Do you know what i have to do so these new 2 mac book pros can print to that printer? Thanks again for all your previous help. Nick

  • Restore RMAN backup from tape

    I have to restore the RMAN full backup from tape to new host to a previous date say March 1st. My target database RMAN retention period is 28 days, today is 11th May.
    Is it possible to restore the obsolete database from tape backup to new host as of May 1st. If not possible, I would like to restore the available backup say as 15th April from tape to new host.
    Can you please provide me the steps to restore the tape old backup to new host.
    Thanks,
    Mahi

    Can't read documentation? You also seem to be unable to mark questions as answered
    Mahi      
         Newbie
    Handle:      Mahi
    Status Level:      Newbie
    Registered:      Nov 24, 2010
    Total Posts:      24
    Total Questions:      15 (13 unresolved)
    Sybrand Bakker
    Senior Oracle DBA

  • How to restore RMAN hot backup to another database on another server?

    I want to know how to restore RMAN hot backup from production server to another database on a testing server.
    The hot backup is from a database named PROD on the production server
    The database to be restored with the hot backup is TEST on the testing server. There is already a PROD database on the testing server and this PROD database must be kept.
    I have read some threads about changing initTEST.ora to PROD to restore such backup but (I think) will not work in my case since I already have a PROD database on the testing server.
    The version is 11gR2 on Linux but the compatible parameter is set to 10.2.0.1.0.
    Thanks for any help.

    Hi,
    Since you are on 11g, hope this helps you http://shivanandarao.wordpress.com/2012/04/28/duplicating-database-without-connecting-to-target-database-or-catalog-database-in-oracle-11g/
    881656     
    Handle:     881656
    Status Level:     Newbie
    Registered:     Aug 25, 2011
    Total Posts:     53
    Total Questions:      31 (31 unresolved)
    Looks like forum is of no help to you. To get better responses, consider closing your threads by providing appropriate points if you feel that they have been answered. Keep the forum clean !!

  • RMAN backup from another DB server

    Hi all,
    I would like to know Can we take a rman backup from another DB server in oracle 9.2...
    i.e
    suppose that we have two server
    1. main server
    2. dup server
    I want to take a backup of main server throeugh dup server.....
    if it is poosible then what are all the things that i have to configure....
    pls suggest me.....

    getting an error,
    here hotest is the main db
    and testho is dup db
    F:\Documents and Settings\deepali>rman target rman/cat@hotest catalog rman/cat@testho
    Recovery Manager: Release 9.2.0.4.0 - Production
    Copyright (c) 1995, 2002, Oracle Corporation.  All rights reserved.
    connected to target database: HOTEST (DBID=982176707)
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04004: error from recovery catalog database: ORA-01045: user RMAN lacks CRE
    ATE SESSION privilege; logon denied
    F:\Documents and Settings\deepali>sqlplus /nolog
    SQL*Plus: Release 9.2.0.4.0 - Production on Mon Apr 6 12:17:13 2009
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    SQL> conn sys/deepali as sysdba
    Connected.
    SQL>  GRANT RECOVERY_CATALOG_OWNER TO rman;
    Grant succeeded.
    SQL> GRANT CONNECT, RESOURCE TO rman;
    Grant succeeded.
    SQL> exit
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    F:\Documents and Settings\deepali>rman target rman/cat@hotest catalog rman/cat@t
    estho
    Recovery Manager: Release 9.2.0.4.0 - Production
    Copyright (c) 1995, 2002, Oracle Corporation.  All rights reserved.
    connected to target database: HOTEST (DBID=982176707)
    connected to recovery catalog database
    recovery catalog is not installed
    RMAN> register database;
    recovery catalog is not installed
    recovery catalog is not installed
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of register command at 04/06/2009 12:18:09
    RMAN-06429: RCVCAT database is not compatible with this version of RMAN
    RMAN> select * from rc_database;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01005: syntax error: found "identifier": expecting one of: "allocate, alter
    , backup, beginline, blockrecover, catalog, change, connect, copy, create, cross
    check, configure, duplicate, debug, delete, drop, exit, endinline, host, {, libr
    ary, list, mount, open, print, quit, recover, register, release, replace, report
    , renormalize, reset, restore, resync, rman, run, rpctest, set, setlimit, sql, s
    pool, startup, shutdown, send, show, test, upgrade, validate"
    RMAN-01008: the bad identifier was: select
    RMAN-01007: at line 1 column 1 file: standard input
    RMAN>pls suggest me whether i am following the right path or not...

  • RMAN backup to two locations

    How can I write backupsets to two different locations at the same time . So, I have FRA area and /backup UFS mounted mount point . I want to write on both of them . Can anyone tell how can I do that at the same time ? Help will be appreciated. Thanks

    Hi,
    I have to configure RMAN in such a manner that it has two backup destination
    1) FRA
    2) ANY OTHER DESTINATION
    but according to our retention policy (15days) the obselete backup file should be deleted only from one location(FRA) but the other location's backup should persist until i manualy remove them.
    did retention policy of RMAN and FRA is done seperatly?
    Thanks in advance.
    Regards,
    Vindhyesh

  • Backup archivelogs from different location

    DB : 10.2.0.4
    OS : HEHL5
    due to space issue i moved the archived to different location from log_archive_dest_1.
    is it possible to backup the archivelogs from different location as i moved them?
    Thanks.

    My bad , it's not a must! Please see,
    bash-3.2$ ls
    o1_mf_1_34_8jk60c7b_.arc  o1_mf_1_35_8jkz3p0l_.arc  o1_mf_1_36_8jlcqpky_.arc
    bash-3.2$ mkdir /tmp/archivelognewloc
    bash-3.2$ cp *.* /tmp/archivelognewloc
    bash-3.2$ rman target /
    Recovery Manager: Release 11.2.0.1.0 - Production on Wed Jan 30 14:40:17 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    allconnected to target database: **** (DBID=1228973204)
    RMAN>
    RMAN> catalog start with '/tmp/archivelognewloc';
    searching for all files that match the pattern /tmp/archivelognewloc
    List of Files Unknown to the Database
    =====================================
    File Name: /tmp/archivelognewloc/o1_mf_1_36_8jlcqpky_.arc
    File Name: /tmp/archivelognewloc/o1_mf_1_35_8jkz3p0l_.arc
    File Name: /tmp/archivelognewloc/o1_mf_1_34_8jk60c7b_.arc
    Do you really want to catalog the above files (enter YES or NO)? yes
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: /tmp/archivelognewloc/o1_mf_1_36_8jlcqpky_.arc
    File Name: /tmp/archivelognewloc/o1_mf_1_35_8jkz3p0l_.arc
    File Name: /tmp/archivelognewloc/o1_mf_1_34_8jk60c7b_.arc
    RMAN>
    Update : A little better demo
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Jan 30 15:00:32 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, Oracle Label Security, OLAP, Data Mining
    and Real Application Testing options
    SQL> alter system switch logfile;
    System altered.
    SQL> /
    System altered.
    SQL> alter system checkpoint;
    System altered.
    SQL> alter system switch logfile;
    System altered.
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, Oracle Label Security, OLAP, Data Mining
    and Real Application Testing options
    bash-3.2$ ls
    o1_mf_1_38_8jldnkog_.arc  o1_mf_1_40_8jlfdnph_.arc
    o1_mf_1_39_8jlfdmoq_.arc  o1_mf_1_41_8jlff2nn_.arc
    bash-3.2$ pwd
    /u01/app/oracle/flash_recovery_area/AMER/archivelog/2013_01_30
    [root@EDHDR3P0 ~]# ls /tmp/archivelognewloc/
    [root@EDHDR3P0 ~]# exit
    logout
    bash-3.2$
    bash-3.2$
    bash-3.2$ pwd
    /u01/app/oracle/flash_recovery_area/AMER/archivelog/2013_01_30
    bash-3.2$ ls
    o1_mf_1_38_8jldnkog_.arc  o1_mf_1_40_8jlfdnph_.arc
    o1_mf_1_39_8jlfdmoq_.arc  o1_mf_1_41_8jlff2nn_.arc
    bash-3.2$ ls /tmp/archivelognewloc/
    bash-3.2$ ls -l /tmp/archivelognewloc/
    total 0
    bash-3.2$ cp * /tmp/archivelognewloc/
    bash-3.2$ ls -l /tmp/archivelognewloc/
    total 3620
    -rw-r----- 1 oracle oinstall  549888 Jan 30 15:02 o1_mf_1_38_8jldnkog_.arc
    -rw-r----- 1 oracle oinstall 3117568 Jan 30 15:02 o1_mf_1_39_8jlfdmoq_.arc
    -rw-r----- 1 oracle oinstall    1024 Jan 30 15:02 o1_mf_1_40_8jlfdnph_.arc
    -rw-r----- 1 oracle oinstall   19456 Jan 30 15:02 o1_mf_1_41_8jlff2nn_.arc
    bash-3.2$ pwd
    /u01/app/oracle/flash_recovery_area/AMER/archivelog/2013_01_30
    bash-3.2$ rm -rf *
    bash-3.2$ ls
    bash-3.2$ rman target /
    Recovery Manager: Release 11.2.0.1.0 - Production on Wed Jan 30 15:03:13 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: AMER (DBID=1228973204)
    RMAN> backup archivelog all;
    Starting backup at 30-JAN-13
    current log archived
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=151 device type=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 01/30/2013 15:03:32
    RMAN-06059: expected archived log not found, loss of archived log compromises recoverability
    ORA-19625: error identifying file /u01/app/oracle/flash_recovery_area/AMER/archivelog/2013_01_30/o1_mf_1_38_8jldnkog_.arc
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    RMAN> catalog start with '//tmp/archivelognewloc';
    searching for all files that match the pattern //tmp/archivelognewloc
    List of Files Unknown to the Database
    =====================================
    File Name: /tmp/archivelognewloc/o1_mf_1_39_8jlfdmoq_.arc
    File Name: /tmp/archivelognewloc/o1_mf_1_41_8jlff2nn_.arc
    File Name: /tmp/archivelognewloc/o1_mf_1_40_8jlfdnph_.arc
    File Name: /tmp/archivelognewloc/o1_mf_1_38_8jldnkog_.arc
    Do you really want to catalog the above files (enter YES or NO)? yes
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: /tmp/archivelognewloc/o1_mf_1_39_8jlfdmoq_.arc
    File Name: /tmp/archivelognewloc/o1_mf_1_41_8jlff2nn_.arc
    File Name: /tmp/archivelognewloc/o1_mf_1_40_8jlfdnph_.arc
    File Name: /tmp/archivelognewloc/o1_mf_1_38_8jldnkog_.arc
    RMAN> backup archivelog all;
    Starting backup at 30-JAN-13
    current log archived
    using channel ORA_DISK_1
    archived log /u01/app/oracle/flash_recovery_area/AMER/archivelog/2013_01_30/o1_mf_1_38_8jldnkog_.arc not found or out of sync with catalog
    trying alternate file for archived log of thread 1 with sequence 38
    archived log /u01/app/oracle/flash_recovery_area/AMER/archivelog/2013_01_30/o1_mf_1_39_8jlfdmoq_.arc not found or out of sync with catalog
    trying alternate file for archived log of thread 1 with sequence 39
    archived log /u01/app/oracle/flash_recovery_area/AMER/archivelog/2013_01_30/o1_mf_1_40_8jlfdnph_.arc not found or out of sync with catalog
    trying alternate file for archived log of thread 1 with sequence 40
    archived log /u01/app/oracle/flash_recovery_area/AMER/archivelog/2013_01_30/o1_mf_1_41_8jlff2nn_.arc not found or out of sync with catalog
    trying alternate file for archived log of thread 1 with sequence 41
    channel ORA_DISK_1: starting archived log backup set
    channel ORA_DISK_1: specifying archived log(s) in backup set
    input archived log thread=1 sequence=38 RECID=45 STAMP=806079846
    input archived log thread=1 sequence=39 RECID=42 STAMP=806079846
    input archived log thread=1 sequence=40 RECID=44 STAMP=806079846
    input archived log thread=1 sequence=41 RECID=43 STAMP=806079846
    input archived log thread=1 sequence=42 RECID=41 STAMP=806079812
    input archived log thread=1 sequence=43 RECID=46 STAMP=806079851
    channel ORA_DISK_1: starting piece 1 at 30-JAN-13
    channel ORA_DISK_1: finished piece 1 at 30-JAN-13
    piece handle=/u01/app/oracle/flash_recovery_area/AMER/backupset/2013_01_30/o1_mf_annnn_TAG20130130T150411_8jlfmcmf_.bkp tag=TAG20130130T150411 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
    Finished backup at 30-JAN-13
    RMAN> list backup of archivelog all;
    List of Backup Sets
    ===================
    BS Key  Size       Device Type Elapsed Time Completion Time
    1       981.94M    DISK        00:01:15     30-JAN-13     
            BP Key: 1   Status: AVAILABLE  Compressed: NO  Tag: TAG20130130T143224
            Piece Name: /u01/app/oracle/flash_recovery_area/AMER/backupset/2013_01_30/o1_mf_annnn_TAG20130130T143224_8jlcqs5d_.bkp
      List of Archived Logs in backup set 1
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      1    5       830546     25-JAN-13 841823     25-JAN-13
      1    6       841823     25-JAN-13 866733     25-JAN-13
      1    7       866733     25-JAN-13 889743     25-JAN-13
      1    8       889743     25-JAN-13 912846     26-JAN-13
      1    9       912846     26-JAN-13 931109     26-JAN-13
      1    10      931109     26-JAN-13 952239     26-JAN-13
      1    11      952239     26-JAN-13 979268     26-JAN-13
      1    12      979268     26-JAN-13 1004465    26-JAN-13
      1    13      1004465    26-JAN-13 1021707    26-JAN-13
      1    14      1021707    26-JAN-13 1040437    27-JAN-13
      1    15      1040437    27-JAN-13 1068031    27-JAN-13
      1    16      1068031    27-JAN-13 1091450    27-JAN-13
      1    17      1091450    27-JAN-13 1114656    27-JAN-13
      1    18      1114656    27-JAN-13 1137779    27-JAN-13
      1    19      1137779    27-JAN-13 1165125    27-JAN-13
      1    20      1165125    27-JAN-13 1199499    28-JAN-13
      1    21      1199499    28-JAN-13 1228282    28-JAN-13
      1    22      1228282    28-JAN-13 1249640    28-JAN-13
      1    23      1249640    28-JAN-13 1270613    28-JAN-13
      1    24      1270613    28-JAN-13 1291570    28-JAN-13
      1    25      1291570    28-JAN-13 1312497    28-JAN-13
      1    26      1312497    28-JAN-13 1332622    28-JAN-13
      1    27      1332622    28-JAN-13 1365097    28-JAN-13
      1    28      1365097    28-JAN-13 1395297    28-JAN-13
      1    29      1395297    28-JAN-13 1407058    28-JAN-13
      1    30      1407058    28-JAN-13 1437549    29-JAN-13
      1    31      1437549    29-JAN-13 1469773    29-JAN-13
      1    32      1469773    29-JAN-13 1504608    29-JAN-13
      1    33      1504608    29-JAN-13 1522578    29-JAN-13
      1    34      1522578    29-JAN-13 1553706    30-JAN-13
      1    35      1553706    30-JAN-13 1586954    30-JAN-13
      1    36      1586954    30-JAN-13 1603625    30-JAN-13
    BS Key  Size       Device Type Elapsed Time Completion Time
    2       538.00K    DISK        00:00:01     30-JAN-13     
            BP Key: 2   Status: AVAILABLE  Compressed: NO  Tag: TAG20130130T144745
            Piece Name: /u01/app/oracle/flash_recovery_area/AMER/backupset/2013_01_30/o1_mf_annnn_TAG20130130T144745_8jldnkxt_.bkp
      List of Archived Logs in backup set 2
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      1    38      1604067    30-JAN-13 1604680    30-JAN-13
    BS Key  Size       Device Type Elapsed Time Completion Time
    3       3.64M      DISK        00:00:00     30-JAN-13     
            BP Key: 3   Status: AVAILABLE  Compressed: NO  Tag: TAG20130130T150411
            Piece Name: /u01/app/oracle/flash_recovery_area/AMER/backupset/2013_01_30/o1_mf_annnn_TAG20130130T150411_8jlfmcmf_.bkp
      List of Archived Logs in backup set 3
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      1    38      1604067    30-JAN-13 1604680    30-JAN-13
      1    39      1604680    30-JAN-13 1606046    30-JAN-13
      1    40      1606046    30-JAN-13 1606049    30-JAN-13
      1    41      1606049    30-JAN-13 1606057    30-JAN-13
      1    42      1606057    30-JAN-13 1606303    30-JAN-13
      1    43      1606303    30-JAN-13 1606353    30-JAN-13
    RMAN> crosscheck backup of archivelog all;
    using channel ORA_DISK_1
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u01/app/oracle/flash_recovery_area/AMER/backupset/2013_01_30/o1_mf_annnn_TAG20130130T143224_8jlcqs5d_.bkp RECID=1 STAMP=806077945
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u01/app/oracle/flash_recovery_area/AMER/backupset/2013_01_30/o1_mf_annnn_TAG20130130T144745_8jldnkxt_.bkp RECID=2 STAMP=806078865
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u01/app/oracle/flash_recovery_area/AMER/backupset/2013_01_30/o1_mf_annnn_TAG20130130T150411_8jlfmcmf_.bkp RECID=3 STAMP=806079851
    Crosschecked 3 objects
    RMAN> list backup of archivelog all;
    List of Backup Sets
    ===================
    BS Key  Size       Device Type Elapsed Time Completion Time
    1       981.94M    DISK        00:01:15     30-JAN-13     
            BP Key: 1   Status: AVAILABLE  Compressed: NO  Tag: TAG20130130T143224
            Piece Name: /u01/app/oracle/flash_recovery_area/AMER/backupset/2013_01_30/o1_mf_annnn_TAG20130130T143224_8jlcqs5d_.bkp
      List of Archived Logs in backup set 1
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      1    5       830546     25-JAN-13 841823     25-JAN-13
      1    6       841823     25-JAN-13 866733     25-JAN-13
      1    7       866733     25-JAN-13 889743     25-JAN-13
      1    8       889743     25-JAN-13 912846     26-JAN-13
      1    9       912846     26-JAN-13 931109     26-JAN-13
      1    10      931109     26-JAN-13 952239     26-JAN-13
      1    11      952239     26-JAN-13 979268     26-JAN-13
      1    12      979268     26-JAN-13 1004465    26-JAN-13
      1    13      1004465    26-JAN-13 1021707    26-JAN-13
      1    14      1021707    26-JAN-13 1040437    27-JAN-13
      1    15      1040437    27-JAN-13 1068031    27-JAN-13
      1    16      1068031    27-JAN-13 1091450    27-JAN-13
      1    17      1091450    27-JAN-13 1114656    27-JAN-13
      1    18      1114656    27-JAN-13 1137779    27-JAN-13
      1    19      1137779    27-JAN-13 1165125    27-JAN-13
      1    20      1165125    27-JAN-13 1199499    28-JAN-13
      1    21      1199499    28-JAN-13 1228282    28-JAN-13
      1    22      1228282    28-JAN-13 1249640    28-JAN-13
      1    23      1249640    28-JAN-13 1270613    28-JAN-13
      1    24      1270613    28-JAN-13 1291570    28-JAN-13
      1    25      1291570    28-JAN-13 1312497    28-JAN-13
      1    26      1312497    28-JAN-13 1332622    28-JAN-13
      1    27      1332622    28-JAN-13 1365097    28-JAN-13
      1    28      1365097    28-JAN-13 1395297    28-JAN-13
      1    29      1395297    28-JAN-13 1407058    28-JAN-13
      1    30      1407058    28-JAN-13 1437549    29-JAN-13
      1    31      1437549    29-JAN-13 1469773    29-JAN-13
      1    32      1469773    29-JAN-13 1504608    29-JAN-13
      1    33      1504608    29-JAN-13 1522578    29-JAN-13
      1    34      1522578    29-JAN-13 1553706    30-JAN-13
      1    35      1553706    30-JAN-13 1586954    30-JAN-13
      1    36      1586954    30-JAN-13 1603625    30-JAN-13
    BS Key  Size       Device Type Elapsed Time Completion Time
    2       538.00K    DISK        00:00:01     30-JAN-13     
            BP Key: 2   Status: AVAILABLE  Compressed: NO  Tag: TAG20130130T144745
            Piece Name: /u01/app/oracle/flash_recovery_area/AMER/backupset/2013_01_30/o1_mf_annnn_TAG20130130T144745_8jldnkxt_.bkp
      List of Archived Logs in backup set 2
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      1    38      1604067    30-JAN-13 1604680    30-JAN-13
    BS Key  Size       Device Type Elapsed Time Completion Time
    3       3.64M      DISK        00:00:00     30-JAN-13     
            BP Key: 3   Status: AVAILABLE  Compressed: NO  Tag: TAG20130130T150411
            Piece Name: /u01/app/oracle/flash_recovery_area/AMER/backupset/2013_01_30/o1_mf_annnn_TAG20130130T150411_8jlfmcmf_.bkp
      List of Archived Logs in backup set 3
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      1    38      1604067    30-JAN-13 1604680    30-JAN-13
      1    39      1604680    30-JAN-13 1606046    30-JAN-13
      1    40      1606046    30-JAN-13 1606049    30-JAN-13
      1    41      1606049    30-JAN-13 1606057    30-JAN-13
      1    42      1606057    30-JAN-13 1606303    30-JAN-13
      1    43      1606303    30-JAN-13 1606353    30-JAN-13
    RMAN> HTH
    Aman....
    Edited by: Aman.... on Jan 30, 2013 3:06 PM

  • Got error when creating a standby DB from rman:  no backup or copy... Why?

    We try to create standby database from a production DB on another server (10.2.0.4). The RMAN backup is in the nfs file system which is also mounted to the target server (the DR box). So, the access path for the rman backup is the same look from primary DB server and DR DB server. I started the RMAN run:
    RMAN> RUN
    2> {
    3> ALLOCATE AUXILIARY CHANNEL aux1 DEVICE TYPE DISK;
    4> ALLOCATE AUXILIARY CHANNEL aux2 DEVICE TYPE DISK;
    5> DUPLICATE TARGET DATABASE for standby
    6> nofilenamecheck
    7> dorecover;
    8> }
    9>
    10> exit
    using target database control file instead of recovery catalog
    allocated channel: aux1
    channel aux1: sid=582 devtype=DISK
    allocated channel: aux2
    channel aux2: sid=584 devtype=DISK
    Starting Duplicate Db at 21-JUN-12
    contents of Memory Script:
    set until scn 12198261770353;
    restore clone standby controlfile;
    sql clone 'alter database mount standby database';
    executing Memory Script
    executing command: SET until clause
    Starting restore at 21-JUN-12
    released channel: aux1
    released channel: aux2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 06/21/2012 16:33:36
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06024: no backup or copy of the control file found to restore
    ===========================================================================
    The backups should have controlfile. There is rman show all display:
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
    CONFIGURE BACKUP OPTIMIZATION OFF;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backup/inbound/online/controlfile_auto%F';
    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 1 DEVICE TYPE DISK FORMAT '/backup/inbound/online/%d_%T_%t_%s';
    CONFIGURE MAXSETSIZE TO UNLIMITED;
    CONFIGURE ENCRYPTION FOR DATABASE OFF;
    CONFIGURE ENCRYPTION ALGORITHM 'AES128';
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/backup/inbound/online/snapcf_inbound.f';
    Why and how to fix? Thanks for help!

    Here is the list of command:
    RMAN> list backup of controlfile ;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    5518 Full 4.57M DISK 00:00:07 17-JUN-12
    BP Key: 5518 Status: AVAILABLE Compressed: NO Tag: TAG20120617T035926
    Piece Name: /backup/inbound/online/controlfile_autoc-2080040856-20120617-00
    Control File Included: Ckp SCN: 12197994840698 Ckp time: 17-JUN-12
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    5522 Full 4.57M DISK 00:00:00 18-JUN-12
    BP Key: 5522 Status: AVAILABLE Compressed: NO Tag: TAG20120618T010158
    Piece Name: /backup/inbound/online/controlfile_autoc-2080040856-20120618-00
    Control File Included: Ckp SCN: 12198041382572 Ckp time: 18-JUN-12
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    5526 Full 4.57M DISK 00:00:01 19-JUN-12
    BP Key: 5526 Status: AVAILABLE Compressed: NO Tag: TAG20120619T010352
    Piece Name: /backup/inbound/online/controlfile_autoc-2080040856-20120619-00
    Control File Included: Ckp SCN: 12198090424606 Ckp time: 19-JUN-12
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    5530 Full 4.57M DISK 00:00:02 20-JUN-12
    BP Key: 5530 Status: AVAILABLE Compressed: NO Tag: TAG20120620T010304
    Piece Name: /backup/inbound/online/controlfile_autoc-2080040856-20120620-00
    Control File Included: Ckp SCN: 12198146424201 Ckp time: 20-JUN-12
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    5534 Full 4.57M DISK 00:00:02 21-JUN-12
    BP Key: 5534 Status: AVAILABLE Compressed: NO Tag: TAG20120621T010357
    Piece Name: /backup/inbound/online/controlfile_autoc-2080040856-20120621-00
    Control File Included: Ckp SCN: 12198210334547 Ckp time: 21-JUN-12
    ==================================================================
    I tried to catalog the controlfile:
    RMAN> catalog controlfilecopy '/backup/inbound/online/controlfile_autoc-2080040856-20120621-00';
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of catalog command on default channel at 06/21/2012 17:24:32
    ORA-19563: control file header validation failed for file /backup/inbound/online/controlfile_autoc-2080040856-20120621-00
    ====================================================================
    We have level 1 backup everyday, except Sunday. I have level 0 backup on Sunday. I alos tried the metalink note RMAN Duplicate For Standby Fails with Rman-06024: No Backup Or Copy Of The Control File Found To Restore [ID 466321.1]. It does not work.
    Thanks for help!

  • How to create and maintain a backup catalog, separate from default  location,  on and external HD

    How to create and maintain a backup catalog on a separate hd - separate from default location of the catalog?

    Simply copy the LR catalog backup file to another location. It’s quite small and only contains metadata e.g. your edit develop settings, keywords, captions, titles and camera exif data etc.
    The LR backup does not physically copy your image files. So make sure you have a separate system backup for your photo files and folders.

  • Backup from 9i and restore this backup to 10g using RMAN

    Hi all;
    I have a database 9i on SuSE9. And I want to restore another server this database's backupsets to 10g on SuSE10 using RMAN. Then I have run following scripts.
    On 9i Database: (SID=discoden)_
    RMAN > backup database plus archivelog;
    and I have three backupsets (05l87nik_1_1, 06l87nio_1_1, 07l87nml_1_1) and one controlfile backup (c-4279316798-20100310-00). then I copy these backuppieces to new server.
    On 10g Database:_
    +1. I have created udump and bdump folder into $ORACLE_BASE/admin/discoden/+
    +2. I have copied init.ora, pasted initdiscoden.ora in $ORACLE_HOME/dbs folder. And I have changed following parameters+
    db_name = discoden
    shared_pool_size = 350000000
    control_files = (/disk2/oracle/discoden/control01.ctl, /disk2/oracle/discoden/control02.ctl, /disk2/oracle/discoden/control03.ctl)
    user_dump_dest = /opt/oracle/admin/discoden/udump
    background_dump_dest = /opt/oracle/admin/discoden/bdump
    compatible = 10.2.0.3.0
    undo_management = auto
    +3. export ORACLE_SID=discoden+
    +4. cd $ORACLE_HOME/bin+
    +5. ./rman target /+
    +6. RMAN> startup nomount;+
    +7. RMAN> restore controlfile from '/disk2/setup/c-4279316798-20100310-00';+
    +8. RMAN> alter database mount ;+
    +9. RMAN> catalog backuppiece '/disk2/setup/05l87nik_1_1';+
    RMAN> catalog backuppiece '/disk2/setup/06l87nio_1_1';
    RMAN> catalog backuppiece '/disk2/setup/07l87nml_1_1';
    +10. SQL> alter database rename file '/disk2/oracle9i/databases/discoden/redo01.log' to '/disk2/oracle/discoden/redo01.log';+
    SQL> alter database rename file '/disk2/oracle9i/databases/discoden/redo02.log' to '/disk2/oracle/discoden/redo02.log';
    SQL> alter database rename file '/disk2/oracle9i/databases/discoden/redo03.log' to '/disk2/oracle/discoden/redo03.log';
    +11. RMAN > list backup; (With this command, I have learned last sequence number. For example 204)+
    +12. I have run following command on RMAN:+
    +run {+
    set until sequence 204;
    set newname for datafile 1 to '/disk2/oracle/discoden/system01.dbf';
    set newname for datafile 2 to '/disk2/oracle/discoden/undotbs01.dbf';
    set newname for datafile 3 to '/disk2/oracle/discoden/cwmlite01.dbf';
    set newname for datafile 4 to '/disk2/oracle/discoden/drsys01.dbf';
    set newname for datafile 5 to '/disk2/oracle/discoden/example01.dbf';
    set newname for datafile 6 to '/disk2/oracle/discoden/indx01.dbf';
    set newname for datafile 7 to '/disk2/oracle/discoden/odm01.dbf';
    set newname for datafile 8 to '/disk2/oracle/discoden/tools01.dbf';
    set newname for datafile 9 to '/disk2/oracle/discoden/users01.dbf';
    set newname for datafile 10 to '/disk2/oracle/discoden/xdb01.dbf';
    set newname for datafile 11 to '/disk2/oracle/discoden/DATASPACE1.dbf';
    set newname for datafile 12 to '/disk2/oracle/discoden/CARDEM.dbf';
    set newname for datafile 13 to '/disk2/oracle/discoden/MUHASEBE.dbf';
    set newname for datafile 14 to '/disk2/oracle/discoden/ORTAK.dbf';
    set newname for datafile 15 to '/disk2/oracle/discoden/MAGAZA.dbf';
    restore database;
    switch datafile all;
    recover database;
    alter database open resetlogs;
    +}+
    Then I have an error like following lines:
    +..........+
    media recovery complete, elapsed time: 00:00:04
    Finished recover at 06-MAR-10
    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
    ORA-03114: not connected to ORACLE
    ORA-03114: not connected to ORACLE
    RMAN-03002: failure of alter db command at 03/06/2010 09:00:47
    ORA-01092: ORACLE instance terminated. Disconnection forced
    ORA-00704: bootstrap process failure
    ORA-39700: database must be opened with UPGRADE option
    ORACLE error from target database:
    ORA-03114: not connected to ORACLE
    I don't understand the mistakes. I hope your helps. Thank you.

    Hi,
    You have followed the steps correctly while restoring and recovering the 9i database under 10g home using RMAN except the last step of opening the database.
    Remove 'alter database open resetlogs;' from the rman script and rerun the script. Once the database is restored and recovered, open the database with RESETLOGS & UPGRADE option through SQL*Plus as below.
    SQL> alter database open resetlogs upgrade;
    Once the database is opened, create the SYSAUX tablespace and run $ORACLE_HOME/rdbms/admin/ upgrd.sql catupgrd.sql script to upgrade the database to 10g ( follow the steps for upgrading the database).
    MetaLink Note : 369644.1 - Answers To FAQ For Restoring Or Duplicating Between Different Versions And Platforms
    Regards,
    Vaibhav
    Edited by: Vaibhav on Mar 11, 2010 11:09 AM

  • Creating Standby From RMAN Compressed backup taken on Primary ....

    I am creating a Standby from RMAN Compressed backup taken on Primary.
    On Primary, I have taken Compressed backup as follows:
    RMAN> run
    allocate channel c1 type disk;
    allocate channel c2 type disk;
    allocate channel c3 type disk;
    BACKUP AS COMPRESSED BACKUPSET DATABASE PLUS ARCHIVELOG format '/dboracle/orbit_pr_bkp/primary_%U';
    backup current controlfile for standby format '/dboracle/orbit_pr_bkp/primary_cntl.bkp';
    oracle@apl06635orbvu1:/dboracle/orbit_pr_bkp>ls -ltr
    total 51652
    -rw-r----- 1 oracle dba 11972608 Jan 7 13:45 primary_0tm1h32n_1_1
    -rw-r----- 1 oracle dba 15762432 Jan 7 13:45 primary_0sm1h32n_1_1
    -rw-r----- 1 oracle dba 16785920 Jan 7 13:45 primary_0rm1h32n_1_1
    -rw-r----- 1 oracle dba 1088000 Jan 7 13:45 primary_0um1h32v_1_1
    -rw-r----- 1 oracle dba 32768 Jan 7 13:45 primary_12m1h33r_1_1
    -rw-r----- 1 oracle dba 7143424 Jan 7 13:47 primary_cntl.bkp
    On Standby, I restored the control file as below:
    RMAN> restore standby controlfile from '/dboracle/orbit_pr_bkp/primary_cntl.bkp';
    Starting restore at 10-JAN-11
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
    output filename=/dboracle/orbit_dr/oradata/ORBIT_DR/controlfile/o1_mf_6lo6nwfr_.ctl
    output filename=/dboracle/orbit_dr/flash_recovery_area/ORBIT_DR/controlfile/o1_mf_6lo6nwky_.ctl
    Finished restore at 10-JAN-11
    But, When I am trying to restore the datafiles, RMAN is throwing error:
    RMAN> run {
    allocate channel d1 type disk format '/dboracle/orbit_pr_bkp/primary_%U';
    allocate channel d2 type disk format '/dboracle/orbit_pr_bkp/primary_%U';
    restore database;
    2> 3> 4> 5>
    released channel: ORA_DISK_1
    allocated channel: d1
    channel d1: sid=155 devtype=DISK
    allocated channel: d2
    channel d2: sid=151 devtype=DISK
    Starting restore at 10-JAN-11
    released channel: d1
    released channel: d2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 01/10/2011 05:38: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 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    What would be the correct RMAN command?
    Regards, Anirban

    After your RESTORE the (standby) controlfile, you must MOUNT the database instance with "ALTER DATABASE MOUNT".
    You can also then query the controlfile with a "LIST BACKUP" or "LIST BACKUP SUMMARY" in RMAN to see if the deseired backups have been cataloged in the controlfile.
    Don't specify the format for the ALLOCATE CHANNEL when you RESTORE DATABASE. In fact, you don't need to ALLOCATE CHANNEL at all when the device type is the default value of DISK if your are on 10gR2 or above.
    Hemant K Chitale

  • Backup from rman coldbackuk

    DB 10.2.0.5
    OS Linux
    I restore the database from a rman cold backup. I am getting the below error while starting the database.
    SQL> alter database open;
    alter database open
    ERROR at line 1:
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    Is it needed to start the database in resetlog mode after rman cold backup restore.

    Yes. RMAN does not backup the online redo log files. In order to open the database, the redo log files need to be created using the RESETLOGS option. Alternatively, you can use the OS to perform a backup of all files while the OS is shutdown, including the redo log files.

  • Cloning DB on a different server from RMAN Tape backup

    RDBMS version           : 11.2.0.2 on Solaris 10
    Media Management Layer : Netbackup v7
    I have done only backups to Tape. I have never done restore,recovery from Tape.
    We have a production DB named NEHPROD running on server qualmh214. Every Monday morning an RMAN Full backup for NEHPROD is taken to Tape.
    Production server : qualmh214        DB Name:NEHPROD
    run
    ALLOCATE CHANNEL c1 TYPE 'SBT_TAPE';
    SEND 'NB_ORA_CLIENT=qualmh214,NB_ORA_POLICY=qualmh214_rman,NB_ORA_SERV=qualmh238,NB_ORA_SCHED=Daily';
    backup database   FORMAT 'NEHPROD_%d_%U_%t.rbk' tag='NEHPROD_full';
    }I need to create a Test DB in a different server (qualmh199) by restoring directly from NEHPROD's Full backup in tape .
    From qualmh199, how can I connect to the Tape Media server ?
    Even If I do connect to the Tape media server, how can i get access to tape backups of another DB? In the RMAN run block you can't specify a DB name. Right?
    Even if I get access to another DB's backup , How can i specify which Date's Full backup I need to use to restore ?

    From qualmh199, how can I connect to the Tape Media server ?You have to allocate channels to tape & need to mention NB parameters as example below.
    in RMAN script
    ALLOCATE CHANNEL CH1 DEVICE TYPE SBT_TAPE PARMS 'SBT_LIBRARY=/usr/openv/netbackup/bin/libobk.so64';
    SEND 'NB_ORA_SERV=<server.com>, NB_ORA_CLIENT=<target.server>';
    Even If I do connect to the Tape media server, how can i get access to tape backups of another DB? In the RMAN run block you can't specify a DB name. Right?If the libraries are installed and you able to perform, you can go for either duplicate database or simple RMAN restore. You can mention other DB names also
    Ex: duplicate target database to 'test';
    Even if I get access to another DB's backup , How can i specify which Date's Full backup I need to use to restore ?You can mention TAG's if you are using RMAN restore.

  • Taking rman backup from a different server

    HI Al,
    Is it possible for us run the rman backup from a different server other than the server on which database exist .
    For Ex :
    Our database is on server X
    But , I want to schedulde the archive backup from the server Y .
    How can we do this and is it possible ...
    Regds
    Rahul Gupta

    Yes, as long the RMAN executable is compatible to the target database, on metalink:
    RMAN Compatibility Matrix
    Doc ID: 73431.1
    rman sys/<password>@<connect_string>
    Werner

Maybe you are looking for

  • Is there a way to RECORD the mouse as a pointer when recording?

    Is there a way to RECORD the mouse as a pointer when recording a voiceover on a slideshow?  I want to use the mouse as a pointer (I know how to do that live), but the recorded show does not show my motions as I voiced.

  • Changing names of songs

    I have a mac book and I put a CD in and all that came up was "Track 1, Track 2, etc." for the song title. I know the names of the songs and I know how to do it on a PC, but, I cannot figure out how to do it on a Mac book. Please respond.

  • Abap MDM API - get table fields and types

    Hi gurus, dealing with a simple task for my development... I need to retrieve, for a given MDM table name, a list of field's names with their data types in Value_pair format. Basically, this is what RETRIEVE method does; but: - I don't need any value

  • XL Reporter Installation - Error executing IXMetaProcs.sql

    Hi All, During installation getting error- Error Preparing Metadata Repository: Executing SQL script 'IXMetaProcs.sql' (Start:....) ExitCode -1073741819 !!! ERROR Error executing IXMetaProcs.sql ExitCode -1073741819 I have done the following checks.

  • Where can i find some real-life flex applications?

    Hi,   i am trying to find some real-life flex applications.   previously, there is a list of application in :http://flex.org/showcase/   but, now (after site reconstruction?), the list is gone.   anyone have that list of applications?   or could you