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

Similar Messages

  • WHAT IS BEST STRATEGY FOR RMAN BACKUP CONFIGURATION

    Hi all,
    my database size is 50GB I want TAKe WEEKLY FULL BACKUP AND INCREMENTAL BACKUP
    WITHOUT RECOVERY CATALOG.by follwing commands
    weekly full database backup
    run
    backup as compressed backupset
    incremental level=0
    device type disk
    tag "weekly_database"
    format '/sw/weekly_database_%d_t%t_c%c_s%s_p%p'
    database;
    I want do CONFIGURE RMAN BY FOLLWING stragtegy
    CONFIGURE RETENTION POLICY TO REDUNDANCY window of 14 days.
    CONFIGURE BACKUP OPTIMIZATION OFF;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO
    '\SW\AUTOCFILE_'%F';
    and other is by default
    sql>alter system set control_file_record_keep_time=15 days;
    os--aix6 and for two database 10g2 and 11g2
    what is best configuration strategy for rman backup.AND BACKUP WITH RECOVERY CATALOG OR WITHOUT RECOVERY CATALOG
    PLEASE TELL ME
    Edited by: afzal on Feb 26, 2011 1:45 AM

    For simply two databases, there really wouldn't be a need for a recovery catalog. You can still restore/recover without a controlfile and without a recovery catalog.
    From this:
    afzal wrote:
    CONFIGURE RETENTION POLICY TO REDUNDANCY window of 14 days.I am assuming you want to keep two weeks worth of backups, therefore these:
    alter system set control_file_record_keep_time=15 days;
    CONFIGURE RETENTION POLICY TO REDUNDANCY window of 14 daysShould be:
    RMAN> sql 'alter system set control_file_record_keep_time=22';
    RMAN> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 14;22 would give you that extra layer of protection for instances when a problem occurs with a backup and you want to ensure that data doesn't get aged out.

  • Copy RMAN backups from RAC ASM

    Hi, I have 2-node (RHEL 5.8) RAC database with ASM shared storage. RMAN is doing daily backups on this ASM storage too. How could I copy backups from ASM to another place ? I'm using version 10gR2 db, and there is no "cp" command in asmcmd.

    How could I copy backups from ASM to another place ? I'm using version 10gR2 db, and there is no "cp" command in asmcmd.You can use RMAN to accomplish it.
    Use command
    RMAN>  backup backupset from ... format '<new_location>' ;Example here:
    Re: Move Backups from ASM to Disks
    Using Tag:
    Re: RMAN to both ASM and Network File system
    Edited by: Levi Pereira on Apr 4, 2013 11:39 AM

  • ASM RMAN backup to File System

    Hi all,
    I have a rman backup (datafile and controlfile) which was took in an ASM instance (not a RAC) ORACLE 11.2.0.2 in a Linux server, now I want restore the backup in a new database in windows/Linux OS using general File System storage (single instance rdbms) instead of ASM.
    Is this possible?
    Can I restrore an ASM rman backup in a file system storage mechanisim in a new server?
    Kindly clarify my question.
    Thanks in Advance..
    Nonuday

    Nonuday wrote:
    Hi Levi,
    Thanks for your invaluable script and blog.
    can you clarify me on this query:
    I have a RMAN backup taken from ASM and the backup is database and controlf file backup which contains datafiles and controlfiles.
    Now I need to restore this on my system and here I dont use ASM or archive log, I use single instance in no archive log mode database.
    I have restored the control file from the RMAN controfile backup.
    Before restoring the control file I have checked the orginal pfile of the backup database which had parameters like
    'db_create_file_dest',
    'db_create_online_log_dest',
    'db_recovery_file_dest_size',
    'db_recovery_dest',
    'log_archive_dest'.
    Since I am not gng to create a DB in no archive log mode, I didnt use any of the above parameters and created a database.
    Now my question is:
    If i restore the database and the datafile will get restored and after renaming all the logfiles, database will be opened.
    I want to know whether this method is correct or wrong and will the database work as it was working previously. Or do i need create the db_file_recovery and other parameters also for this database.About Parameter:
    All these parameters should reflect your current environment any reference to the old environment must be modified.
    About Filesystem used:
    Does not matter what Filesystem you are using the File (datafile/redolog/controlfile/archivelog/backuppiece) are created on Binary Format which depend on Platform only. So, The same binary file ( e.g datafile) have same format and content on raw device, ASM, ext3, ext2, and so on. So, to database it's only a location where file are stored, but the file are the same. ASM has a different architecture from Regular Filesystem and need be managed in a different manner (i.e using RMAN).
    About Database:
    Since your database files are the same even using different filesystem what you need is rename your datafiles/redofiles on controlfile during restore, the redo files will be recreated.
    So, does not matter if you database are noarchivelog or archivelog, the same way which you will do a restore on ASM is the same way to restore on Regular Filesystem. (it's only about renaming database file on controlfile during restore)
    On blog the post "How Migrate All Files on ASM to Non-ASM (Unix/Linux)" is about move the file from filesystem to another. But you can modify the script used to restore purposes;
    ## set newname tell to RMAN where file will be restored and keep this files location on memory buffer
    RMAN> set newname for datafile 1 to <location>;
    ### swich get list of files from memory buffer (rman) and rename on controlfile the files already restored.
    RMAN>switch datafile/tempfile all ;With database mounted use this script below:
    I just commented three lines that are unnecessary in your case.
    SET serveroutput ON;
    DECLARE
      vcount  NUMBER:=0;
      vfname VARCHAR2(1024);
      CURSOR df
      IS
        SELECT file#,
          rtrim(REPLACE(name,'+DG_DATA/drop/datafile/','/u01/app/oracle/oradata/drop/'),'.0123456789') AS name
        FROM v$datafile;
      CURSOR tp
      IS
        SELECT file#,
          rtrim(REPLACE(name,'+DG_DATA/drop/tempfile/','/u01/app/oracle/oradata/drop/'),'.0123456789') AS name
        FROM v$tempfile;
    BEGIN
    --  dbms_output.put_line('CONFIGURE CONTROLFILE AUTOBACKUP ON;'); ### commented
      FOR dfrec IN df
      LOOP
        IF dfrec.name  != vfname THEN
          vcount      :=1;
          vfname     := dfrec.name;
        ELSE
          vcount := vcount+1;
          vfname:= dfrec.name;
        END IF;
      --  dbms_output.put_line('backup as copy datafile ' || dfrec.file# ||' format  "'||dfrec.name ||vcount||'.dbf";');  ### commented
      END LOOP;
      dbms_output.put_line('run');
      dbms_output.put_line('{');
      FOR dfrec IN df
      LOOP
        IF dfrec.name  != vfname THEN
          vcount      :=1;
          vfname     := dfrec.name;
        ELSE
          vcount := vcount+1;
          vfname:= dfrec.name;
        END IF;
        dbms_output.put_line('set newname for datafile ' || dfrec.file# ||'  to  '''||dfrec.name ||vcount||'.dbf'' ;');
      END LOOP;
      FOR tprec IN tp
      LOOP
        IF tprec.name  !=  vfname THEN
          vcount      :=1;
          vfname     := tprec.name;
        ELSE
          vcount := vcount+1;
          vfname:= tprec.name;
        END IF;
        dbms_output.put_line('set newname for tempfile ' || tprec.file# ||'  to  '''||tprec.name ||vcount||'.dbf'' ;');
        END LOOP;
          dbms_output.put_line('restore database;');
        dbms_output.put_line('switch tempfile all;');
        dbms_output.put_line('switch datafile all;');
        dbms_output.put_line('recover database;');
        dbms_output.put_line('}');
    ---   dbms_output.put_line('alter database open;');  ### comented because you need rename your redologs on controlfile before open database
        dbms_output.put_line('exit');
    END;
    /After restore you must rename your redologs on controlfile from old location to new location:
    e.g
    ##  use this query to get current location of redolog
    SQL>  select group#,member from v$logfile order by 1;
    ## and change from <old_location> to <new_location>
    SQL > ALTER DATABASE
      RENAME FILE '+DG_TSM_DATA/tsm/onlinelog/group_3.263.720532229' 
               TO  '/u01/app/oracle/oradata/logs/log3a.rdo'  When you change all redolog on controlfile issue command below:
    SQL> alter database open resetlogs;PS: Always track database in real time using alert log file of database.
    HTH,
    Levi Pereira

  • Create Data Guard Using ASM Managed RMAN backup

    we have an oracle database 11.1.0.7 working on Windows server 2003 (64bit). The storage in ASM managed (same 11.1.0.7). Our total database size is 4TB.
    I will have to create a physical standby database (Data Guard) of this instance. Now I am having issues on how to transport my RMAN backup pieces (which is also ASM managed).
    I cannot do an over the network RMAN backup because it will take months to complete.
    We have external 4 hard disks (2 TB each). But my RMAN backup pieces are ASM in format.
    Any ideas on how to easily create a data guard in this set up.

    TheAlchemist wrote:
    can you provide us any clear steps....Hope you asked for Restoring from backups.
    1) Prepare PFILE and put in nomount status.
    2) Restore standby controlfile
    RMAN> restore standby controlfile from '+DG/...'
    3) Mount controlfile
    SQL> alter database mount standby database;
    4) Restore database.
    If you are restoring into another diskgroups, then use as below.
    RUN {
    SET NEWNAME FOR DATAFILE 1 TO '+Dg1/....';
    SET NEWNAME FOR DATAFILE 2 TO "+Dg1/...';
    RESTORE DATABASE
    If same diskgroup you want to use then, just give RMAN> restore database;
    After successful restore
    5) Start MRP
    SQL> alter database recover managed standby database disconnect from session;

  • RMAN backup piece corruption.

    Hi,
    I m having multiple databases where RMAN backup configured and scheduled. I want to know from backup piece how I can know the block corruption?

    What is the version of your RMAN utility.
    Try this:
    Start RMAN and connect to a target database and recovery catalog (if used).
    Run the BACKUP VALIDATE command.
    For example, you can validate that all database files and archived logs can be backed up by running a command as shown in the following example. This command checks for physical corruptions only.
    BACKUP VALIDATE
    DATABASE
    ARCHIVELOG ALL;
    To check for logical corruptions in addition to physical corruptions, run the following variation of the preceding command:
    BACKUP VALIDATE
    CHECK LOGICAL
    DATABASE
    ARCHIVELOG ALL;
    In the preceding examples, the RMAN client displays the same output that it would if it were really backing up the files. If RMAN cannot back up one or more of the files, then it issues an error message. For example, RMAN may show output similar to the following:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 08/29/2007 14:33:47
    ORA-19625: error identifying file /oracle/oradata/trgt/arch/archive1_6.dbf
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    Source: http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/rcmvalid.htm (To validate files with the BACKUP VALIDATE command)

  • RMAN backup goes to filesystem and not to ASM diskgroup

    Hi,
    DB: 11.2.0.1
    OS: Linux
    Parameter configured in database:
    SQL> show parameter db_recovery_file_dest
    NAME TYPE VALUE
    db_recovery_file_dest string +BACKUP
    db_recovery_file_dest_size big integer 10184M
    If i execute the command " RMAN> backup database; " , then the backup ( backup pieces) is going to +BACKUP destination and this is as expected.
    But, if i execute the same command using script, then the backup pieces are going to filesystem(default location $ORACLE_HOME/dbs ).
    Could you suggest me(if i understood wrongly), why the backup pieces are going to the location of filesystem , and not to the ASM diskgroup ?.
    I want to take the backup to ASM diskgroup, because of less space at filesystem.
    The script i used is this:
    [oracle@rac1 rmanscripts]$ more online.sh
    export ORACLE_SID=test;
    export NLS_DATE_FORMAT='dd/mm/yy hh24:mi:ss';
    umask 022
    date
    rman target / cmdfile online.rcv msglog online.log
    [oracle@rac1 rmanscripts]$ more online.rcv
    run {
    backup
    full
    tag b_db_full_test
    filesperset 2
    format 'df_%d_%t_%s_%p'
    database include current controlfile;
    Thanks in advance,
    Regards,

    Hi mseberg,
    Thanks for your reply and the thing is that the controlfile autobackup is going to ASM diskgroup ( +BACKUP).
    Even after changing the suggested config, no luck to me.
    RMAN> show all;
    RMAN configuration parameters for database with db_unique_name TEST are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 15 DAYS;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '+BACKUP';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 3 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 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 APPLIED ON ALL STANDBY;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/home/oracle/app/oracle/product/11.2.0/dbhome_2/dbs/snapcf_test.f'; # default
    Backup piece destination info from log is here:
    channel ORA_DISK_2: finished piece 1 at 16/02/13 22:41:22
    piece handle=/home/oracle/app/oracle/product/11.2.0/dbhome_2/dbs/df_TEST_807575973_155_1 tag=B_DB_FULL_TEST comment=NONE
    channel ORA_DISK_2: backup set complete, elapsed time: 00:01:49
    Finished backup at 16/02/13 22:41:22
    Starting Control File and SPFILE Autobackup at 16/02/13 22:41:22
    piece handle=+BACKUP/test/autobackup/2013_02_16/s_807576082.342.807576083 comment=NONE
    Finished Control File and SPFILE Autobackup at 16/02/13 22:41:25
    I cannot understand why this is,
    Regards,

  • Need to Configure RMAN backup in 8.1.7.4.1

    I have been asked to design a backup and recovery strategy for our production and test databases
    I got 2003 Enterprise server with 3 disks of each 300gb.
    There are 10 databases running in versions 8,9,10 with 5 production and 5 UAT database.
    The sum of the Db will be around 70Gb
    I got 200Gb free space in 2 disks
    how can i design a BACKUP startegy here. I have palnned to use RMAN backups.
    Any useful links and proper guiding from you people expected.
    Right Now there is only export backup in Night.
    I have informed them we are running the Db in risk,.They have asked me to comeup with a plan.
    Any help please
    Message was edited by:
    Maran.E

    Maran,
    >
    Is it possible to backup 8.1.7.4.1 by 10g database.
    i can create a recovery catalog in 10g and wil i be able to backup a 8 and 9 Db
    >
    I have test 10g catalog with 9i. No idea with the 8i.
    I guess, 8i(817) is more comportable with 10g and it should work.
    Have a try with your test database and also cross check the metrix with different version in the Metalink.
    Jaffar
    Good news Maran,
    I just come across of the following note which explains the RMAN compatibility between 8 - 10g versions.
    RMAN Compatibility Oracle8i 8.1.7.4 - Oracle10g 10.1.0.4
    Doc ID: Note:307022.1
    In case, if you dont have access to metalink, the punch line from the note is :
    SUMMARY
    =======
    Is best practice to use 'rule of thumb'. Always used the target database RMAN executable and the latest release of Oracle for your recovery catalog.
    If you are going to use a lower version RMAN executable to backup higher version databases remember you are restricted to only the features available
    in the database your using. But the executable you are using must be able to handle the feature or configuration you are using. Case and point the
    RMAN-06466 error above where in 9.0.1 there is no concept of "AS BACKUPSET".
    Because configure commands were executed some options in the controlfile were not understood when parsed by the lower version RMAN.
    Message was edited by:
    Syed Jaffar

  • Extracting Backups Sets from ASM with RMAN (10g)

    If I backup my database to my flash recovery area in ASM using RMAN, can I then extract those backup sets from ASM and turn them into normal file system files?
    I think I read that you can do this but I just wanted to be sure. I don't need super detail on this, just get me pointed in the right direction.
    I've certainly read about extracting a database from ASM, but I'm just not sure how I'd migrate an individual, arbitrary file.

    http://www.oracle.com/technology/oramag/oracle/04-nov/o64rman.html#T2 describes something like this, in the "Adding ASM" section. Here's the excerpt:
    Files inside an ASM location are not accessible as operating system files. To get the backups and archived logs from the ASM disk group to regular disks and tapes, John will use RMAN to back up the recovery area from ASM to tape (at the network backup server) through the following command:
    BACKUP RECOVERY AREA;
    This backs up the entire recovery area, including data file backups, archived logs, and control file backups from the ASM disk group to the tape.
    So, this would lead us to believe that what we want can be done. However, I read somewhere in the RMAN doc that BACKUP RECOVERY AREA will only create a backup to an sbt (i.e. tape) device. That is, it would appear that RMAN cannot store backups in ASM, and also allow you to "export" them to disk. You can export to tape, but not to disk.
    This is disconcerting. I'd like to store all Oracle-related files under ASM, but I'd also like to allow our tape backup procedures (which I am not in control of, and which do more than just backup Oracle) to easily just grab OS files that I put out there.

  • RMAN backup restoration on a different server under ASM .

    Hello Experts,
    This is regarding new installation of Oracle RAC 11gR2 on AIX 6.1 . Its a two node cluster setup , using ASM . As i am newbie for RMAN , I would like to know how i can restore my rman backup to another uat server which has standby database again cofigured under asm .
    Thanks for your kind help .

    Hi ,
    Thanks for reply
    1) I performed the full database backup on source .
    2) Source (prod) and target remote database (uat) are in ASM and have same DG for datafiles .
    3) I have transfered the backup from production to UAT . I have already running uat database
    do i need to drop it before i start the restoration ? My final purpose is just to refresh target with production backup . Kindly advice the steps from here to proceed with .
    Thank you

  • Rman backup and restore from ASM env to Non ASM Environment

    Hi,
    I got a situation where i need to take RMAN Backup from ASM RAC environment and Restore that back to Non ASM standalone database.
    Please let me know the procedure.
    would appreciate your quick response

    874152 wrote:
    Hi,
    I got a situation where i need to take RMAN Backup from ASM RAC environment and Restore that back to Non ASM standalone database.
    Please let me know the procedure.
    would appreciate your quick response
    Hi,
    You can follow this procedure
    1. take the backup to destination host
    2. restore spfile and controlfile
    3. catalog the backup with command 'catalog start with <location of backup>'
    4. use "set newname for datafile" to restore the datafile to non asm disk
    5. restore database
    6. recover database until point in time
    7. rename redolog and tempfile
    8. open database with resetlogs
    9. remove redolog group from another instance
    10. you might want to drop undo tablespace from another instance too
    11. task complete
    Cheers

  • RMAN backup restore from RAC to single instance ASM

    Hi,
    We are using oracle 11gR2 on AIX 6.1,
    We need to restore RMAN backup from RAC to single instance ASM,
    Im new to RAC & ASM, What will be the changes
    What will be steps involved into it.
    Thanks

    Hello,
    Refer this MOS doc *HowTo Restore RMAN Disk backups of RAC Database to Single Instance On Another Node [ID 415579.1]*
    On the Single Instance ASM, you need to specify the diskgroup name for the parameters "control_files, db_create_file_dest"
    Handle:      user10745179
    Email:      [email protected]
    Status Level:      Newbie (5)
    Registered:      Feb 24, 2009
    Total Posts:      168
    Total Questions:      74 (52 unresolved)
    Name      Devesh
    Location      Mumbai If you feel that your questions have been answered, then please consider closing the threads by providing appropriate points. Please keep the forum clean !!
    Regards,
    Shivananda

  • Test RMAN consistent "as copy" backup outside of ASM (RAC)

    Hi!
    We have create RMAN consistent backup in our RAC (ASM with FRA) environement.
    Backup steps looks like:
    alter system set cluster_database=false scope=spfile sid='HAC4';
    srvctl stop database -d HACThen we start RMAN backup script like (database is shut downed before):
    run {
    startup mount;
    allocate channel t1 type disk format '/u01/rman_backup/HAC/cold_backup/HAC_%U';
    allocate channel t2 type disk format '/u01/rman_backup/HAC/cold_backup/HAC_%U';
    SET CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u01/rman_backup/HAC/cold_backup/HAC_%F_ctl';
    backup as copy database include current controlfile;
    }After backup we perform:
    alter system set cluster_database=true scope=spfile sid='HAC4';
    shutdown immediate;and later
    srvctl start database -d HACBackup files from this backup are placed on local disk area accessed by node4, where HAC4 SID is on.
    We transfer those backup files to tape on some schedule basis...
    Now we want to test this backup.
    Scenario:
    Because we have consistent backup we think that we can perform restore from it (from that disk files) and from it ONLY!
    Our problem is that all the time restore is using ASM files, so we are not sure is our backup valid.
    So, how to prevent RMAN restore/recover process from using any ASM file - just to use our consistent backup data?
    Please some script example for that....
    Our config:
    Oracle 10gR2.0.4 PS3 (CRS, ASM, database)
    Linux Rhel 5.3 IA64 on "raw devices" (not raw disks)
    THX
    Damir

    We'll...look this restore for our "as copy" consitent backup. Assume that ${BKUP_DEST} is env variable in bash script which points to same place where backup was done. Here is restore part:
    run {
    startup force nomount;
    RESTORE CONTROLFILE from '${BKUP_DEST}/HAC_20090916T152408_u5kpd8le_1_1_post_ctl';
    alter database mount;
    sql "alter session set NLS_DATE_LANGUAGE=American";
    allocate channel t1 type disk format  '${BKUP_DEST}/HAC_%U';
    allocate channel t2 type disk format  '${BKUP_DEST}/HAC_%U';
    restore database FROM TAG='TAG20090916T152532' ;
    release channel t1;
    release channel t2;
    }where
    TAG='TAG20090916T152532'is tag that was done in backup. This is done from "ac copy" backup. But when we run:
    run {
    allocate channel t1 type disk format  '${BKUP_DEST}/HAC_%U';
    allocate channel t2 type disk format  '${BKUP_DEST}/HAC_%U';
    recover database FROM TAG='TAG20090916T152532' ;
    release channel t1;
    release channel t2;
    }RMAN is using archive logs from ASM....and we want to use only files from "as copy" backup-remember we test "as copy" consistent backup.
    If we do not run "recover" part then we cannot open database!?
    (i.e. alter database open resetlogs).
    Hope now is all more clear..
    Regards,
    Damir
    P.S.
    Either our backup script is not OK or restore/recover script is bad....
    Unfortunatelly we do not know what?

  • Restoring RMAN Backup from ASM RAC env to Non ASM standalone environment

    Hi,
    Can anyone please tell me how to restore database using RMAN in a Non ASM environment as my backup file with ASM RAC environment.
    i was also looking for some documentation which provides clear explanation about RMAN backup and Restore in ASM and Non ASM environment.
    Thanks

    You can set the parameter db_file_name_convert in init.ora in you new database with [ID 47325.1]
    or
    you can set parameter "set newname" in your script rman. [ID 549972.1]
    if you have one or two destinations of dbfiles in ASM I seggest to you set parameter db_file_name_convert in init.
    example:
    db_file_name_convert=('+DGDATA','/u01/oradata/');
    remenber you need set log_file_name_convert to.
    log_file_name_convert=('+DGREDO','/u01/redo/');
    if you use "set newname" commands you need set this lines in your script rman.
    set newname for datafile 1 to '/u01/oradata/system01.dbf';
    set newname for datafile 2 to '/u01/oradata/undotbs01.dbf';
    set newname for datafile 3 to '/u01/oradata/sysaux01.dbf';
    set newname for datafile 4 to '/u01/oradata/users01.dbf';
    and every datafiles you need set!
    Edited by: user1107977 on 21/07/2011 13:47

  • Configure backup agent to take the RMAN backup

    Hi,
    We have a Sun Storagetek SL48 tape library with us. we want to take the backup to tape using Rman.
    In order to take the RMAN backup, we need a backup agent needs to be installed on the database server.
    1. My doubt is If we have Sun Storagetek SL48 tape library, what backup agent needs to be installed on the server?
    2. If we know agent name, Could you please share the document to install the agent?
    Thanks for your help.
    R.Sundaravel

    These softwares support the SL48 and they have an agent for RMAN : Symantec NetBackup, Legato Networker.
    For Symantec, please check this URL : http://www.symantec.com/business/support/index?page=content&id=HOWTO44847#v15496705
    For Legato, this one : https://store.emc.com/Product-Family/DATA-DOMAIN-PRODUCTS/EMC-NetWorker/p/EMC-NetWorker

Maybe you are looking for

  • IPad won't connect to Wi-Fi at home

    I've been messing with this quite a bit last night. Brand new iPad, just updated it through iTunes last night, and can't get it to connect the internet. My iPhone connects just fine (also running 6.1) so I don't see where the problem could be. There'

  • Using CharAt for String Manipulation

    Hi, I am new to Java and am taking a Java class. I am trying to put a social security number in "nnn-nn-nnnn" format where n is a digit 0-9. I don't know if it would work with the charAt method of the String class. Does anyone have any suggestions on

  • Refund itune purchase

    How do I get a refund on the wrong purchase from the App Store

  • Open a view in the Portal

    Hi Experts, I have a report with some variables in the portal. I made some customization and saved a couple of views. I know that we can open a saved view by going into the report and selecting the open button in the standard template. But what if i

  • Audio on some songs not playing - iTunes Library hosted External Hard Drive

    Since moving my music to an external hard drive connected to my Airport Extreme, audio on some tracks will not play. Seemingly at random, songs will just silently move through the track time. Visually it looks as if the tracks are playing, the iTunes