RMAN NB_ORA parameters

Hello,
I'm about to restore a database, but I'm not sure what channel parameters should I be using such as NB_ORA_CLIENT, NB_ORA_CLASS etc.,
Any idea which view containts these details? I'm using controlfile as backup catalog not RMAN catalog.
Thanks,
kam

If you store your backup scripts in the rman repository, then they should contain the parameters. You can use the RMAN commands "list script names" and "print script" to check. E.g I have the following for Netvault backup.
RMAN> list script names;
List of Stored Scripts in Recovery Catalog
Scripts of Target Database MYDB
Script Name
Description
backup_mydb_daily
RMAN> print script backup_mydb_daily;
printing stored script: backup_mydb_daily
{allocate channel sbt1 device type 'SBT_TAPE' format 'BACKUP-1:AIX_FC:AIX_Daily_MYDB:%d_%s_%t';
send 'NV_JOB_TITLE=Backup MYDB Full';
backup database include current controlfile MAXSETSIZE=350G;
}

Similar Messages

  • Showing RMAN configuration parameters 8.1.7

    Hi group
    What is the RMAN command in 8.1.7 to show RMAN configuration parameters, I know (SHOW ALL;) command is used in 9i version but it doesn't work on 8.1.7.
    Thanks you very much

    If I remember correctly, you could NOT configure and preserve parameters in 8.1.7 (so CONFIGURE and SHOW are not present in 8.1.7 RMAN).
    You could create scripts with all the required commands and save them to the OS or to the Catalog -- preferably at the OS level so that they can be viewed and edited if the Catalog becomes unavailable.
    Hemant K Chitale

  • RMAN configuration parameters for Oracle8i

    HELP - i'm migrating a production database from one server to another and need the current RMAN configuation parameters on the original database in order to migrate these same parameters to the target database. Could anyone ghelp me figuring out the RMAN configuation parameters including the defaults on the source orcale8i database?
    Thanks

    In ORACLE 8i, there are NO stored RMAN parameters (I believe, 9i was the first version to add this feature).
    Instead, in ORACLE 8i you had to specify all channel parameters, formats etc in a run block ... So, the good news is, in ORACLE 8i these parameters should be already "hardcoded" in the RMAN scripts ... in other words, nothing to transfer on a database level ...

  • RMAN performance parameters

    Hello,
    I have to backup big databases (more than 10 To) with RMAN in Oracle 10gR2 in a Networker environnement. I have to do full , incremental and archivelog backup.
    Could you tell me, please, what are the parameters which have an impact on the performance, the speed of the backup?
    I am thinking of number of channels, FILESPERSET ...
    Could you tell me the relevance of each parameter of performance of RMAN with an example, for the backup and also for a restoration?
    Thank you very much

    Simple example using catalog stored on test1 database
    BACKUP
    rman <<EOF
    connect target rman/rman_oracledba@test2
    connect catalog rman/rman_oracledba@test1
    run { allocate channel d1 type disk;
    backup full tag backup_1 filesperset 2
    format '/data/oracle9/BACKUP/rman_BACKUP_%d_%t.%p.%s.%c.%n.%u.bus'
    database;
    EOF
    RESTORE
    export ORACLE_SID=TEST2
    sqlplus /nolog <<EOF
    connect / as sysdba
    shutdown immediate
    startup mount
    exit
    EOF
    rman <<EOF
    connect target rman/rman_oracledba@test2
    connect catalog rman/rman_oracledba@test1
    run { allocate channel d1 type disk;
    restore database;
    recover database;
    alter database open resetlogs;
    EOFSs

  • NEW 9I RMAN: PERSISTENT CONFIGURATION PARAMETERS - INTRODUCTION

    제품 : RMAN
    작성날짜 : 2001-11-09
    NEW 9I RMAN: PERSISTENT CONFIGURATION PARAMETERS - INTRODUCTION
    ===============================================================
    오라클 9i 부터는 RMAN 에서 항상 사용되는 파라미터 세팅을 고정적으로 할 수 있게
    되어 매번 파라미터를 주어야 하는 수고를 하지 않아도 된다.
    Persistent Configuration Parameters 기능은 RMA 에 다음과 같은 변화를 주었다:
    * RMAN 에서 파라미터의 디폴트를 DBA 가 커스터마이징 할 수 있게 되어 사용이 편리해졌다.
    * 한번 커스터마이징한 파라미터는 모든 Job 에 적용이 된다.
    * DBA 는 'BACKUP DATABASE' 명령어 하나만으로 RMAN 에서 데이터베이스 백업을 수행
    할 수 있게 되었다.
    * 오라클 9i 의 CONFIGURE 명령어는 RMAN 의 default setting 을 영구적으로 바꾸어 준다.
    * 파라미터의 값은 컨트롤파일에 저장이 되며 필요한 경우에는 리커버리 카다로그와 맞추어
    주는 과정이 필요하다.
    오라클 9i RMAN 에서는는 'show' 명령어로 현재의 파라미터 세팅을 확인 할 수 있다.
    SHOW show_operand [,show_operand ...];
    show_operand: RETENTION POLICY |
    EXCLUDE |
    BACKUP COPIES |
    CHANNEL |
    DEFAULT DEVICE TYPE |
    DEVICE TYPE |
    SNAPSHOT CONTROLFILE |
    ALL
    'show all' 명령어로 현재의 모든 세팅을 확인 한다.
    RMAN> show all;
    using target database controlfile instead of recovery catalog
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/beta/app/oracle/product/9.0.1/dbs/snapc
    f_V901.f'; # default
    이렇게 Persistent Configuration Parameters 를 세팅하기 위해서는 스크립트를 만들어
    수행 하는 것이 좋다:
    run {
    # Use the configure commands to create your backup policy.
    # When complete these will be the new persistent
    # configuration parameters for RMAN in the controlfile
    # of the target datbase.
    CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
    CONFIGURE BACKUP OPTIMIZATION OFF;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO
    '/proj/SME9i/backup/%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 2;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE MAXSETSIZE TO UNLIMITED;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/proj/SME9i/backup/snapf_prod9.f';
    이렇게 스크립트를 수행 한 후에 결과를 확인 하기 위해서는:
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
    CONFIGURE BACKUP OPTIMIZATION OFF;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO
    '/proj/SME9i/backup/%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 2;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE MAXSETSIZE TO UNLIMITED;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/proj/SME9i/backup/snapf_prod9.f';
    결과는 위와 같다.
    --------------THE END------------------------------------------------------

    Search button?!?!
    Re: seek some good documents on Recovery MANager  to start with
    Aron

  • RMAN Issue

    I am having issue with RMAN
    I have Oracle 11gR2 database on HP-UX. when I issue any command in RMAN prompt, its displaying the information but it's not returning to RMAN prompt, I have to hit CTRL+C to come out. But I have 2 more database on the same home, and I don't have this problem on that database.
    oracle@hublhp10:/home/oracle$ rman target /
    Recovery Manager: Release 11.2.0.1.0 - Production on Mon Mar 19 15:00:53 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: IMGPROD (DBID=2867365220)
    RMAN> show all;
    using target database control file instead of recovery catalog
    RMAN configuration parameters for database with db_unique_name IMGPROD are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/imgback/RMAN/cf-IMGPROD-%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/imgback/RMAN/snapcf_imgprod.f';
    RMAN>
    RMAN> report obsolete;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 1
    Report of obsolete backups and copies
    Type                 Key    Completion Time    Filename/Handle
    Archive Log          1      19-MAR-12          /imgarch/ORACLE/imgprod/al_imgprod_1_283_777982948.dbf

    I traced the session, see the following
    WAIT #2: nam='control file sequential read' ela= 143 file#=0 block#=17 blocks=1 obj#=-1 tim=11750515395399
    WAIT #2: nam='control file sequential read' ela= 143 file#=0 block#=1 blocks=1 obj#=-1 tim=11750515395853
    WAIT #2: nam='control file sequential read' ela= 144 file#=0 block#=15 blocks=1 obj#=-1 tim=11750515396024
    WAIT #2: nam='control file sequential read' ela= 145 file#=0 block#=17 blocks=1 obj#=-1 tim=11750515396192
    WAIT #2: nam='control file sequential read' ela= 206 file#=0 block#=1 blocks=1 obj#=-1 tim=11750515396719
    WAIT #2: nam='control file sequential read' ela= 142 file#=0 block#=15 blocks=1 obj#=-1 tim=11750515396909
    WAIT #2: nam='control file sequential read' ela= 168 file#=0 block#=17 blocks=1 obj#=-1 tim=11750515397102
    FETCH #2:c=0,e=16905,p=0,cr=0,cu=0,mis=0,r=1,dep=0,og=1,plh=818693323,tim=11750515397527
    WAIT #2: nam='SQL*Net message from client' ela= 450 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=11750515398178
    CLOSE #2:c=0,e=27,dep=0,type=3,tim=11750515398262
    =====================
    PARSING IN CURSOR #4 len=205 dep=0 uid=0 oct=3 lid=0 tim=11750515399507 hv=1796820951 ad='c0000004fe449f88' sqlid='gq4u3dppjkmyr'
    select /*+ rule */ round(sum(MBYTES_PROCESSED)), round(sum(INPUT_BYTES)), round(sum(OUTPUT_BYTES)) from V$RMAN_STATUS START WITH RECID = :row_id and STAMP = :row_stamp CONNECT BY PRIOR RECID = parent_recid
    END OF STMT
    PARSE #4:c=0,e=556,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=1,plh=0,tim=11750515399506

  • RMAN image copies not generating

    Hi All,
    i have configured default backup type as image copes in below
    RMAN> CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COPY
    2> ;
    old RMAN configuration parameters:
    CONFIGURE DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO COPY;
    new RMAN configuration parameters:
    CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COPY PARALLELISM 2;
    new RMAN configuration parameters are successfully stored
    starting full resync of recovery catalog
    full resync complete
    still the backup is taking only backup sets not image copies
    Please advice how to get image copies instead of backup sets, below are the backup and list of copy backups
    RMAN> backup as copy database;
    Starting backup at 15-NOV-11
    using channel ORA_DISK_1
    using channel ORA_DISK_2
    channel ORA_DISK_1: starting datafile copy
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/15/2011 14:54:47
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    continuing other job steps, job failed will not be re-run
    channel ORA_DISK_1: starting datafile copy
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/15/2011 14:54:48
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    continuing other job steps, job failed will not be re-run
    channel ORA_DISK_1: starting datafile copy
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/15/2011 14:54:48
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    continuing other job steps, job failed will not be re-run
    channel ORA_DISK_1: starting datafile copy
    copying current control file
    channel ORA_DISK_2: starting datafile copy
    RMAN-03009: failure of backup command on ORA_DISK_2 channel at 11/15/2011 14:54:48
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    continuing other job steps, job failed will not be re-run
    channel ORA_DISK_2: starting datafile copy
    RMAN-03009: failure of backup command on ORA_DISK_2 channel at 11/15/2011 14:54:48
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    continuing other job steps, job failed will not be re-run
    channel ORA_DISK_2: starting full datafile backup set
    channel ORA_DISK_2: specifying datafile(s) in backup set
    including current SPFILE in backup set
    channel ORA_DISK_2: starting piece 1 at 15-NOV-11
    output file name=/u01/app/oracle/flash_recovery_area/APPLE/controlfile/o1_mf_TAG20111115T145447_7d5jw867_.ctl tag=TAG20111115T145447 RECID=6 STAMP=767285688
    channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:00
    channel ORA_DISK_2: finished piece 1 at 15-NOV-11
    piece handle=/u01/app/oracle/flash_recovery_area/APPLE/backupset/2011_11_15/o1_mf_nnsnf_TAG20111115T145447_7d5jw8fq_.bkp tag=TAG20111115T145447 comment=NONE
    channel ORA_DISK_2: backup set complete, elapsed time: 00:00:01
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_2 channel at 11/15/2011 14:54:48
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/15/2011 14:54:47
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    RMAN-03009: failure of backup command on ORA_DISK_2 channel at 11/15/2011 14:54:48
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/15/2011 14:54:48
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/15/2011 14:54:48
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    RMAN> list copy;
    specification does not match any datafile copy in the repository
    specification does not match any archived log in the repository
    List of Control File Copies
    ===========================
    Key S Completion Time Ckp SCN Ckp Time
    920 A 15-NOV-11 838639 15-NOV-11
    Name: /u01/app/oracle/flash_recovery_area/APPLE/controlfile/o1_mf_TAG20111115T145447_7d5jw867_.ctl
    Tag: TAG20111115T145447
    891 A 15-NOV-11 838154 15-NOV-11
    Name: /u01/app/oracle/flash_recovery_area/APPLE/controlfile/o1_mf_TAG20111115T144236_7d5j5f1d_.ctl
    Tag: TAG20111115T144236
    872 A 15-NOV-11 837188 15-NOV-11
    Name: /u01/app/oracle/flash_recovery_area/APPLE/controlfile/o1_mf_TAG20111115T141632_7d5gnjx5_.ctl
    Tag: TAG20111115T141632
    835 A 15-NOV-11 836343 15-NOV-11
    Name: /u01/app/oracle/flash_recovery_area/APPLE/controlfile/o1_mf_TAG20111115T140136_7d5frjxw_.ctl
    Tag: TAG20111115T140136
    794 A 15-NOV-11 835524 15-NOV-11
    Name: /u01/app/oracle/flash_recovery_area/APPLE/controlfile/o1_mf_TAG20111115T134712_7d5dxjpb_.ctl
    Tag: TAG20111115T134712
    Thanks in advance.
    Vara

    Hi all,
    Can you please suggest now, there is no ora error for not being in archive log mode, and my db in archive log mode,
    and again i took a fresh backup of image copies,
    RMAN> show all;
    RMAN configuration parameters for database with db_unique_name APPLE are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COPY PARALLELISM 2;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/oracle/11.2.0/dbs/snapcf_APPLE.f'; # default
    RMAN> backup as copy database;
    Starting backup at 16-NOV-11
    using channel ORA_DISK_1
    using channel ORA_DISK_2
    channel ORA_DISK_1: starting datafile copy
    input datafile file number=00001 name=/u01/app/oracle/oradata/APPLE/system01.dbf
    channel ORA_DISK_2: starting datafile copy
    input datafile file number=00002 name=/u01/app/oracle/oradata/APPLE/sysaux01.dbf
    output file name=/u01/app/oracle/flash_recovery_area/APPLE/datafile/o1_mf_sysaux_7d8djobx_.dbf tag=TAG20111116T165844 RECID=8 STAMP=767379556
    channel ORA_DISK_2: datafile copy complete, elapsed time: 00:00:35
    channel ORA_DISK_2: starting datafile copy
    input datafile file number=00005 name=/u01/app/oracle/oradata/APPLE/example01.dbf
    output file name=/u01/app/oracle/flash_recovery_area/APPLE/datafile/o1_mf_system_7d8djnj8_.dbf tag=TAG20111116T165844 RECID=9 STAMP=767379570
    channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:51
    channel ORA_DISK_1: starting datafile copy
    input datafile file number=00003 name=/u01/app/oracle/oradata/APPLE/undotbs01.dbf
    output file name=/u01/app/oracle/flash_recovery_area/APPLE/datafile/o1_mf_example_7d8dkrkx_.dbf tag=TAG20111116T165844 RECID=10 STAMP=767379571
    channel ORA_DISK_2: datafile copy complete, elapsed time: 00:00:15
    channel ORA_DISK_2: starting datafile copy
    copying current control file
    output file name=/u01/app/oracle/flash_recovery_area/APPLE/datafile/o1_mf_undotbs1_7d8dl7v0_.dbf tag=TAG20111116T165844 RECID=12 STAMP=767379577
    channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:04
    channel ORA_DISK_1: starting datafile copy
    input datafile file number=00004 name=/u01/app/oracle/oradata/APPLE/users01.dbf
    output file name=/u01/app/oracle/flash_recovery_area/APPLE/controlfile/o1_mf_TAG20111116T165844_7d8dl8ok_.ctl tag=TAG20111116T165844 RECID=11 STAMP=767379577
    channel ORA_DISK_2: datafile copy complete, elapsed time: 00:00:03
    channel ORA_DISK_2: starting full datafile backup set
    channel ORA_DISK_2: specifying datafile(s) in backup set
    including current SPFILE in backup set
    channel ORA_DISK_2: starting piece 1 at 16-NOV-11
    output file name=/u01/app/oracle/flash_recovery_area/APPLE/datafile/o1_mf_users_7d8dlckf_.dbf tag=TAG20111116T165844 RECID=13 STAMP=767379579
    channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:01
    channel ORA_DISK_2: finished piece 1 at 16-NOV-11
    piece handle=/u01/app/oracle/flash_recovery_area/APPLE/backupset/2011_11_16/o1_mf_nnsnf_TAG20111116T165844_7d8dlcqz_.bkp tag=TAG20111116T165844 comment=NONE
    channel ORA_DISK_2: backup set complete, elapsed time: 00:00:01
    Finished backup at 16-NOV-11
    RMAN> list backup;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    958 Full 80.00K DISK 00:00:00 16-NOV-11
    BP Key: 959 Status: AVAILABLE Compressed: NO Tag: TAG20111116T165844
    Piece Name: /u01/app/oracle/flash_recovery_area/APPLE/backupset/2011_11_16/o1_mf_nnsnf_TAG20111116T165844_7d8dlcqz_.bkp
    SPFILE Included: Modification time: 16-NOV-11
    SPFILE db_unique_name: APPLE
    Regards,
    Vara

  • Error while taking backup  through RMAN in 10g XE

    While taking backup through RMAN in XE instance , an error comes out.
    The contents of oxe_backup_current file is as below :
    XE Backup Log
    Recovery Manager: Release 10.2.0.1.0 - Production on Wed Jul 6 15:49:51 2011
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    connected to target database: XE (DBID=2635631092)
    RMAN>
    echo set on
    RMAN> shutdown immediate;
    using target database control file instead of recovery catalog
    database closed
    database dismounted
    Oracle instance shut down
    RMAN> startup mount;
    connected to target database (not started)
    Oracle instance started
    database mounted
    Total System Global Area     805306368 bytes
    Fixed Size                     1261444 bytes
    Variable Size                209715324 bytes
    Database Buffers             591396864 bytes
    Redo Buffers                   2932736 bytes
    RMAN> configure retention policy to redundancy 2;
    old RMAN configuration parameters:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
    new RMAN configuration parameters:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
    new RMAN configuration parameters are successfully stored
    RMAN> configure controlfile autobackup format for device type disk clear;
    RMAN configuration parameters are successfully reset to default value
    RMAN> configure controlfile autobackup on;
    old RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP OFF;
    new RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    new RMAN configuration parameters are successfully stored
    RMAN> sql "create pfile=''/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/dbs/spfile2init.ora'' from spfile";
    *sql statement: create pfile=''/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/dbs/spfile2init.ora'' from spfile*
    *RMAN-00571: ===========================================================*
    *RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============*
    *RMAN-00571: ===========================================================*
    *RMAN-03009: failure of sql command on default channel at 07/06/2011 15:50:57*
    *RMAN-11003: failure during parse/execution of SQL statement: create pfile='/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/dbs/spfile2init.ora' from spfile*
    *ORA-27086: unable to lock file - already in use*
    *Linux Error: 11: Resource temporarily unavailable*
    Additional information: 8
    Additional information: 16476
    RMAN> backup as backupset device type disk database;
    Starting backup at 06-JUL-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=102 devtype=DISK
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00003 name=/usr/lib/oracle/xe/oradata/XE/sysaux.dbf
    input datafile fno=00005 name=/usr/lib/oracle/xe/oradata/XE/ftress_data_log01.dbf
    input datafile fno=00006 name=/usr/lib/oracle/xe/oradata/XE/ftress_data_lrg01.dbf
    input datafile fno=00001 name=/usr/lib/oracle/xe/oradata/XE/system.dbf
    input datafile fno=00009 name=/usr/lib/oracle/xe/oradata/XE/ftress_indx_log01.dbf
    input datafile fno=00010 name=/usr/lib/oracle/xe/oradata/XE/ftress_indx_lrg01.dbf
    input datafile fno=00002 name=/usr/lib/oracle/xe/oradata/XE/undo.dbf
    input datafile fno=00004 name=/usr/lib/oracle/xe/oradata/XE/users.dbf
    input datafile fno=00008 name=/usr/lib/oracle/xe/oradata/XE/ftress_data_sml01.dbf
    input datafile fno=00012 name=/usr/lib/oracle/xe/oradata/XE/ftress_indx_sml01.dbf
    input datafile fno=00011 name=/usr/lib/oracle/xe/oradata/XE/ftress_indx_mdm01.dbf
    input datafile fno=00007 name=/usr/lib/oracle/xe/oradata/XE/ftress_data_mdm01.dbf
    channel ORA_DISK_1: starting piece 1 at 06-JUL-11
    channel ORA_DISK_1: finished piece 1 at 06-JUL-11
    piece handle=/usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/backupset/2011_07_06/o1_mf_nnndf_TAG20110706T155057_718dw649_.bkp tag=TAG20110706T155057 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:15
    Finished backup at 06-JUL-11
    Starting Control File and SPFILE Autobackup at 06-JUL-11
    piece handle=/usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/autobackup/2011_07_06/o1_mf_s_755797849_718dwofy_.bkp comment=NONE
    Finished Control File and SPFILE Autobackup at 06-JUL-11
    RMAN> configure controlfile autobackup off;
    old RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    new RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP OFF;
    new RMAN configuration parameters are successfully stored
    RMAN> alter database open;
    database opened
    RMAN> delete noprompt obsolete;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 2
    using channel ORA_DISK_1
    Deleting the following obsolete backups and copies:
    Type                 Key    Completion Time    Filename/Handle
    Backup Set           3      06-JUL-11        
      Backup Piece       3      06-JUL-11          /usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/backupset/2011_07_06/o1_mf_nnndf_TAG20110706T133443_7184wr4d_.bkp
    Backup Set           4      06-JUL-11        
      Backup Piece       4      06-JUL-11          /usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/autobackup/2011_07_06/o1_mf_s_755789675_7184x7fp_.bkp
    deleted backup piece
    backup piece handle=/usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/backupset/2011_07_06/o1_mf_nnndf_TAG20110706T133443_7184wr4d_.bkp recid=3 stamp=755789684
    deleted backup piece
    backup piece handle=/usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/autobackup/2011_07_06/o1_mf_s_755789675_7184x7fp_.bkp recid=4 stamp=755789699
    Deleted 2 objects
    RMAN>
    Recovery Manager complete.
    RMAN error: See log for details.

    I think it is trying to overwrite exiting file. Either give a different name or cleanup the files in preferred location.

  • Restore from OSB. RMAN-06024: no backup or copy of the control file found

    I backed up controlfile for standby on production server to OSB media:
    -bash-3.00$ rman target / catalog rman/rman@emgc
    Recovery Manager: Release 10.2.0.5.0 - Production on Tue Jan 25 15:15:33 2011
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    connected to target database: EMGC (DBID=1838014073)
    connected to recovery catalog database
    RMAN>
    RMAN> CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 2 BACKUP TYPE TO COMPRESSED BACKUPSET;
    RUN
    ALLOCATE CHANNEL ch1 DEVICE TYPE 'SBT_TAPE';
    BACKUP CURRENT CONTROLFILE FOR STANDBY tag 'stb_ctl';
    RELEASE CHANNEL ch1;
    CONFIGURE DEVICE TYPE 'SBT_TAPE' CLEAR;
    new RMAN configuration parameters:
    CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 2 BACKUP TYPE TO COMPRESSED BACKUPSET;
    new RMAN configuration parameters are successfully stored
    starting full resync of recovery catalog
    full resync complete
    RMAN> 2> 3> 4> 5> 6>
    allocated channel: ch1
    channel ch1: sid=1085 devtype=SBT_TAPE
    channel ch1: Oracle Secure Backup
    Starting backup at 25-JAN-11
    channel ch1: starting compressed full datafile backupset
    channel ch1: specifying datafile(s) in backupset
    including standby control file in backupset
    channel ch1: starting piece 1 at 25-JAN-11
    channel ch1: finished piece 1 at 25-JAN-11
    piece handle=1em30ngu_1_1 tag=STB_CTL comment=API Version 2.0,MMS Version 10.3.0.2
    channel ch1: backup set complete, elapsed time: 00:00:27
    Finished backup at 25-JAN-11
    released channel: ch1
    RMAN> list backup of controlfile;
    old RMAN configuration parameters:
    CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 2 BACKUP TYPE TO COMPRESSED BACKUPSET;
    RMAN configuration parameters are successfully reset to default value
    starting full resync of recovery catalog
    full resync complete
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    1479 Full 512.00K SBT_TAPE 00:00:18 25-JAN-11
    BP Key: 1480 Status: AVAILABLE Compressed: YES Tag: STB_CTL
    Handle: 1em30ngu_1_1 Media: mf_rman-000003
    Standby Control File Included: Ckp SCN: 33567224 Ckp time: 25-JAN-11
    RMAN>
    On standby server I try to restore this control file but there is some trouble with restore... By the way I can delete that backup piece...
    -bash-3.00$ rman target / catalog rman/rman@emgc
    Recovery Manager: Release 10.2.0.5.0 - Production on Tue Jan 25 15:34:32 2011
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    connected to target database: emgc (not mounted)
    connected to recovery catalog database
    RMAN> set DBID=1838014073;
    executing command: SET DBID
    database name is "EMGC" and DBID is 1838014073
    RMAN> RUN
    ALLOCATE CHANNEL ch1 DEVICE TYPE 'SBT_TAPE';
    crosscheck backup of controlfile;
    2> 3> 4> 5>
    allocated channel: ch1
    channel ch1: sid=1093 devtype=SBT_TAPE
    channel ch1: Oracle Secure Backup
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=1em30ngu_1_1 recid=40 stamp=741367328
    Crosschecked 1 objects
    released channel: ch1
    RMAN> list backup of controlfile;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    1479 Full 512.00K SBT_TAPE 00:00:18 25-JAN-11
    BP Key: 1480 Status: AVAILABLE Compressed: YES Tag: STB_CTL
    Handle: 1em30ngu_1_1 Media: mf_rman-000003
    Standby Control File Included: Ckp SCN: 33567224 Ckp time: 25-JAN-11
    RMAN> RUN
    ALLOCATE CHANNEL ch1 DEVICE TYPE 'SBT_TAPE';
    RESTORE CONTROLFILE FROM TAG 'STB_CTL';
    2> 3> 4> 5>
    allocated channel: ch1
    channel ch1: sid=1093 devtype=SBT_TAPE
    channel ch1: Oracle Secure Backup
    Starting restore at 25-JAN-11
    released channel: ch1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 01/25/2011 15:35:20
    RMAN-06026: some targets not found - aborting restore
    RMAN-06024: no backup or copy of the control file found to restore
    RMAN> RUN
    ALLOCATE CHANNEL ch1 DEVICE TYPE 'SBT_TAPE';
    delete noprompt backup of controlfile;
    2> 3> 4> 5>
    allocated channel: ch1
    channel ch1: sid=1093 devtype=SBT_TAPE
    channel ch1: Oracle Secure Backup
    List of Backup Pieces
    BP Key BS Key Pc# Cp# Status Device Type Piece Name
    1480 1479 1 1 AVAILABLE SBT_TAPE 1em30ngu_1_1
    deleted backup piece
    backup piece handle=1em30ngu_1_1 recid=40 stamp=741367328
    Deleted 1 objects
    released channel: ch1
    RMAN>

    You cannot specify a tag for a standby control file.
    read here
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmstand.htm#1002594
    Edited by: Adigozalov Gurban on Jan 25, 2011 2:14 PM

  • Error , ORA-19809 & ORA-19804 While restoring RMAN backup .

    Hi Experts,
    I am restoring production RMAN backup to UAT . Using below steps
    1)rman target=/
    2)RMAN> startup nomount;
    3) RMAN> restore controlfile from '/orabkdump/Rman_Bak/ACME/bkup_CTLFL_2206101206.ctl';
    Starting restore at 05-AUG-10
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=3 device type=DISK
    channel ORA_DISK_1: copied control file copy
    output file name=+DATA_ACME/acme/controlfile/current.256.724845209
    output file name=+DATA_ACME/acme/controlfile/current.257.724845209
    Finished restore at 05-AUG-10
    4) RMAN> alter database mount;
    database mounted
    released channel: ORA_DISK_1
    5) RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/orabkdump/Rman_Bak/ACME/%F';
    old RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/orabkdump/Rman_Bak/ACME1/current/%F';
    new RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/orabkdump/Rman_Bak/ACME/%F';
    new RMAN configuration parameters are successfully stored
    6) RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/orabkdump/Rman_Bak/ACME/%U';
    old RMAN configuration parameters:
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/orabkdump/Rman_Bak/ACME/%U';
    new RMAN configuration parameters:
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/orabkdump/Rman_Bak/ACME/%U';
    new RMAN configuration parameters are successfully stored
    released channel: ORA_DISK_1
    7) RMAN> CATALOG START WITH '/orabkdump/Rman_Bak/ACME';
    searching for all files that match the pattern /orabkdump/Rman_Bak/ACME
    List of Files Unknown to the Database
    =====================================
    File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722347594_1_1
    File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722347939_2_1
    File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722348365_3_1
    File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722348681_4_1
    File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722349076_5_1
    File Name: /orabkdump/Rman_Bak/ACME/bkup_CTLFL_2206101206.ctl
    File Name: /orabkdump/Rman_Bak/ACME/c-1904932673-20100622-00
    File Name: /orabkdump/Rman_Bak/ACME/dbsnap.log
    File Name: /orabkdump/Rman_Bak/ACME/rman_Tuesday_LVL_0.log
    File Name: /orabkdump/Rman_Bak/ACME/rman_Tuesday_LVL_0.trc
    Do you really want to catalog the above files (enter YES or NO)? YES
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722347594_1_1
    File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722347939_2_1
    File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722348365_3_1
    File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722348681_4_1
    File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722349076_5_1
    File Name: /orabkdump/Rman_Bak/ACME/bkup_CTLFL_2206101206.ctl
    File Name: /orabkdump/Rman_Bak/ACME/c-1904932673-20100622-00
    List of Files Which Where Not Cataloged
    =======================================
    File Name: /orabkdump/Rman_Bak/ACME/dbsnap.log
    RMAN-07517: Reason: The file header is corrupted
    File Name: /orabkdump/Rman_Bak/ACME/rman_Tuesday_LVL_0.log
    RMAN-07517: Reason: The file header is corrupted
    File Name: /orabkdump/Rman_Bak/ACME/rman_Tuesday_LVL_0.trc
    RMAN-07517: Reason: The file header is corrupted
    8) RMAN> run {
    2> set until sequence 1789 thread 2;
    3> restore database;
    4> recover database;
    5> sql 'alter database open resetlogs';
    6> }
    executing command: SET until clause
    Starting restore at 06-AUG-10
    using channel ORA_DISK_1
    Finished restore at 06-AUG-10
    Starting recover at 06-AUG-10
    using channel ORA_DISK_1
    starting media recovery
    channel ORA_DISK_1: starting archived log restore to default destination
    channel ORA_DISK_1: restoring archived log
    archived log thread=1 sequence=2803
    channel ORA_DISK_1: restoring archived log
    archived log thread=2 sequence=6051
    channel ORA_DISK_1: restoring archived log
    archived log thread=1 sequence=2804
    channel ORA_DISK_1: reading from backup piece /orabkdump/Rman_Bak/ACME/ACME_AL_726286927_57_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 08/06/2010 23:10:38
    ORA-19870: error while restoring backup piece /orabkdump/Rman_Bak/ACME/ACME_AL_726286927_57_1
    ORA-19809: limit exceeded for recovery files
    ORA-19804: cannot reclaim 49283072 bytes disk space from 5218762752 limit
    ** My UAT database should be in noarchival mode . Generally such errors have been observed during backup , but have no clue why they occurred during recovery .Please advice .
    Thanks
    Edited by: user11981514 on Aug 6, 2010 9:46 AM

    Hi,
    Since the error ORA-19809 indicates the lack of space in flash recovery area during the media recovery, I suggested increasing the value of the parameter DB_RECOVERY_FILE_DEST_SIZE.
    Yes, during the media recovery the RMAN will restore the archived log to the default destination (only if the required archived logs are not already on the disks).You can confirm the restore location of the archived log in RMAN restore log/destination specified by parameters log_archive_dest_1/db_recovery_file_dest.
    Regards,
    Vaibhav

  • Restore to a different node with RMAN and EMC Networker

    Please, really need help :)
    I took hotbackup using RMAN catalog which went to tape. Here is the script for that:
    connect target sys/****@PROD;*
    connect rcvcat rman/***@catalog;*
    *run {*
    allocate channel t1 type 'SBT_TAPE';
    send 'NSR_ENV=(NSR_SERVER="**",NSR_DATA_VOLUME_POOL=Oracle)';*
    *backup database plus archivelog;*
    *release channel t1;*
    My settings include control file autobackup as follows:
    *RMAN&gt; show all;*
    *RMAN configuration parameters are:*
    *CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 10 DAYS;*
    *CONFIGURE BACKUP OPTIMIZATION OFF; # default*
    *CONFIGURE DEFAULT DEVICE TYPE TO DISK;*
    *CONFIGURE CONTROLFILE AUTOBACKUP ON;*
    *CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'SBT_TAPE' TO '/NMO_%F/';*
    *CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default*
    *CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default*
    *CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default*
    *CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default*
    *CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/data/backups/PROD/ora_df%t_s%s_s%p';*
    *CONFIGURE MAXSETSIZE TO UNLIMITED; # default*
    *CONFIGURE ENCRYPTION FOR DATABASE OFF; # default*
    *CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default*
    *CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default*
    *CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/data/backups/PROD/hotbkp/snapcf_PROD.f';*
    I am trying to restore this backup that is on tape (EMC Networker) to a different node. I can do this outside of Networker without any problems. However, when I try to get the backup from tape I have this issue:
    1. initPROD.ora is created and modified accordingly on a new server
    2. Export sid, startup nomount on new server
    export ORACLE_SID=PROD (on this new server)
    *rman target /*
    *startup nomount*
    3. I then run the following and get this error:
    *RMAN&gt; run {*
    *2&gt; allocate channel t1 type 'SBT_TAPE'*
    *3&gt; send 'NSR_ENV=(NSR_SERVER="***",NSR_CLIENT="********")';*
    *4&gt; restore controlfile from autobackup;*
    *5&gt; sql 'alter database mount';*
    *6&gt; sql 'alter database rename file "/data/dbf/PROD/redo01.log" to "/data/scratch/dbf/PROD/redo01.log"';*
    *7&gt; sql 'alter database rename file "/data/dbf/PROD/redo02.log to "/data/scratch/dbf/PROD/redo02.log"';*
    *8&gt; sql 'alter database rename file "/data/dbf/PROD/redo03.log to "/data/scratch/dbf/PROD/redo03.log"';*
    *9&gt; set until sequence 22; (I get this from archive logs)*
    *10&gt; set newname for datafile 1 to '/data/scratch/dbf/PROD/system01.dbf';*
    *11&gt; set newname for datafile 2 to '/data/scratch/dbf/PROD/undotbs01.dbf';*
    *12&gt; set newname for datafile 3 to '/data/scratch/dbf/PROD/sysaux01.dbf';*
    *13&gt; set newname for datafile 4 to '/data/scratch/dbf/PROD/users01.dbf';*
    *14&gt; restore database;*
    *15&gt; switch datafile all;*
    *16&gt; recover database;*
    *17&gt; alter database open resetlogs;*
    *18&gt; }*
    *allocated channel: t1*
    *channel t1: sid=149 devtype=SBT_TAPE*
    *channel t1: NMO v4.5.0.0*
    *Starting restore at 27-FEB-09*
    *released channel: t1*
    *RMAN-00571: ===========================================================*
    *RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============*
    *RMAN-00571: ===========================================================*
    *RMAN-03002: failure of restore command at 02/27/2009 22:10:43*
    *RMAN-06495: must explicitly specify DBID with SET DBID command*
    I cannot seem to pass this error. This error indicates that the db has to be either mounted or DBID set before the restore of teh controlfile. Mounting db before the restore of the controlfile does not work. Setting db id 1) does not make sense because if the primary db is down then I cannot get it, right? My primary is up now, so I was able to get db id, but setting it made the restore hang with the following:
    *RMAN&gt; run {*
    *connect target*
    *set dbid=466048808*
    *2&gt; allocate channel t1 type 'SBT_TAPE'*
    *3&gt; send 'NSR_ENV=(NSR_SERVER="***",NSR_CLIENT="********")';*
    *4&gt; restore controlfile from autobackup;*
    *5&gt; sql 'alter database mount';*
    *6&gt; sql 'alter database rename file "/data/dbf/PROD/redo01.log" to "/data/scratch/dbf/PROD/redo01.log"';*
    *7&gt; sql 'alter database rename file "/data/dbf/PROD/redo02.log to "/data/scratch/dbf/PROD/redo02.log"';*
    *8&gt; sql 'alter database rename file "/data/dbf/PROD/redo03.log to "/data/scratch/dbf/PROD/redo03.log"';*
    *9&gt; set until sequence 22; (I get this from archive logs)*
    *10&gt; set newname for datafile 1 to '/data/scratch/dbf/PROD/system01.dbf';*
    *11&gt; set newname for datafile 2 to '/data/scratch/dbf/PROD/undotbs01.dbf';*
    *12&gt; set newname for datafile 3 to '/data/scratch/dbf/PROD/sysaux01.dbf';*
    *13&gt; set newname for datafile 4 to '/data/scratch/dbf/PROD/users01.dbf';*
    *14&gt; restore database;*
    *15&gt; switch datafile all;*
    *16&gt; recover database;*
    *17&gt; alter database open resetlogs;*
    *18&gt; }*
    *connected to target database: PROD (not mounted)*
    *executing command: SET DBID*
    *using target database control file instead of recovery catalog*
    *allocated channel: t1*
    *channel t1: sid=152 devtype=SBT_TAPE*
    *channel t1: NMO v4.5.0.0*
    *Starting restore at 27-FEB-09*
    *channel t1: looking for autobackup on day: 20090227*
    *channel t1: looking for autobackup on day: 20090226*
    *channel t1: looking for autobackup on day: 20090225*
    It looks like it cannot find the autbackup of controlfile? But when I list backup while connected to the target db and rman catalog, I see that autobackup is included in every hot backup that we do:
    *BS Key Type LV Size Device Type Elapsed Time Completion Time*
    *4639 Full 7.00M SBT_TAPE 00:00:04 27-FEB-09*
    *BP Key: 4641 Status: AVAILABLE Compressed: NO Tag: TAG20090227T150141*
    *Handle: /NMO_c-466048808-20090227-01/ Media:*
    *Control File Included: Ckp SCN: 23352682865 Ckp time: 27-FEB-09*
    *SPFILE Included: Modification time: 26-FEB-09*
    I am stuck What I am doing wrong? Thank you!
    Edited by: rysalka on Feb 28, 2009 8:35 AM

    Do a list command to see if the controlfile backup is on tape.
    RMAN> list backup of controlfile;
    I suggest you to read the manual of EMC Networker or call EMC on how to restore the database to another node. I am using Veritas Netbackup, it may be similar to EMC Networke for your reference. There are a few things that need to be followed when you restore database to another node:
    1) set DB_ID, which you have done
    2) set NB_CLIENT (in your case NSR_CLIENT) to the primary node from where backup was taken
    3) configure the backup server to allow redirect restore between the two nodes.
    Hope this helps.

  • Restore spfile from rman backup ---- error.

    Hi,
    I am trying to execute recovery on new machine ...
    I have done the following steps..
    I have one database as ora10g2 as peroduction database on one machine as hosta
    I have created a catalog on another machine cora10g2 (hostb)
    I have taken a full backup from hosta as per following ...
    the following command execute from hosta machine.
    $ rman target sys/<passwd>@ora10g2 catalog rman/rman@cora10g2 ...
    Backup completed ...
    Now I am trying to restore this backup on hostb machine where i have already rman catlog database ..
    I have done the following setting ...on host b
    set oracle_sid=DUP
    and execute following command ...
    rman target / catalog rman/rman@cora10g2
    RMAN> set dbid 2760732370
    executing command: SET DBID
    database name is "BAAN10G2" and DBID is 2760732370
    RMAN>
    RMAN>
    RMAN> startup force nomount ;
    startup failed: ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/oracle/dbs/baan10g2/dbs/initbaan10g2.ora'
    starting Oracle instance without parameter file for retrival of spfile
    Oracle instance started
    Total System Global Area 159383552 bytes
    Fixed Size 1977112 bytes
    Variable Size 67114216 bytes
    Database Buffers 83886080 bytes
    Redo Buffers 6406144 bytes
    RMAN>
    RMAN>
    RMAN>
    RMAN> show all ;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/rman/backup/control/cntrl_%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 4 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/baanora3/rman/ora10g2/bkup_db_%d_s%s_P%p_t%t' MAXPIECESIZE 1024;
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    RMAN>
    RMAN>
    RMAN> list backup of spfile ;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    2420 Full 7.33M DISK 00:00:01 14-JUN-07
    BP Key: 2426 Status: AVAILABLE Compressed: NO Tag: TAG20070614T182935
    Piece Name: /rman/backup/control/cntrl_c-2760732370-20070614-00
    SPFILE Included: Modification time: 14-JUN-07
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    2509 Full 7.33M DISK 00:00:01 15-JUN-07
    BP Key: 2515 Status: AVAILABLE Compressed: NO Tag: TAG20070615T130416
    Piece Name: /rman/backup/control/cntrl_c-2760732370-20070615-00
    SPFILE Included: Modification time: 15-JUN-07
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    2694 Full 7.33M DISK 00:00:01 15-JUN-07
    BP Key: 2739 Status: AVAILABLE Compressed: NO Tag: TAG20070615T131703
    Piece Name: /rman/backup/control/cntrl_c-2760732370-20070615-01
    SPFILE Included: Modification time: 15-JUN-07
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    2760 Full 80.00K DISK 00:00:01 15-JUN-07
    BP Key: 2763 Status: AVAILABLE Compressed: NO Tag: TAG20070615T163437
    Piece Name: /rman/spfile/spfile.ora
    SPFILE Included: Modification time: 15-JUN-07
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    2769 Full 7.33M DISK 00:00:02 15-JUN-07
    BP Key: 2771 Status: AVAILABLE Compressed: NO Tag: TAG20070615T163441
    Piece Name: /rman/backup/control/cntrl_c-2760732370-20070615-02
    SPFILE Included: Modification time: 15-JUN-07
    RMAN>
    RMAN>
    RMAN> restore spfile from autobackup ;
    Starting restore at 19-JUN-07
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=36 devtype=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid=35 devtype=DISK
    allocated channel: ORA_DISK_3
    channel ORA_DISK_3: sid=34 devtype=DISK
    allocated channel: ORA_DISK_4
    channel ORA_DISK_4: sid=33 devtype=DISK
    channel ORA_DISK_1: looking for autobackup on day: 20070619
    channel ORA_DISK_1: looking for autobackup on day: 20070618
    channel ORA_DISK_1: looking for autobackup on day: 20070617
    channel ORA_DISK_1: looking for autobackup on day: 20070616
    channel ORA_DISK_1: looking for autobackup on day: 20070615
    channel ORA_DISK_1: looking for autobackup on day: 20070614
    channel ORA_DISK_1: looking for autobackup on day: 20070613
    channel ORA_DISK_1: no autobackup in 7 days found
    channel ORA_DISK_2: looking for autobackup on day: 20070619
    channel ORA_DISK_2: looking for autobackup on day: 20070618
    channel ORA_DISK_2: looking for autobackup on day: 20070617
    channel ORA_DISK_2: looking for autobackup on day: 20070616
    channel ORA_DISK_2: looking for autobackup on day: 20070615
    channel ORA_DISK_2: looking for autobackup on day: 20070614
    channel ORA_DISK_2: looking for autobackup on day: 20070613
    channel ORA_DISK_2: no autobackup in 7 days found
    channel ORA_DISK_3: looking for autobackup on day: 20070619
    channel ORA_DISK_3: looking for autobackup on day: 20070618
    channel ORA_DISK_3: looking for autobackup on day: 20070617
    channel ORA_DISK_3: looking for autobackup on day: 20070616
    channel ORA_DISK_3: looking for autobackup on day: 20070615
    channel ORA_DISK_3: looking for autobackup on day: 20070614
    channel ORA_DISK_3: looking for autobackup on day: 20070613
    channel ORA_DISK_3: no autobackup in 7 days found
    channel ORA_DISK_4: looking for autobackup on day: 20070619
    channel ORA_DISK_4: looking for autobackup on day: 20070618
    channel ORA_DISK_4: looking for autobackup on day: 20070617
    channel ORA_DISK_4: looking for autobackup on day: 20070616
    channel ORA_DISK_4: looking for autobackup on day: 20070615
    channel ORA_DISK_4: looking for autobackup on day: 20070614
    channel ORA_DISK_4: looking for autobackup on day: 20070613
    channel ORA_DISK_4: no autobackup in 7 days found
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 06/19/2007 18:00:13
    RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
    RMAN>
    I am not able to restore spfile from rman backup ;;;

    Hi,
    I would like to know few things
    1. How are you setting the db_name ? you can set db_id at RMAN, how are you setting the db_name ?
    2. Do you have any default init file at default location ? if yes, is the db_name parameter set correctly in that file ?
    Since spfile is yet to be restored, you must set the db_name parameter correctly before you start spfile restore.This can be done with init file at default location which can even contain just one paremeter i.e db_name.

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

  • RMAN in standby Database

    Hello all,
    We want to configure RMAN in physical standby database but getting below error
    [oracle@timsdr ~]$ rman catalog rmandr/rmandr@rman target system/password
    Recovery Manager: Release 10.2.0.1.0 - Production on Fri Feb 26 17:04:36 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: TIMS (DBID=3639374466, not open)
    connected to recovery catalog database
    RMAN> show all;
    RMAN configuration parameters are:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of show command at 02/26/2010 17:08:34
    RMAN-06004: ORACLE error from recovery catalog database: RMAN-20001: target database not found in recovery catalog
    RMAN>
    Standby DB is in mount mode.Pls give some idea..

    catalog rmandr/rmandr@rmanIs this catalog different from the one that the Production database is registered with ?
    Note : You cannot register the same database -- ie Production and Standby have the same DBID -- twice in a catalog.
    Yet your catalog reports that the database is not registered.
    Seemingly, Production is registered to a different catalog OR is not registered at all.
    If using the same Catalog you should
    a. NOT register the Standby
    b. STOP recovery on the Standby
    c. MOUNT STANDBY on the Standby
    and then RMAN BACKUP the Standby
    Once the Backup is completed, restart Recovery on the Standby.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • RMAN SHOW ALL?

    Hi all,
    11.2.0.1
    Aix 6.1
    We have 2 similar DB servers.
    But when I do SHOW ALL ins RMAN the have different setup?
    DB Server1:
    RMAN> show all ;
    using target database control file instead of recovery catalog
    RMAN configuration parameters for database with db_unique_name PROD are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 8 DAYS;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/orauat/app/oracle/product/11.2.0/dbhome_1/dbs/snapcf_BNCTUAT.f'; # default
    DB Server2:
    RMAN> show all ;
    RMAN configuration parameters for database with db_unique_name PROD are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/app/oracle/product/11.2.0.3/dbhome_1/dbs/snapcf_batchsit.f'; # default
    How do I replace >CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 8 DAYS;
    with the default CONFIGURE RETENTION POLICY TO REDUNDANCY 1   and save the config?
    Thanks a lot,
    zxy

    Hi,
    Just type on RMAN
    RMAN> CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
    rest rman will do.. its not lazy

Maybe you are looking for

  • I copied library to a new hard drive, now iphoto won't recognize files.

    I am new to iPhoto, so be gentle. My daughter uses it a lot, and now I seem to have messed up her library. We are using iPhoto 4.0.3. OS 10.4.11 I installed a new hard drive. I copied the iTunes and iPhoto libraries to the new larger hard drive. I co

  • PRINTING - HP DESKJET 3520 ePRINTER

    I bought new HP ink cartridges. At first, docs printed in blue only, now nothing at all. Ran the print test and all colors are good to go. Please help

  • Unable to syn - no space ... but there should be

    Hi, I went to sync this morning and it said not enough space available. It said it needed 7GB and only 500MB free. When I checked my iPhone I noticed that it only had about 4 podcasts (video) on there, but it must think they are all still on there us

  • Invalid Operation on F

    Hi, I got the ff exception when I tried to call data.beforeFirst(). EXCEPTION DESCRIPTION: java.sql.SQLException: Invalid operation for forward only resultset : last INTERNAL EXCEPTION: java.sql.SQLException: Invalid operation for forward only result

  • Please, HELP ME... "ZENworks Repoting Server installation f"

    (Sorry was mistake send to the Politic forum) Server: #cat /proc/version Linux version 2.6.16.60-0.42.5-smp (geeko@buildhost) (gcc version 4.1.2 20070115 (SUSE Linux)) #1 SMP Mon Aug 24 09:41:41 UTC 2009 # uname -a Linux zcm0 2.6.16.60-0.42.5-smp #1