Implications of losing ArchivedLogs and RMAN Backup directory.

DB version:10gR2
We have a test database which is important since it is a pre-production DB used by the application team for their final testing .
Currently this DB is not in Archivelog mode. Every night a cronjob runs to create the expdp datapump dump of the schemas in this DB.
We want to test online RMAN backups in this DB. So we are going to put this db in ARCHIVELOG mode for a week.
The RMAN backup pieces will be stored in +/u03/data1/orabkp+ and the Archived logs will be stored in +/u04/ach_logs+ directory.
We want to know the impact of /u04/ach_logs , the archived logs directory getting accidently deleted. I know that the accidental deletion of RMAN backup directory shouldn't impact the normal running of the database. But we want to know the if the accidental deletion of Archived redo logs directory will impact the DB.
Edited by: user10633418 on Sep 25, 2009 2:53 AM

NO, it will not impact in the database. If you delete any archive log files database will run normally. But you won't restore your database in point in time. For recovery you need your full backup of all datafiles + archivelogs + online redo log files.
For a backup policy of any production database where you don't want to lose any transaction you must reserve your archive logs files by rman backup.
Regards
Asif Kabir

Similar Messages

  • Restore cold backup and RMAN backup

    Hi,
    I have cold backup as well as RMAN backup. But i don't know how to restore the backup.
    Please anybody send, steps or links for restoring both backups.
    Regs,
    Brijesh

    The "script" would depend on how the backup was done.
    A cold backup should be a backup of controlfiles and datafiles.
    Was it done using RMAN ? Or done using an OS command (e.g. "cp" or "tar" or "cpio") ?
    A non-RMAN cold backup can be restored with the same command that was used to create the backup. If the backup did not include the Online Redo Log files, you need to simulate a dummy recovery from the SQL command line (RECOVER DATABASE UNTIL CANCEL ; then CANCEL) and ALTER DATABASE OPEN RESETLOGS.
    If the backup was done using RMAN, you need to
    1. RESTORE CONTROLFILE FROM '/location_of_backuppiece'
    2. ALTER DATABASE MOUNT
    3. RESTORE DATABASE
    4. ALTER DATABASE OPEN
    Hemant K Chitale

  • Archivelog files and Rman backup

    Hi all,
    Please somebody guide me regarding the following concept.
    We have the oracle server version 10.2.0.1.0, working with Windows OS,
    I had set the parameter log_archive_dest_1 for locating archivelog files, then I had changed the archivelog files to the flash recovery area(located in another disk) by using the parameters db_recovery_file_dest_size and db_recovery_file_dest.
    Now the archivelog files are being located at two different location. At this point, If I take backup for archivelog files with the aid of RMAN, then ,
    How will the RMAN take backup from those two different locations?
    Thanks&Regards,
    Jai.

    PROBLEM :
    I have archivelogs duplexed - when running RMAN - rman backups up the archivelogs from both duplexed destinations - from the user manual - this should not be the case, any ideas?
    Details:
    I have archivelogs duplexed
    I have the following set in rman :
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 2 DAYS;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backup/rman/WPPMD/control_%F';
    CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 10 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 '/backup/rman/WPPMD/backup_%d_%T_%U' MAXPIECESIZE 10 G;
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE COMPRESSION ALGORITHM 'LOW' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE;
    CONFIGURE ARCHIVELOG DELETION POLICY TO BACKED UP 1 TIMES TO DISK;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/app/oracle/product/11.2.0/dbhome_1/dbs/snapcf_WPPMD.f'; # default
    When I run backups via a script :
    backup incremental level=$RMAN_LEVEL database plus archivelog;
    ($RMAN_LEVEL changes between 0 and 1 depending on the day of the week)
    It backs both duplex copies of the same archivelog
    From the document :
    Oracle10g / 11g - Getting Started with Recovery Manager (RMAN) [ID 360416.1]
    It says :
    Even if your redo logs are being archived to multiple destinations and you use RMAN to back up archived redo logs,
    RMAN selects only one copy of the archived redo log file to include in the backup set. (Since logs with the same log sequence number are identical, there is no need to include more than one copy.)
    But this is not the case ie
    RMAN> list archivelog sequence 2445;
    using target database control file instead of recovery catalog
    List of Archived Log Copies for database with db_unique_name WPPMD
    =====================================================================
    Key Thrd Seq S Low Time
    4640 1 2445 A 17-DEC-10
    Name: /log/recovery_area/WPPMD/archivelog2/1_2445_735315419.dbf
    4639 1 2445 A 17-DEC-10
    Name: /log/recovery_area/WPPMD/archivelog/2010_12_17/o1_mf_1_2445_6jpx9n7c_.arc
    So it still backing up both copies of the archive log.
    Any ideas? is this a bug?
    Thanks
    Luca
    Edited by: user4599449 on 17-Dec-2010 07:05
    Edited by: user4599449 on 17-Dec-2010 07:06

  • Archive files and rman backup

    Hi Experts,
    For testing, I creates a testing DB. after that, I delete some archive file from physical side.
    testing DB works well.
    However, I tyr to back up thsi testing DB. I got below error message
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=142 devtype=DISK
    new RMAN configuration parameters:
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'D:\Oraclebackup\CLS\exports\RMAN\%U
    new RMAN configuration parameters are successfully stored
    released channel: ORA_DISK_1
    Starting backup at 15-JAN-09
    current log archived
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=142 devtype=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup plus archivelog command at 01/15/2009 15:18:13
    RMAN-06059: expected archived log not found, lost of archived log compromises re
    coverability
    ORA-19625: error identifying file D:\test\ARC00001_0675529905.001
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    So How to fix this issue?
    That means we can not delete any archive log files that we do not need it.
    Otherwise there are a problemwhen we try to backup later
    JIm

    Hi Jim,
    change archivelog all crosscheck ;
    will do the trick.
    You can purge archive files but do it within rman.
    Add a line in your rman backup script which makes backup your database and archive files like this.
    delete noprompt copy of archivelog all completed before 'SYSDATE-3';
    Regards,
    Tycho

  • When the archive disk group and RMAN backup location is full

    11.2.0.2 on Solaris 10
    2-Node RAC
    Sometimes I am faced with a situation where the disk group meant for storing archivelogs is full and the Disk based
    RMAN backup location is full as well. What would you do in such a situation ?
    This usually happens with our QA/UAT DBs during apps testing of certain type which causes huge amount of redo is generated.
    We don't directly backup to tape. The disk based backups are moved to tape every two weeks by our SysAdmin.

    Thank you Hemant, Tsharma, Asahideo
    If I have free space left in my local filesystem in any of the nodes in my 2-node RAC, I can run something like
    -- Untested
    BACKUP AS COMPRESSED BACKUPSET ARCHIVELOG ALL DELETE INPUT format '/localNode_pATH/ora_Arch%t_s%s_s%p';and later when the space is freed up in the original RMAN backup location , I can move it there and use CATALOG command to catalog this backup . Right ?

  • Changing RMAN backup directory naming convention

    Hi
    Oracle 10.2
    oel 5
    I want to store backup set as flashrecoveryarea/backup/monday (tuesday and so on basically the day name on which backup is taken) instead of the default directory which is the named as date on which backup is taken. is it possible???
    Thanks

    hi again
    rman Format Description
    %D Current day of the month from the Gregorian calendar in format DD
    %F Combines the DBID, day, month, year, and sequence into a unique and repeatable generated name
    %M Month in the Gregorian calendar in the format MM
    %T Year, month, and day in the Gregorian calendar in the format: YYYYMMDD
    RMAN> RUN {
    ALLOCATE CHANNEL d1 DEVICE TYPE DISK
    FORMAT '/u01/backups/backup_%D%U';
    BACKUP DATABASE PLUS ARCHIVELOG;
    RELEASE CHANNEL;
    hope this helps
    zekeriya

  • RMAN backup directory

    Hi,
    The following configuration command sets the location for backup files:
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMATIf I want to change this location for just one backup job is there anyway to do that? I dont want to edit the configuration command, I would like to specify the directory in the script itself. I need to run a backup of archivelogs manually and I dont want to save it to the configured location.
    Thanks.

    Hi,
    To be more precise and convenient... you may use this also.
    You can change the DISKPATH or control it through a shell script or some other means.
    backup
    filesperset 6
    (archivelog all delete input format 'DISKPATH/archlog_%d_t%t_s%s.bkp');
    %d - Database Name
    %t - Backup Set_Stamp
    %s - Backup Set_count
    You may add this as well.
    %p - Pieces
    Note: delete input is used to delete arhivelogs automatically by RMAN itself after the particular archivelog backup (or its whole piece) completed.
    Hope this helps.
    Regards,
    Vasu
    Edited by: vasu77 on Aug 25, 2009 11:10 AM
    Edited by: vasu77 on Aug 25, 2009 11:10 AM

  • Can RMAN backup and export datapump executed at the same time?

    Hello,
    I have several databases that I backup using RMAN and export datapump everynight starting at 6PM and end at Midnight. The backup maintenance window doesn't give me enough time for each database to run at different time. I am using crontab to schedule my backups. Since I have so many databases that need to be backed up between 6PM - Midnight, some of the export and RMAN backup scripts will execute almost at the same time. My question is can my export data pump and RMAN backup scripts run at the same time?
    Thank you in advance.
    John

    Needs must. If you don't run expdp parallel then it doesn't use that much. If it was really killing the system then look into setting up a Resource plan that knocks that user down but this is a big step.
    I woud better look into using Rman
    system incrementals, and block change tracking, to minimize your RMAN time.
    Regards
    If your shop needs to do both simultaneously then go for it.
    Chris.
    PS : One of my shops has maybe 20-30 rmans and pumps all kicking off some simultaneous, some not, from 0000 to 0130. No complaints from users and no problems either. Go for it.
    Edited by: Chris Slattery on Nov 25, 2012 11:19 PM

  • Oracle EBS R12 - 11.2.0.2 - Logical Standby Database & RMAN backups

    Hi all,
    I have Oracle EBusiness Suite R12 running on 11.2.0.2. Our organization used to have most of the business in North America, South America and Europe; but now we are also in Australia, China and Indonesia. Previously running large reporting batch jobs and RMAN backups at night time in USA was feasible but now that is beginning to show up as performance issue for some countries.
    I was thinking would it make sense to have a Active Data Guard logical standby database on a separate server in the same US based data center where we have our main servers and use that logical standy database for reporting and RMAN backups. I am especially concerned about RMAN backups. Would I be able to make RMAN backups from the logical standy database and somehow use those to recover our primary database if some issue happens?
    Any thoughts/suggestions?
    Thanks all,

    Active Data Guard only deals with physical standbys. If you are using a logical standby you can always open the database without using Active Data Guard option.
    http://docs.oracle.com/cd/E11882_01/server.112/e25608/rman.htm#sthref846 says that:
    >
    Backups of logical standby databases are not usable at the primary database.

  • Export and RMAN

    Hello,
    Can logical export (exp) and RMAN backup be executed at the same time in both UNIX or Windows platforms??
    Thanks.

    Can logical export (exp) and RMAN backup be executed at the same time in both UNIX or Windows platforms??yes

  • RMAN BACKUP configured to asm

    Vinoth here.....Hi to all
    We have rman backup in our environment and rman backup location is in local server '/oracle/app/oracle/rman_backpup' like this, when i check with that physical location no backup file is found. It seems like backup is stored in asm diskgroup '+DGBACKUP'. I am confused because i saw the rman log file which is written to a file during the rman backup process, it shows the backup is available in '/oracle/app/oracle/rman_backpup'. can anyone explain hw it happens because i am new to asm environment.
    Thanks in advance

    See my List Backup looks like as below
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    823 Full 15.15G DISK 00:03:39 05-AUG-12
    BP Key: 823 Status: AVAILABLE Compressed: NO Tag: FULLBKP
    Piece Name: /oracle/backup/SMHPMBLD00/today/bckdat_790488273_827_1_prnhr p6h_1_SMCPROD.bkp
    List of Datafiles in backup set 823
    File LV Type Ckp SCN Ckp Time Name
    3 Full 256379481 05-AUG-12 +DATA/smcprod/datafile/undotbs1.258.77854121                                                                                        9
    4 Full 256379481 05-AUG-12 +DATA/smcprod/datafile/users.259.778541219
    7 Full 256379481 05-AUG-12 +DATA/smcprod/datafiles/ts_ris_data_01.dbf
    9 Full 256379481 05-AUG-12 +DATA/smcprod/datafiles/ts_pacs_data_01.dbf
    11 Full 256379481 05-AUG-12 +DATA/smcprod/datafiles/ts_pacs_data_02.dbf
    12 Full 256379481 05-AUG-12 +DATA/smcprod/datafiles/ts_pacs_data_03.dbf
    14 Full 256379481 05-AUG-12 +DATA/smcprod/datafiles/ts_pacs_data_05.dbf
    16 Full 256379481 05-AUG-12 +DATA/smcprod/datafiles/ts_pacs_data_07.dbf
    17 Full 256379481 05-AUG-12 +DATA/smcprod/datafile/system.274.789902945
    [oracle@smhpmbld00 today]$ pwd
    /oracle/backup/SMHPMBLD00/today
    [oracle@smhpmbld00 today]$ ls
    afiedt.buf
    [oracle@smhpmbld00 today]$
    But i didnt find any backup piece in the path: /oracle/backup/SMHPMBLD00/today/bckdat_790488273_827_1_prnhr
    But backups are found in the location below and it is in Zip file
    /oracle/backup/SMHPMBLD00
    [oracle@smhpmbld00 SMHPMBLD00]$ ls
    backup_2012-06-26_SMCPROD.tar.gz backup_2012-07-07_SMCPROD.tar.gz backup_2012-07-18_SMCPROD.tar.gz backup_2012-07-29_SMCPROD.tar.gz
    backup_2012-06-27_SMCPROD.tar.gz backup_2012-07-08_SMCPROD.tar.gz backup_2012-07-19_SMCPROD.tar.gz backup_2012-07-30_SMCPROD.tar.gz
    backup_2012-06-28_SMCPROD.tar.gz backup_2012-07-09_SMCPROD.tar.gz backup_2012-07-20_SMCPROD.tar.gz backup_2012-07-31_SMCPROD.tar.gz
    backup_2012-06-29_SMCPROD.tar.gz backup_2012-07-10_SMCPROD.tar.gz backup_2012-07-21_SMCPROD.tar.gz backup_2012-08-01_SMCPROD.tar.gz
    backup_2012-06-30_SMCPROD.tar.gz backup_2012-07-11_SMCPROD.tar.gz backup_2012-07-22_SMCPROD.tar.gz backup_2012-08-02_SMCPROD.tar.gz
    backup_2012-07-01_SMCPROD.tar.gz backup_2012-07-12_SMCPROD.tar.gz backup_2012-07-23_SMCPROD.tar.gz backup_2012-08-03_SMCPROD.tar.gz
    backup_2012-07-02_SMCPROD.tar.gz backup_2012-07-13_SMCPROD.tar.gz backup_2012-07-24_SMCPROD.tar.gz backup_2012-08-04_SMCPROD.tar.gz
    backup_2012-07-03_SMCPROD.tar.gz backup_2012-07-14_SMCPROD.tar.gz backup_2012-07-25_SMCPROD.tar.gz backup_2012-08-05_SMCPROD.tar.gz
    backup_2012-07-04_SMCPROD.tar.gz backup_2012-07-15_SMCPROD.tar.gz backup_2012-07-26_SMCPROD.tar.gz today
    backup_2012-07-05_SMCPROD.tar.gz backup_2012-07-16_SMCPROD.tar.gz backup_2012-07-27_SMCPROD.tar.gz
    backup_2012-07-06_SMCPROD.tar.gz backup_2012-07-17_SMCPROD.tar.gz backup_2012-07-28_SMCPROD.tar.gz
    [oracle@smhpmbld00 SMHPMBLD00]$ pwd
    sho parameter db_rec
    NAME TYPE VALUE
    db_recovery_file_dest string +DGFLASH
    db_recovery_file_dest_size big integer 5727M
    db_recycle_cache_size big integer 0
    Oracle 11G R2 Rac DB 2 node
    **How to find the Rman script, and where is it placed?**
    Edited by: 950327 on Aug 5, 2012 1:32 AM
    Edited by: 950327 on Aug 5, 2012 1:36 AM
    Edited by: 950327 on Aug 5, 2012 1:40 AM

  • Who takes RMAN backup?

    Hi all,
    I have an oracle 9.2.0.7 database instance on SLES9 sp3 64bit. And RMAN backup is taken every day by one who is I dont know although I changed sys and system passwords. It seems that the backup is taken on local machine, doesn't it? I looked at v$session_longops view then I saw backup is taken SYS user. Anyone doesn't have RECOVERY_CATALOG_OWNER role. I looked at crontab of oracle and root users, then I looked at dba_jobs. But I dont see anything about rman backup anywhere. I wonder who takes RMAN backup on my system?
    Regards
    İlke ALTINPULLUK

    hi,
    I sent one of my audit files. Then I looked at baandb machine's crontab but I didnt find anything. Then I looked at dba_jobs on baandb. I didnt find anything.
    my audit files like follow:
    Audit file /opt/oracle/oracle/product/9iR2/rdbms/audit/ora_27666.aud
    Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.7.0 - Production
    ORACLE_HOME = /opt/oracle/oracle/product/9iR2
    System name:    Linux
    Node name:      baandb
    Release:        2.6.5-7.244-smp
    Version:        #1 SMP Mon Dec 12 18:32:25 UTC 2005
    Machine:        x86_64
    Instance name: gcam
    Redo thread mounted by this instance: 1
    Oracle process number: 22
    Unix process pid: 27666, image: oracle@baandb (TNS V1-V3)
    Thu Jan 13 01:05:50 2011
    ACTION : 'CONNECT'
    DATABASE USER: '/'
    PRIVILEGE : SYSDBA
    CLIENT USER: oracle
    CLIENT TERMINAL:
    STATUS: 0
    Dear EJR; I didnt understand what you mean?
    Edited by: ilke_altinpulluk on 20.Oca.2011 03:51

  • RMAN backup isssue..

    Hi
    I am using 10g asm diskflash for my archivelog destnation and rman backups...
    my current sequence number is 452
    when I go to rman prompt and give command
    backup archivelog all;
    it starts from 1 to 450...
    previous to this
    I backed up
    backup archivelog delete input;
    so it should delete the archive logs from original location.
    then when u give backup archivelog all;
    it start from 1... this is my question it should start from where I stopped
    or I should only give backup archivelog
    second ques??
    what is way i get rid of all archive logs...
    they are 3 months old...
    I configured retention policy of recovery windows of 1 day and redundancy 1
    I only need one backup and backup of archivelog of atmost yesterday..
    ineed to get rid of all other backups, archivelogs;
    How do I achive this..
    Mny thanks..

    Hi,
    Is it the first time that you are trying to backup using RMAN? Have you deleted the old archive logs manually?
    if so, just issue
    CHANGE ARCHIVE LOG ALL CROSSCHECK
    at RMAN prompt. RMAN will sync the catalog with the missing archivelogs and you will be able to do your backups.
    HTH
    Regards,
    Badri.

  • Recovery : if we have RMAN backup

    Hi,
    1)If we have RMAN backup then how can we recover database.
    2)If we have cold backup then how can we use this backup to recover database.
    I new in DBA fileld so please need guidelines.
    thanks,
    Brijesh

    Hello,
    1)If we have RMAN backup then how can we recover database.To Recover the Database it should be in ARCHIVELOG mode and you must BACKUP the Database and the Archived logs as well.
    There are several cases.
    If you have just to Restore and Recover the Database from the lost of the Datafiles and, you still have the Online Redologs, you may perform a Complete Recovery:
    http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmcomre.htm
    If you lost the Online Redologs, you'll have to perform an Incomplete recovery ( or DBPITR ):
    http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmflash.htm#i1011846
    If you lost also the Control files and/or the Parameter File, you may have to perform first additional operations to restore these files:
    http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmadvre.htm#i1006245
    http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmadvre.htm#CHDBEDCH
    If you use Enterprise Manager you may follow these steps:
    http://st-curriculum.oracle.com/obe/db/11g/r2/2day_dba/backup/backup.htm
    2)If we have cold backup then how can we use this backup to recover database.I think that this link may help:
    Re: Restore cold backup and RMAN backup
    Hope this help.
    Best regards,
    Jean-Valentin

  • Restoring Rman backup on New Host with different directory structure

    Hi,
    I have a following scenario to clone the database.
    1. clone the database on new server
    2. source is non - ASM and target is ASM
    3. On source incremental level 0 backup taken on disk connecting to catalog, the backup is moved to target host to different directory structure
    4. source is running on 32-bit Linux two node Rac and Target is running on 64-bit Linux two node Rac
    I did the following steps and getting below error:
    1. I copied incremental Level 0 backup to target server(where we need to build new db) to different directory structure
    2. On target i created pfile and build the instance, as dbf file are in multiple locations in source i put following tow parameters in init.ora of target database
    *.db_file_name_convert =(/u02/oradata/app1p/,+QADATA2/udev/datafile),(/u03/oradata/app1p/,+QADATA1/udev/datafile),(/u12/oradata/app1p/,+QADATA1/udev/datafile,),(/u99/oradata/app1p/,+QADATA1/udev/datafile),(/u09/oradata/app1p/,+QADATA1/udev/datafile),(/u14/oradata/app1p/,+QADATA1/udev/datafile),(/u07/oradata/app1p/,+QADATA1/udev/datafile),(/u06/oradata/prod/,+QADATA1/udev/datafile'),(/u05/oradata/app1p/,+QADATA1/udev/datafile)
    *.log_file_name_convert =("/u99/oradata/app1p/","+QADATA2/udev/onlinelog/")
    3. connected to rman -->> started db in nomount -->> restored the controlfile --> cataloged the backup piece and then i am trying to restore
    All the above steps i did using the Doc id *How To Restore Rman Backups On A Different Node When The Directory Structures Are Different [ID 419137.1]*
    script i am using is :
    RMAN> run {
    2> set until time "to_date('DEC/20/2010 05:30:00','Mon/DD/YYYY HH24:MI:SS')";
    3> allocate channel c1 device type disk;
    4> allocate channel c2 device type disk;
    5> allocate channel c3 device type disk;
    6> allocate channel c4 device type disk;
    7> set newname for datafile 1 to '+QADATA1/UDEV/DATAFILE';
    8> set newname for datafile 2 to '+QADATA1/UDEV/DATAFILE';
    9> set newname for datafile 3 to '+QADATA1/UDEV/DATAFILE';
    10> set newname for datafile 4 to '+QADATA1/UDEV/DATAFILE';
    11> set newname for datafile 5 to '+QADATA1/UDEV/DATAFILE';
    12> set newname for datafile 6 to '+QADATA1/UDEV/DATAFILE';
    13> set newname for datafile 54 to '+QADATA1/UDEV/DATAFILE';
    set newname for datafile 63 to '+QADATA1/UDEV/DATAFILE';
    14> 15> set newname for datafile 67 to '+QADATA1/UDEV/DATAFILE';
    16> set newname for datafile 68 to '+QADATA1/UDEV/DATAFILE';
    17> set newname for datafile 50 to '+QADATA1/UDEV/DATAFILE';
    18> set newname for datafile 39 to '+QADATA1/UDEV/DATAFILE';
    19> set newname for datafile 38 to '+QADATA1/UDEV/DATAFILE';
    20> set newname for datafile 7 to '+QADATA1/UDEV/DATAFILE';
    21> set newname for datafile 9 to '+QADATA1/UDEV/DATAFILE';
    22> set newname for datafile 8 to '+QADATA1/UDEV/DATAFILE';
    23> set newname for datafile 11 to '+QADATA1/UDEV/DATAFILE';
    24> set newname for datafile 10 to '+QADATA1/UDEV/DATAFILE';
    25> set newname for datafile 66 to '+QADATA1/UDEV/DATAFILE';
    26> set newname for datafile 48 to '+QADATA1/UDEV/DATAFILE';
    27> set newname for datafile 47 to '+QADATA1/UDEV/DATAFILE';
    28> set newname for datafile 12 to '+QADATA1/UDEV/DATAFILE';
    29> set newname for datafile 13 to '+QADATA1/UDEV/DATAFILE';
    30> set newname for datafile 14 to '+QADATA1/UDEV/DATAFILE';
    31> set newname for datafile 15 to '+QADATA1/UDEV/DATAFILE';
    32> set newname for datafile 16 to '+QADATA1/UDEV/DATAFILE';
    33> set newname for datafile 18 to '+QADATA1/UDEV/DATAFILE';
    34> set newname for datafile 17 to '+QADATA1/UDEV/DATAFILE';
    35> set newname for datafile 19 to '+QADATA1/UDEV/DATAFILE';
    36> set newname for datafile 69 to '+QADATA1/UDEV/DATAFILE';
    37> set newname for datafile 60 to '+QADATA1/UDEV/DATAFILE';
    38> set newname for datafile 59 to '+QADATA1/UDEV/DATAFILE';
    39> set newname for datafile 55 to '+QADATA1/UDEV/DATAFILE';
    40> set newname for datafile 53 to '+QADATA1/UDEV/DATAFILE';
    41> set newname for datafile 44 to '+QADATA1/UDEV/DATAFILE';
    set newname for datafile 22 to '+QADATA2/UDEV/DATAFILE';
    42> 43> set newname for datafile 21 to '+QADATA2/UDEV/DATAFILE';
    set newname for datafile 20 to '+QADATA2/UDEV/DATAFILE';
    44> 45> set newname for datafile 72 to '+QADATA2/UDEV/DATAFILE';
    46> set newname for datafile 70 to '+QADATA2/UDEV/DATAFILE';
    47> set newname for datafile 65 to '+QADATA2/UDEV/DATAFILE';
    48> set newname for datafile 64 to '+QADATA2/UDEV/DATAFILE';
    49> set newname for datafile 57 to '+QADATA2/UDEV/DATAFILE';
    50> set newname for datafile 56 to '+QADATA2/UDEV/DATAFILE';
    51> set newname for datafile 49 to '+QADATA2/UDEV/DATAFILE';
    52> set newname for datafile 45 to '+QADATA2/UDEV/DATAFILE';
    53> set newname for datafile 26 to '+QADATA2/UDEV/DATAFILE';
    54> set newname for datafile 25 to '+QADATA2/UDEV/DATAFILE';
    55> set newname for datafile 24 to '+QADATA2/UDEV/DATAFILE';
    56> set newname for datafile 23 to '+QADATA2/UDEV/DATAFILE';
    57> set newname for datafile 27 to '+QADATA2/UDEV/DATAFILE';
    58> set newname for datafile 28 to '+QADATA2/UDEV/DATAFILE';
    59> set newname for datafile 29 to '+QADATA2/UDEV/DATAFILE';
    60> set newname for datafile 30 to '+QADATA2/UDEV/DATAFILE';
    61> set newname for datafile 73 to '+QADATA2/UDEV/DATAFILE';
    62> set newname for datafile 32 to '+QADATA2/UDEV/DATAFILE';
    63> set newname for datafile 31 to '+QADATA2/UDEV/DATAFILE';
    64> set newname for datafile 34 to '+QADATA2/UDEV/DATAFILE';
    65> set newname for datafile 33 to '+QADATA2/UDEV/DATAFILE';
    66> set newname for datafile 35 to '+QADATA2/UDEV/DATAFILE';
    67> set newname for datafile 36 to '+QADATA2/UDEV/DATAFILE';
    68> set newname for datafile 37 to '+QADATA2/UDEV/DATAFILE';
    69> set newname for datafile 51 to '+QADATA2/UDEV/DATAFILE';
    70> set newname for datafile 43 to '+QADATA2/UDEV/DATAFILE';
    71> set newname for datafile 40 to '+QADATA2/UDEV/DATAFILE';
    72> set newname for datafile 41 to '+QADATA2/UDEV/DATAFILE';
    set newname for datafile 71 to '+QADATA2/UDEV/DATAFILE';
    set newname for datafile 58 to '+QADATA2/UDEV/DATAFILE';
    set newname for datafile 52 to '+QADATA2/UDEV/DATAFILE';
    set newname for datafile 46 to '+QADATA2/UDEV/DATAFILE';
    set newname for datafile 42 to '+QADATA2/UDEV/DATAFILE';
    73> 74> 75> 76> 77> 78> set newname for datafile 62 to '+QADATA2/UDEV/DATAFILE';
    79> set newname for datafile 61 to '+QADATA2/UDEV/DATAFILE';
    80> set newname for datafile 74 to '+QADATA2/UDEV/DATAFILE';
    81> restore database;
    82> switch datafile all;
    83> recover database;
    84> alter database open resetlogs;
    85>
    86> release channel c1;
    87> release channel c2;
    88> release channel c3;
    89> release channel c4;
    90> }
    Getting the following error, copied lines from the error i am getting.
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 27-DEC-10
    released channel: c1
    released channel: c2
    released channel: c3
    released channel: c4
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 12/27/2010 08:09:08
    RMAN-06026: some targets not found - aborting restore
    RMAN-06100: no channel to restore a backup or copy of datafile 74
    RMAN-06100: no channel to restore a backup or copy of datafile 73
    Please advice...
    Thanks,
    Tanveer Mohammed

    If you would like, please refer the link:-
    http://gavinsoorma.com/2010/04/creating-an-asm-duplicate-database-from-a-non-asm-database/

Maybe you are looking for

  • Complete product list in ICSS catalog for Reference Objects:Products

    In my current scenario, I have products that belong to different sales areas and while I create a catalog, I have created different variants for different sales area and assigned the products accordingly. The problem is, in the catalog usage (SPRO->C

  • InDesign CS3 Feathering/Text Error

    I am experiencing a strange error when I feather a photo placed in my InDesign CS3 file. If I feather it in Photoshop and keep a transparent background (PSD or EPS) and don't flatten the image, or if I feather the image directly in Indesign CS3 using

  • NTP alert in logs

    We have a critical NTP alert in the logs. UCCX is configured to pull NTP from CUCM1(primary) and CUCM2(sub). It is failing to pull time from CUCM2. I haven't done a "utils NTP restart" yet because I wasn't sure if it would affect service.CUCM2 has a

  • Problem Querying "Col" View

    Hello guys, I have some problem querying the "Col" View of Sys. I have tested the following scenarios: C# Code: using (OracleConnection con = new OracleConnection("MyConnection")) con.Open(); using (OracleDataReader reader = new OracleCommand("SELECT

  • ADF controller design

    My application has a home page, login, employees details, contacts pages. The home page has a menu navigational panel which contains commandlinks to 'employee details' page and 'contacts' page. The employee details page is confidential and always hav