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,

Similar Messages

  • My Ipod was in my back pocket and when I took it out it has a white screen with 3 grey lines going threw it, and not even 5mins before, it was working fine... what could i be? it also isnt hooking up to itunes... please help

    My Ipod was in my back pocket and when I took it out it has a white screen with 3 grey lines going threw it, and not even 5mins before, it was working fine... what could i be? it also isnt hooking up to itunes... please help

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • I have two iphones using the same computer and I can only find a backup for my iphone and not my girlfriends.  She uses itunes a lot more often then I do but cant find it

    I have two iphones using the same computer and I can only find a backup for my iphone and not my girlfriends.  She uses itunes a lot more often then I do but cant find it.  Really need some help.  Shouldnt her apps and details be saved online in the itunes store?  Even her apps wont appear

    If you create an Apple ID for your daughter, signing out of the existing Apple ID with the iTunes & App Store on her iPhone will not change anything on your iPhone.
    All apps include DRM protection which is tied to the Apple ID that was used to download the apps.
    If she starts using her Apple ID to download apps, when there is an app update for an app on her iPhone that was downloaded with the current shared Apple ID, she will need to use that Apple ID and password to download the app updates.

  • The itunes on My new iPad keeps going to podcasts and Not to music or videos

    The itunes on My new iPad keeps going to podcasts and Not to music or videos?

    I had the same problem with my iPad, i couldn't get the newer version of itunes because the computer was too old and my iPad couldnt sync with the old itunes. I got a PC from school a few months later so that solved the problem for me. Unfortunately i don't think there would be a program to put your music on your iPod, iTunes should be the only way to transfer files to Apple devices. What operating system are you running and what version of it is it?

  • RMAN backup testing using networker and NMO

    I want to do some RMAN backup testing using networker 7.5 and NMO 5.0. I am doing these testing on VMware. I am not sure whether I need to buy some tape drive for my home PC to do backup testing or I can mimic hard drive as tape drive in VMWARE.
    Do you have any idea? any suggestion please?
    Thanks..

    I think this is not a RMAN/Oracle issue, as soon as you configure networker MML it's up to networker to define the real backup destination behind. Maybe networker has also a 'fake' tape destination,but I don't know this. There's a networker forum:
    http://www.tek-tips.com/threadminder.cfm?pid=480
    Werner

  • RMAN backup on local filesystem

    Hi Experts,
    I have an RMAN script and i want to use this script to backup my database on my local filesystem.How can i do it ? What changes i need to make in the script?How can i sepcify the path where i want to backup it ?
    Actually this script was taken for doing it on tape drive .
    Please help me.
    connect target rman/rman@RMAN;
    run
    { allocate channel t1 type 'SBT_TAPE' parms
    'ENV=(NSR_SERVER=,NSR_DATA_VOLUME_POOL=,NSR_CLIENT=)'
    format '/%d_%u_%s_%p/';
    backup incremental level 0 ( database filesperset 8 include current controlfile );
    sql 'alter system archive log current';
    backup archivelog all delete input filesperset 10;
    THanks & Regards,
    MB

    as per oracle best practices, use default channels where possible, these makes management easy !
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/rman_backup/%F';
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/rman_backup/d_%d_s_%s_p_%p_t_%t' MAXPIECESIZE 2048 M;
    CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' MAXPIECESIZE 1536 M PARMS "ENV=(NB_ORA_CLIENT=topdb1,NB_ORA_SERV=ilsdb2)" FORMAT 'd_%d_s_%s_p_%p_t_%t';
    in the following example using default settings, parrallelism is set to 4 using veritas backup
    first I take a backup to tape, see how channels get allocated, then to disk, old channels are released and new allocated to disk, this kind of backup policy makes things easy to manage and run, as reccomended by oracle.
    RMAN> backup device type sbt current controlfile;
    Starting backup at 11-JUN-07
    allocated channel: ORA_SBT_TAPE_1
    channel ORA_SBT_TAPE_1: sid=273 devtype=SBT_TAPE
    channel ORA_SBT_TAPE_1: VERITAS NetBackup for Oracle - Release 6.0 (2005090703)
    allocated channel: ORA_SBT_TAPE_2
    channel ORA_SBT_TAPE_2: sid=224 devtype=SBT_TAPE
    channel ORA_SBT_TAPE_2: VERITAS NetBackup for Oracle - Release 6.0 (2005090703)
    allocated channel: ORA_SBT_TAPE_3
    channel ORA_SBT_TAPE_3: sid=293 devtype=SBT_TAPE
    channel ORA_SBT_TAPE_3: VERITAS NetBackup for Oracle - Release 6.0 (2005090703)
    allocated channel: ORA_SBT_TAPE_4
    channel ORA_SBT_TAPE_4: sid=219 devtype=SBT_TAPE
    channel ORA_SBT_TAPE_4: VERITAS NetBackup for Oracle - Release 6.0 (2005090703)
    channel ORA_SBT_TAPE_1: starting full datafile backupset
    channel ORA_SBT_TAPE_1: specifying datafile(s) in backupset
    including current controlfile in backupset
    channel ORA_SBT_TAPE_1: starting piece 1 at 11-JUN-07
    channel ORA_SBT_TAPE_1: finished piece 1 at 11-JUN-07
    piece handle=d_TOPAZ_s_12304_p_1_t_624967342 comment=API Version 2.0,MMS Version 5.0.0.0
    channel ORA_SBT_TAPE_1: backup set complete, elapsed time: 00:02:37
    Finished backup at 11-JUN-07
    Starting Control File and SPFILE Autobackup at 11-JUN-07
    piece handle=c-3348250252-20070611-05_TAPE_CONTROLFILE comment=API Version 2.0,MMS Version 5.0.0.0
    Finished Control File and SPFILE Autobackup at 11-JUN-07
    RMAN> backup device type disk current controlfile;
    Starting backup at 11-JUN-07
    released channel: ORA_SBT_TAPE_1
    released channel: ORA_SBT_TAPE_2
    released channel: ORA_SBT_TAPE_3
    released channel: ORA_SBT_TAPE_4
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=273 devtype=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid=224 devtype=DISK
    allocated channel: ORA_DISK_3
    channel ORA_DISK_3: sid=293 devtype=DISK
    allocated channel: ORA_DISK_4
    channel ORA_DISK_4: sid=219 devtype=DISK
    allocated channel: ORA_DISK_5
    channel ORA_DISK_5: sid=283 devtype=DISK
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    including current controlfile in backupset
    channel ORA_DISK_1: starting piece 1 at 11-JUN-07
    channel ORA_DISK_1: finished piece 1 at 11-JUN-07
    piece handle=/rman_backup/d_TOPAZ_s_12306_p_1_t_624967822 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
    Finished backup at 11-JUN-07
    Starting Control File and SPFILE Autobackup at 11-JUN-07
    piece handle=/rman_backup/c-3348250252-20070611-06 comment=NONE
    Finished Control File and SPFILE Autobackup at 11-JUN-07
    RMAN>

  • RMAN backup to network share and local at the same time ?

    Hi all,
    is it possible to force rman to backup database into two different locations ? one location would be network drive, another local directory.
    I was trying to do it with this script:
    run
    allocate channel c1 type disk format '\\10.236.196.247\BACKUP\%U' maxpiecesize 2g;
    allocate channel c2 type disk format 'F:\data\flashback\db_recovery_area/%U' MAXPIECESIZE 2g;
    backup database;
    backup current controlfile;
    release channel c1;
    release channel c2;
    what I get is my backup is split between these two locations... unable to recover database from one of them.

    Hi,
    You can check the documentation: Multiple Copies of RMAN Backups ;-)
    When backing up datafiles, archived redo log files, server parameter files and control files into backup pieces, RMAN can duplex the backup set, producing up to four identical copies of each backup piece in the backup set on different backup destinations with one BACKUP command. (Note that duplexing is not supported for backup operations that produce image copies.)
    There are three ways to specify duplexing of backup sets when using the BACKUP command:
    Specify a default level of duplexing with CONFIGURE... BACKUP COPIESAll backup commands that back up data into backup sets will be affected if you use this option, unless you specify different duplexing options for a command using SET BACKUP COPIES or provide a COPIES option for the BACKUP command.
    Use SET BACKUP COPIES in a RUN block All commands in the RUN block will be affected, overriding any CONFIGURE... BACKUPCOPIES setting, except those where you provide a COPIES option as part of the BACKUP command.
    Provide a COPIES option to the BACKUP command For this specific BACKUP command, files will be duplexed to produce the number of copies you specify.
    Cheers
    Legatti

  • If i turn off wifi my phone only goes to Edge and not 3g by default?!?!

    I have a very wierd problem with iphone. mine isn't about 3g reception, as i get eprfect reception. the problem is if i turn on wifi and am connected to a network, once i tun off wifi or get out of wifi range, my phone will automatically revent to Edge, and not 3g. i have to go into network settings and disable, then re-enable 3g, and then 3g works perfectly. even if wifi option is on but im not connected to wifi, this works fine. but if and when i connect to a wifi network, suddenly my phone starts reverting back to edge when i either turn off wifi or move out of wifi range. i then have to disable and renable 3g for it to default back to 3g
    whats the deal here!! this seems to be a glitch in the system. anybody else facing this problem?? im on 2.1 and i didn't have this problem with any of the previous 2.0.1 or 2.0.2 and was getting eprfect 3g every time.

    I think reverting to Edge when in sleep mode is by design.
    It make sense when you think about it. Why would you need 3G data speeds for a phone that is sleeping?
    But it should pop back to 3G when you open the phone.
    I have another thread where ACTIVE Edge transmission streams block switching to Wifi.
    This sounds like all part of the same problem. It sounds like Apple reverted to the lowest power radio when in sleep mode, but has still not perfected the switching upon awakening.
    If you wake your phone, but do NOT slide the Un-lock slider till you see 3G/wifi it seems to work better. However, it it doesn't work in 6 seconds, its not going to work at all in my experience.
    Switching to 3G is so time consuming (not only MY time to initiate it but also the time it takes to actually wait out the "No Service" to get to a 3G icon) that I use very little 3G at all. I'd rather have a solid Edge reliability and
    wifi than a flaky unpredictable and very limited coverage 3G. I think I wanted a iPhone V1.5 (half way between V1 and V2. Keep the 3G, its the source of a lot of headaches on this board).
    In 3 years it might be different as 3G spreads, but right now 3G is not worth the trouble and expense given the plethora of free wifi.

  • When i text certain people their reply goes to macbook and not my phone

    i think i have deactivated iCloud on my phone and my macbook but texts from certain peoples replies are going to my macbook and not my phone so i can't see the reply
    i need help getting them back on the phone!

    Hi swirly74,
    I would suggest that you review the information in the following article and make sure that your iMessage addresses are all shown in the area of settings labelled "Send & Receive At":
    iOS: Using Messages
    http://support.apple.com/kb/HT3529
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • Keyboard events going to InDesign and not on textbox

    Hi,
    I have ported a project from InDesign CS2 to InDesgn CS3 on Mac. I have dialogs in rsrc file (not converted to nib file) which I am also using on XCode.
    Now the problem which I am facing is that when typing in a textbox then keyboard events are going to InDesign and only those events which are not handled by InDesign is received by my textbox.
    Has anyone experienced the same problem before?
    Any help will be appreciated.
    Regards,
    Rahul Rastogi

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).<br />
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]<br />
    <br />
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.<br />
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.<br />
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • RMAN backup for TDPO without catalog not working

    Hi all,
    We have configured IBM tivoli storage for Oracle backup(using RMAN).We did not configure Recovery catalog. Will tivoli support to keep the backups in tape without a catalog?
    OS : IBM AIX 5.3
    Database Version : 10.2.0.4
    Tivoli client version : 5.5.0.0
    Tivoli server version : 5.5.4.0
    oracle API : 5.4.1.0
    Regards.

    Hi Rajesh,
    Thanks for the reply.The script contains the controlfile autobackup option.I have deleted the SBT tape's old backups using RMAN. But the volume space not reduced. This is the script we are using for backup.
    run
    configure controlfile autobackup on;
    crosscheck archivelog all;
    allocate channel t1 type 'sbt_tape' parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/cli
    ent/oracle/bin64/tdpo.opt)';
    #allocate channel t2 type 'sbt_tape' parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/cl
    ient/oracle/bin64/tdpo.opt)';
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    backup incremental level 1
    filesperset 25
    format 'full_%d.%t.bkp'
    database;
    backup
    format 'arch_%d.%t.bkp'
    archivelog all;
    release channel t1;
    regards.

  • How can I get my new iPhone to update with backup from old iPhone and not iPad?

    Hi. I just got a new iPhone 4S to replace my old iPhone 3GS. For some reason when I tried using setting up my new phone from the backup of m old phone it put a backup of my iPad. Is there a way I can retrieve this data for the phone? I didn't have any contacts with the ipad backup, just the phone and I really need them.
    Thanks!

    reset network settings, As well as power cycle router.

  • Transport of design objects going to Closed and not transportable

    Hi'
    we are using CMS to transport in XI. Now im facing a problem, I need to transport some changes to QA, but when I activate my changelists they go to status closed and not Transportable.
    Any hints?
    Kind regards
    Mikkel

    You should still be able to right click > export to CMS.
    Unless some config is missing in CMS.
    Have you used this before?
    This helps explains the status and why this happens:
    http://help.sap.com/saphelp_nw04/helpdata/en/f6/719a2172f74b67b150612a7cd3b7df/frameset.htm

  • Installing Grid Control and not using ASM

    Is it possible to install Grid Control and not be using ASM? We are on the brink of beginning our install (Peoplesoft) and may not use ASM. It seems to me from documentation that I'm reviewing that installing GC assumes you will be using ASM.
    Any info would be appreciated.

    Hi,
    the Grid Control Repository database does not require ASM. It works perfectly fine with datafiles on a normal filesystem.
    Best regards,
    Robert

  • 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

Maybe you are looking for