4 Replies Latest reply: Feb 23, 2013 5:53 PM by user569151 RSS

    Why backupset goes to ASM FRA area instead of configured disk location?

    user569151
      Hi, I have a full backup script to backup full db to compressed backupset and I want them to disk location, however it goes to FRA ASM location.

      Here is my script:

      rman target="sys/password" log=/u01/app/oracle/admin/dev/rman/log/fullcopy.log << EOF
      RUN {
      configure device type disk parallelism 8;
      Configure device type disk format '/backup/rman/dev1/%b';
      configure controlfile autobackup on;
      configure snapshot controlfile name to '+FRA/snapf_dev.f';
      configure device type disk backup type to compressed backupset;
      ALLOCATE CHANNEL ch1 TYPE disk;
      BACKUP as compressed backupset database;
      sql 'alter system switch logfile';
      backup as compressed backupset archivelog all;
      backup as compressed backupset current controlfile;
      crosscheck backup;
      crosscheck archivelog all;
      delete noprompt obsolete;
      delete noprompt expired backup;
      RELEASE CHANNEL ch1;
      }

      The output looks like this:

      channel ORA_DISK_2: finished piece 1 at 23-FEB-2013 13:45:34
      piece handle=+FRA/dev/backupset/2013_02_23/nnndf0_tag20130223t132347_0.4744.808147429 tag=TAG20130223T132347 comment=NONE
      channel ORA_DISK_2: backup set complete, elapsed time: 00:21:46
      channel ORA_DISK_4: finished piece 1 at 23-FEB-2013 13:46:04
      piece handle=+FRA/dev/backupset/2013_02_23/nnndf0_tag20130223t132347_0.5483.808147429 tag=TAG20130223T132347 comment=NONE


      Please help me to correct this script.