RMAN Backup to ASM and DISK Multiple Locations

Hi
We currently have a RAC database that backs up to the Flash Recovery Area on ASM.
Is there any way of backing up to ASM and Local Disk at the same time? I know you can configure multiple locations but what is the syntax to backup to ASM?
I've seen the line
format '/disk1/......','/disk2/.....' etc which backs upto multiple locations.
Is ASM just '+data/......' ?
Thanks

as you said, use the ASM path in the format scope.
also if you want to backup the DBF's as is(not a backup set) - use:
backup as copy database;
good luck

Similar Messages

  • RMAN Backup with ASM and Standby in place

    Hi All,
    We are planning to upgrade our database from 10.2.0.2 to 10.2.0.3. We have ASM as storage on primary and phisical standby is in place.
    I want to make a cut of point for backup, i.e if I restore till that poit on primary standby should continue to work. I need not create standby.
    We are using rman for backup and primary db uses asm for data,archive and redolog storage.
    I have a online complete db backup at 12:00PM. At say 6:00pm i take primary down and apply all archives on standby and cancel recovery on standby along with taking it down. On primary i mount db and take controlfile backup and all archive log backup using rman.
    Now i continue with upgrade and many more changes on primary. I will not touch standby. We decide to revertback at 10pm on primary. If I wan to return back to 6:00pm state on primary and standby.
    I believe I will restore controlfile backup taken at 6:00pm with db in mount phase. Restore dbfiles from online backup and recover using archives.
    My question is do i need to open with resetlogs? Then I will lose my standby which was up to date at 6:00pm. Can I not backup redofiles at 6:00pm with db in mount phase and i restore them then i need not open with reset logs and my stnadby will continue from that point.
    Please guide me..Is there way to backup redologs when db is in mount phase and using asm for storage using rman.

    There are quite a bunch of steps involved and you need to do some documentation reading.
    Do you plan to create the test database on the same machine or different RAC system?
    Which version of Oracle are you using? What OS?
    There is plenty of information on the web if you search for "duplicate database RAC ASM". Did you try?

  • How to move rman backups on tap from disk

    Hi,
    I have rman backup files on the disk, now how we can move these files to tap. is there any rman command or is there any script to move.
    Thank you!

    Do you use FRA (Flash recovery area)?
    If you use FRA then configure RMAN to take backup to tape. And backup fra to tape.
    RUN
    ALLOCATE CHANNEL ch0 TYPE ‘SBT_TAPE’;
    BACKUP RECOVERY AREA;
    RELEASE CHANNEL ch0;
    If you don't use FRA then you can backup your backupsets which are on the disk to tape.
    RMAN> BACKUP DEVICE TYPE SBT BACKUPSET ALL;
    Talip Hakan Ozturk
    http://taliphakanozturken.wordpress.com/

  • Steps to restore RMAN backups from tape to disk

    Hi All,
    using Netbackup Veritas Volume
    DB:10.2.0.3.0
    OS:AIX 64 bit
    Could nayone please share the steps to - restore RMAN backups from tape to disk.
    An early reply would be appreciated!!
    Thanks for your time!
    Regards,

    Hi,
    I went through as per your action plan it is giving below error I found a solution on meta doc id 559190.1 but i am not able to understant how to start observiced as it is mentioned in the doc id.
    allocated channel: t1
    channel t1: sid=2386 devtype=SBT_TAPE
    channel t1: Data Protection for Oracle: version 5.4.1.0
    Starting restore at 09-MAY-10
    channel t1: looking for autobackup on day: 20100509
    released channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 05/09/2010 11:57:01
    ORA-27191: sbtinfo2 returned error
    Additional information: 2
    RMAN>
    Thanks,

  • Media and Disk Cache Location, which folder should I choose?

    I started watching the Adobe Intro tutorials on After affects and the instructor says that I should specify a Media and Disk Cache Location, but does not explain which one I should choose. Does anyone with experience have suggestions for the best option?
    -Kristen Soble

    thought I would provide you with my Mac's Specs:

  • Oracle 9i RMAN backup filling up all disk and failing at the very end

    Hello to all and thank you in advance for any input from any of you.
    I am new in oracle and the only one in my company with a little bit of oracle knowledge, which is not a whole lot.
    I inherited a few servers (Linux and Windows based). We mostly run all our production environment on a Linux box hosting oracle 10g release 10.2.0.1 but we had a legacy application server that still runs on 9i release 9.2.0.1.0. This server is a windows 2003 box, the previous DBA or someone else with admin rights to this machine compressed the whole drive where oracle resides, when I started summarying the oracle assets, I saw this server with no backups scheduled and a compressed disk with very limited space after this compression, only 13 GB left, the database if uncompressed would definitively filled up all the disk. The machine is in used and cannot be taken down for more than a couple of hours. We tried adding another disk but the machine only accept it as a hot spare. The database is in archive mode, when I tried to run a RMAN backup, it start filling up the database drive until it's empty and it crashes the whole machine, it seems like the buffer is growing and growing until it fills up the whole drive. The only way to get the server up and running again is to reboot the machine since the server is more than 6 years old we are not please with this action because we are afraid the machine would go south in one of those reboots.
    Has anyone heard of similar issues when running RMAN on a compressed drive? Can the compressed disk have any involvement in this kind of odd behaviour? I tried running the backup in debug mode and creating a log in a different disk (the one where the backup is going to) and still the same issue. Again any help is much appreciate,
    Sincerely,
    Alex

    Sybrand,
    Thank you for your fast response, I am going to use your previous post to answer one by one your question,
    1 The Oracle binaries --- on a compressed drive > Yes
    2 The Oracle database control files redo log files and datafiles on that same compressed drive? > Yes
    3 The archived redo log ditto? > Yes
    I know for a fact (as I have been using that in 9i) you can create a RMAN backup on a compressed drive, and you can have your archived redo go to a compressed drive. No problemo! > Excellent good news!!!
    But I would never touch the data files. Please note backup sets are multiplexed files consisting of multiple datafiles, so RMAN would need to do some calculations to decompress several blocks at the same time and to calculate a new block and compress it.
    Do you have enough space to:
    a) (preferred) to make datafile copies instead of a backup >
    Not in the drive that hosts the oracle instance but yes on an external usb drive (1TB) I attached to use as a backup repository, maybe this is why I am having these issues. I only have 13 GB left on that drive where the oracle instance resides (actually as I explained in a previous reply to Mark, the server only has 3 slots for disks, two of them as configured as RAID 1 and the other is a hot spare because the RAID configuration manager cannot can only added as hot-spare. The raided disk are partitioned in two, one small partition is for the OS and the other is for the oracle instance). When you said make a copy of the datafiles, I assumed you are talking about doing manual backups, and copying the database after using using "alter tablespace tablespace_name begin backup; then copy the file; alter tablespace tablespace_name end backup;
    b) use filesperset=1 on the backup command line, so the multiplexing (and associated calculations) stop. I have not tried the option of fileperset yet but I can tryi it and see if that helps.
    Can you post the last few lines of the RMAN log where RMAN bombs out? Note: the last few lines. Not all of it, or you must send some paracetamol in conjunction! >
    When I ran the debug option, I stopped the backup at less than 20% because I didn't want to reboot the system in the middle of the production time, the backup consumed at least 3 GB during the time was running. The times I ran the RMAN backup I didn't used the debug option so I don't have a log long enough to send unless you want the last few lines of what I have.
    Thanks again for your input,
    Sincerely,
    Alex

  • RMAN copies to ASM and file system

    I am on 11g Rel 1 trying to do an RMAN backup with 2 copies of my backup. One copy should go to ASM storage and the other should go to a regular file system.
    My RMAN script is:
    run {
    configure default device type to disk;
    set backup copies 2;
    configure device type disk parallelism 16 backup type to compressed backupset;
    configure channel device type disk format = '+ASMDG2/backups/%d_%T_%U_dump0.bck, /orabackups/oracle/%d_%T_%U_dump0_offload.bck' MAXPIECESIZE 60G;
    configure controlfile autobackup on;
    backup incremental level=0 database plus archivelog;
    delete noprompt obsolete redundancy 1;
    exit;
    When the backup runs I get:
    RMAN-03009: failure of backup command ....etc.
    ORA-15124: ASM file name '+ASMDG2/backups/%d_%T_%U_dump0.bck, /orabackups/oracle/%d_%T_%U_dump0_offload.bck' containd invalid alias name...
    What is the correct syntax to get the copies to be able to go to ASM disk and regular disk locations?

    OK, I see that in the documentation this time. I'll try that for tonights backup and let you know how it works. I'm a bit concerned still because it looks like it wrote fine to the +ASMDG2 location.  I would have thought the whole backup would fail but I guess it was able to read the first path...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • RMAN recovery from tape and disk?

    Hey Guys,
    Here is my scenario: -
    I have Oracle 10g and I am using RMAN to backup to disk and then I use Networker to backup on tapes from disk (retention is set to 30 days on tapes). On RMAN - my retention policy is set to recovery window of 5 days after which it deletes the obsolete backup from disk and updates the control file.
    My Questions:
    1. If I have to recover any datafile or tablespace 20 days ago how can I restore it on Production. Since I am also backing up control files on tapes but my current control file will not have 20 days old information. Is there any way that I can restore my old backup?
    2.How can I test my tape backup which is older than 5 days. In other words how can I restore my database from tape on another server/
    Please suggest.

    If you need to restore the whole database to a point in time that is 20 days old, you "only" need:
    1. to identify the right control file backup
    2. restore this control file backup with Networker
    3. start the instance in mount mode
    4. list required datafiles and archived redo logs backup sets listed in this control file with LIST BACKUP
    5. restore these backup sets with Networker
    6. restore and recover database with RMAN with the right SET UNTIL clause.
    If you need to restore only 1 tablespace, that's Tablespace Point In Time Recovery (TSPITR) and is another story.
    I don't think you can only restore 1 datafile that is 20 days old and leave other datafiles up-to-date (unless there is only 1 datafile in the tablespace and in this case this is TSPITR).

  • Problem in recovery from RMAN backup in case of disk failure

    Hi
    I have Oracle 9.2.0.1.0 on Windows. Full Hot RMAN backup of database is scheduled on daily basis. I am taking backup on disks. And then i do manually copy them on tapes. If any disk failure occurs than can i recover database completely in this scenario. If tried restoing that backup on different machine as given below
    set ORACLE_SID=<name>
    rman target sys/<pwd>@ORACLE_SID nocatalog
    startup nomount
    restore spfile
    create pfile from spfile
    startup nomount pfile
    alter database mount
    restore database
    Everything worked fine till above steps. Now i will execute last step.
    recover database
    Here it gives error:-RMAN-06054: media recovery requesting unknown log: thread 1 scn 264750
    Still i typed
    alter database open resetlogs
    Now i can open my database, But is it recovered completely? Or there is loss of some data? Why it is giving this error?
    Thanks in advance. Waiting for reply.

    I can understand the confusion with this whole concept.
    What I meant by all archivelogs is all the archivelogs that were backed up with the backup itself. Again, it is essential to ensure that you archive the current redo log AFTER the backup is performed and then back those archivelogs too. Good thing is, RMAN will take care of this for you if you backup the archivelogs with the BACKUP DATABASE command and/or backup the archivelogs AFTER you run the BACKUP DATABASE command.
    Once you've mounted the controlfile and CATALOG the archivelogs, you can go into SQL*Plus and issue the following query:
    select SEQUENCE#, FIRST_CHANGE#, NEXT_CHANGE# from v$archived_log
    order by FIRST_TIME;This will tell you what archivelog is the latest. Logs generated during the backup may also provide the necessary information. Performing Disaster Recovery should help to understand the full process.
    The ONLINELOG directory in FRA is only populated if you've configured your redo logs to be stored there. However, you are on 9i...right? If so 9i doesn't utilize a FRA.
    HTH
    Edited by: ebrian on Oct 3, 2008 1:08 PM

  • 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

  • Is it necessary to take RMAN backup for ASM

    Hi all
    I also know we need RMAN to take backup for ASM . But i also seen its possible to take backup by using dd command itself on ASM . Why we need RMAN rather than this method . What is the specific reason we using RMAN,

    its possible to take backup by using dd command itself on ASM Very bad idea.
    1. You'll run into the classic "fractured block" issue when attempting a recover or reading a block after the restore
    2. RMAN can be used to
    a relocate individual datafiles,
    b duplicate / clone database,
    c restore to an alternate server,
    d copy / move from ASM to filesystem
    e verify for corruption
    f generate reports on backups taken
    None of which dd of ASM will do reliably (depending on the skills of the DBA/SA).
    Hemant K Chitale
    Edited by: Hemant K Chitale on Feb 19, 2013 9:56 AM
    Added the words : "reliably (depending on the skills of the DBA/SA)"

  • Taking RMAN backup of primary and standby databases.

    Hi,
    I am going to setup a Standby for Primary two node RAC to single node standby.
    My doubt is, in standby both primary and standby will have the same db_name. So how can i take the RMAN backup of both primary and standby by using a single catalog.
    That is, we can register the primary DB with catalog using it's db_name. But how can we register the standby with catalog using same db_name as it is already registered.
    Thanks,
    Mahi

    Are you using a physical or logical standby?
    If its a physical standby why do you need to back up both databases? backup the standby and you are done, the backup from the standby can be recovered to either the live serever or the standby if needed, andt hen the archivelogs used to bring it up to date.
    If its a logical standby then change the database name for the standby and you can back both up to the same catalog, or alternativly cretae a new catalog for the standby, either as a new database or a new schema in your existing catalog.

  • Can you oracle 9.2 rman backup to NFS mounted disk?

    Running is disc space issues.
    We're using oracle 9.2, can we run rman backups to an NFS mounted disk?

    to RMAN there's no difference between local mounted disk or NFS mounted disk
    It's just a mount point with some directory structures.

  • RMAN Backup in ASM

    Hi,
    I have oracle 11gR2 with ASM installed on Windows 2008 R2 server 64 bit.
    I have taken RMAN full database backup and that is in +FRA\BACKUP location now if i want to use that backup in other network location then how it is possible ?
    Thanks & Regards,
    Vikash Jain (Junior DBA)

    Vikash Jain (DBA Trainee) wrote:
    Hi Levi,
    Here i am trying to copy file from ASM file system to Window drive ..am anable to do .
    ASMCMD [+FRA/ASMDB/autobackup/2012_04_10] > cp +FRA/ASMDB/autobackup/2012_04_10/s_780262450.307.780262451 d:\olam\s_780262450.307.780262451.bak
    ASMCMD-08010: no usr name is specified in remote instance connect_string->'d'ASMCMD [+FRA/ASMDB/autobackup/2012_04_10] > cp +FRA/ASMDB/autobackup/2012_04_10/s_780262450.307.780262451 d:/olam/s_780262450.307.780262451.bak
    ASMCMD-08010: no usr name is specified in remote instance connect_string->'d'
    You can see i have tried both back slash and forward slash.. but unfortunately nothing working for me.
    Do you any solution for my problem ?
    Thanks and regards,
    Vikash Jain(Junior DBA)In Windows, Oracle takes the drive letter from the server where oracle software/home is installed. So when you try to copy using cp command, you don't have to specify the drive letter. And make sure that the directory [\olam] on windows is on the same "disk/drive" as the oracle software:
    ASMCMD [+FRA/ASMDB/autobackup/2012_04_10] > cp +FRA/ASMDB/autobackup/2012_04_10/s_780262450.307.780262451 \olam\s_780262450.307.780262451.bak

  • RMAN backup destination changed to Disk

    11.2/Solaris 10
    We had set up the backups for a DB to go to Tape using
    CONFIGURE DEVICE TYPE SBT_TAPE PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default This was working fine.
    Yesterday we had to take an Ad hoc cold backup for this DB to Disk .Using FORMAT parameter to point to the disk location, I took this backup in NOCATALOG mode ie. using Control file as the catalog.
    Now , when i connected to the catalog for this DB and did a SHOW ALL; I can see that backup location is changed to Disk even in the Catalog.
    CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 1; This happened due to the resync. I guess.
    So, whenever I take Disk based backups using Control file as the catalog , I have to connect to the actual RMAN Catalog schema and revert the Backup location to SBT_TAPE using
    CONFIGURE DEVICE TYPE SBT_TAPE PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default?

    Configuer is RMAN command which change permanent RMAN configuration settings.
    CONFIGURE DEVICE TYPE SBT_TAPE PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    Above would be permanent for external tape drive.
    CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 1;
    You have overrided persistently from tape to disk.
    You can set on the fly for backup location by using
    run {
    allocate channel ch1 type DISK;
    backup database plus archivelog;
    release channel ch1;
    }If you want to have backup at tape cartridge then
    run
      ALLOCATE CHANNEL ch1 DEVICE TYPE sbt
        PARMS='ENV=(OB_MEDIA_FAMILY=daily_bkp)';
      BACKUP DATABASE;
      RELEASE CHANNEL ch1;
    }

Maybe you are looking for

  • My Macbook is old enough, where do I buy a replacement battery

    My Macbook is old enough, and the battery almost dead. I don't want to buy original battery from Apple store again. But I would like to continue to use the computer for some time. Where to buy a compatible battery? Not Ebay, California online store w

  • PowerShell script : Directory object not found error in Get-ADGroupMember

    I am new in powershell scripting. I am writing a script to add users in different AD Groups. while doing so I do the following: Check if the user already exist in the group: $mbr_exist = Get-ADGroupMember $grpname | Where-Object {$_.SamAccountName -e

  • Decentralize warehouse management

    Dear Friends, This is the question related to warehouse management system. My requirement is that we are going to set decentralize management. Presently we are having CWM in our present system. At another place there is local ERP , we want to replace

  • SelectOneChoice SET

    Hi All, I have following code snippet. <af:selectOneChoice value="#{bindings.TableUsersView1CustId.inputValue}" label="#{bindings.TableUsersView1CustId.label}" binding="#{backing_create.selectOneChoice3}" required="false" valuePassThru="true" partial

  • DOT on 875p

    recently i bought this board with the default 1.6 bios and DOT stickers on it(box and mobo). I've read some post in here that someone access the dot menu in the bios but seldom bec. it cannot be seen by default. To all the guys that have 875p mobo i