RMAN controlfile autobackup to tape

Hi,
How can i configure controlfile autobackup to tape ,
we have tivoli DP for oracle.
I have configured as below, but still disk is getting allocated.
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'SBT_TAPE' TO '%F';
Thanks,
Kumar.

Hi,
Try with this
CONFIGURE DEFAULT DEVICE TYPE TO SBT;

Similar Messages

  • Rman controlfile autobackup

    when we configure rman controlfiel autobackup on
    then whenever any structural change is there , control file's backup is taken automatically...
    but can you please tell me that after how much time this file is backed up and what are the parameters to change the time of backup...

    920273 wrote:
    when we configure rman controlfiel autobackup on
    then whenever any structural change is there , control file's backup is taken automatically...
    but can you please tell me that after how much time this file is backed up and what are the parameters to change the time of backup... I got to know from that from 11gR2 creation of automatic controlfile backup is deferred as compared to previous releases. This is to increase performance.
    So from 11gR2 onwards whenever there are multiple structure changes only then (after few minutes) controlfie autoback will take place. Unless like in previous release you had every controlfile backup created after every DDL command. But in 11gR2 its not. MUltiple DDL are batched and only 1 confile backup is created after few minutes.
    This is also possible then no information is written to alert.log for autoback file, but you have to check SID__m000_<OS_PID>.trc file after you made several structre changes to 11gR2 to make sure backup of confile took place
    Further ->RMAN CONTROLFILE AUTOBACKUP NOT CREATED DURING DB STRUCTURE CHANGE [ID 1068182.1]

  • RMAN-06497:  controlfile is not current, controlfile autobackup skipped

    Hi,
    I am doing backup of the standby database. However I encountered error "RMAN-06497: WARNING: controlfile is not current, controlfile autobackup skipped"
    Why is the control file not current and backup skipped? Please guide me.
    Regards,
    Eye GEe

    Hi,
    It is backed up.
    >
    SQL> select controlfile_type from v$database;
    CONTROL
    STANDBY
    SQL> disc
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> exit
    bash-3.00$ rman target /
    Recovery Manager: Release 10.2.0.1.0 - Production on Fri Aug 20 12:27:19 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: YHASHMI (DBID=1454390871, not open)
    RMAN> backup datafile 1 tag "standby_dat1";
    Starting backup at 20-AUG-10
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=152 devtype=DISK
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00001 name=/u/oracle/oradata/dyhashmi/system01.dbf
    channel ORA_DISK_1: starting piece 1 at 20-AUG-10
    channel ORA_DISK_1: finished piece 1 at 20-AUG-10
    piece handle=/u1/flash_recovery_area/DYHASHMI/backupset/2010_08_20/o1_mf_nnndf_STANDBY_DAT1_66w9vbc5_.bkp tag=STANDBY_DAT1 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:25
    Finished backup at 20-AUG-10
    Starting Control File and SPFILE Autobackup at 20-AUG-10
    piece handle=/u1/flash_recovery_area/DYHASHMI/autobackup/2010_08_20/o1_mf_s_727448768_66w9w3qr_.bkp comment=NONE
    Finished Control File and SPFILE Autobackup at 20-AUG-10
    Did you check the standby alert log?

  • Meaning of 'controlfile autobackup on' in rman ?

    Hello,
    i wanted to ask whats the use of "controlfile autobackup on" when using rman. The reason why i'm asking is, because even i leave the default setting "off", during executing "backup database" rman writes on the screen that it's including the controlfile in the backup.
    so whats the advantage of using the "autobackup on" setting ?
    kind regards

    One more cogent point for auto backup on will always get automized backup whenever you made any physical structural change in yours database ,whenver you make any physical structural changes in yours database it goes to be highlight in control file,auto backup on will take this new highlighted control file backup at the spot,needn't to take control file backup after any structural changes It will be backed up itself in yours FRA (Flash recovery area).
    Khurram

  • Restore controlfile from leagato tape backup

    I am using legato tool to perform rman tape backup.
    I use the following script on legato to get the controlfile backup.
    "backup current controlfile format '%d_%s_%p.ctrl'; "
    If I lost the controlfile how do i restore controlfile from the tape. Assume that the DB in nomount stage.

    Hi,
    backing up autobackup controlfiles to legato is possible. All you have to do is to configure autobackup accordingly. By default autobackup controlfiles will get written to disk.
    However i strongly recommend to use a rman backup catalog. This will save you a lot of time consuming trouble if you need to restore your database.
    The rman catalog database itself does not need any license and is rather small (5 GB on disk, 512 MB memory).
    Restoring the control file will be something like this:
    set controlfile autobackup format for device type sbt to '%F';
    restore controlfile from autobackup;
    Ronny Egner
    My Blog: http://blog.ronnyegner-consulting.de

  • What's the difference between "controlfile autobackup" and "snapshot contro

    Hi All,
    What's the difference between "controlfile autobackup" and "snapshot controlfile" in RMAN configure ? Both are controlfile backups, what the difference between the controlfiles they backup ? Why there are two of these options ?
    thanks

    RMAN creates a control file snapshot to perform catalog resync operations. Control file autobackup will automatically create a backup of the control file whenever there are database structure changes.

  • No controlfile autobackups in 10gR2. Bug?

    I'm using 10.2.0.4 enterprise edition and have no flash recovery area set up. In rman I have controlfile autobackup = on but I am not getting any controlfile backups when I make structural changes to the database.
    Here's a snipped version of my RMAN config.
    <tt>
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    </tt>
    Now I go to sqlplus to show that there is no FRA, and create a tablespace.
    <tt>
    SQL> show parameter recov
    NAME TYPE VALUE
    db_recovery_file_dest string
    db_recovery_file_dest_size big integer 0
    SQL> create tablespace dummy datafile '/export/home/oracle/dummy01.dbf' size 2m;
    Tablespace created.
    </tt>
    Now I check the dbs directory for backup controlfiles. None are created
    <tt>
    $ pwd
    /oracle2/app/oracle/product/10.2.0.4/dbs
    $ ls -l c-*
    c-*: No such file or directory
    So what am I doing wrong? This works fine in 10.1 and 9.2. Did something change in 10.2? Do I have to create a flash recovery area for controlfile autobackups to work in 10.2?

    Did you try to test it ?
    [oracle@lx01 ~]$ rman target /
    Recovery Manager: Release 10.2.0.4.0 - Production on Fri Mar 25 21:46:47 2011
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    connected to target database: DB102 (DBID=831971560)
    RMAN> show all;
    using target database control file instead of recovery catalog
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/tmp/%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    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 ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/10.2.0/EE/dbs/snapcf_DB102.f'; # default
    RMAN> exit
    Recovery Manager complete.
    [oracle@lx01 ~]$ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.4.0 - Production on Fri Mar 25 21:39:15 2011
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> host ls -al /tmp
    total 36
    drwxrwxrwt  6 root   root     4096 Mar 25 21:41 .
    drwxr-xr-x 30 root   root     4096 Mar 25 21:14 ..
    drwxrwxrwt  2 root   root     4096 Mar 25 21:16 .font-unix
    drwxrwxrwt  2 root   root     4096 Mar 25 21:14 .ICE-unix
    drwx------  2 root   root     4096 May 24  2010 keyring-RqLT3M
    drwx------  2 root   root     4096 Jan 20  2010 keyring-uxZ8jN
    srwxr-xr-x  1 root   root        0 May 24  2010 mapping-root
    -rw-r--r--  1 oracle oinstall    0 Mar  7 10:10 tes
    -rwsr-s--x  1 oracle oinstall    0 Mar  7 10:14 test
    SQL> create tablespace test datafile '/tmp/test.dbf' size 10m;
    Tablespace created.
    SQL> host ls -al /tmp
    total 17256
    drwxrwxrwt  6 root   root         4096 Mar 25 21:45 .
    drwxr-xr-x 30 root   root         4096 Mar 25 21:14 ..
    -rw-r-----  1 oracle oinstall  7110656 Mar 25 21:45 c-831971560-20110325-02
    drwxrwxrwt  2 root   root         4096 Mar 25 21:16 .font-unix
    drwxrwxrwt  2 root   root         4096 Mar 25 21:14 .ICE-unix
    drwx------  2 root   root         4096 May 24  2010 keyring-RqLT3M
    drwx------  2 root   root         4096 Jan 20  2010 keyring-uxZ8jN
    srwxr-xr-x  1 root   root            0 May 24  2010 mapping-root
    -rw-r--r--  1 oracle oinstall        0 Mar  7 10:10 tes
    -rwsr-s--x  1 oracle oinstall        0 Mar  7 10:14 test
    -rw-r-----  1 oracle oinstall 10493952 Mar 25 21:45 test.dbf
    SQL>and in instance alert log you have:
    [oracle@lx01 ~]$ tail -f /u01/app/oracle/admin/DB102/bdump/alert_DB102.log
    Starting background process QMNC
    Completed: alter database open
    QMNC started with pid=18, OS id=6198
    Fri Mar 25 21:45:29 2011
    create tablespace test datafile '/tmp/test.dbf' size 10m
    Fri Mar 25 21:45:30 2011
    Starting control autobackup
    Control autobackup written to DISK device
            handle '/tmp/c-831971560-20110325-02'
    Completed: create tablespace test datafile '/tmp/test.dbf' size 10mEdited by: P. Forstmann on 25 mars 2011 21:49

  • Default device type configuration of controlfile autobackup ?

    1. configure controlfile autobackup format for device type disk to 'E:\oracle\oradata\oid\bk\%F';
    2. backup current controlfile;
    rman first use default device type ORA_DISK_1 and backup the file at "E:\ORACLE\ORA92\DATABASE\0AEU5OQL_1_1" (windows 2000)
    then backup file at "E:\ORACLE\ORADATA\OID\BK\C-804947643-20030807-00"
    when i backup database , rman can backup the controlfile at "E:\ORACLE\ORADATA\OID\BK\"
    when i backup controlfile manully , why rman first backup it at the default device ??
    thanks:)

    One more cogent point for auto backup on will always get automized backup whenever you made any physical structural change in yours database ,whenver you make any physical structural changes in yours database it goes to be highlight in control file,auto backup on will take this new highlighted control file backup at the spot,needn't to take control file backup after any structural changes It will be backed up itself in yours FRA (Flash recovery area).
    Khurram

  • Turn CONTROLFILE AUTOBACKUP ON;

    Hi everyone,
    I turned cotrolfile autobackup on... but I cannot find any controlfile backup format like '%F.bck' in "/backup/db/backup/RMAN"?
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backup/db/backup/RMAN/%F.bck';
    Please advice,
    Amy

    Have you run a BACKUP DATABASE since after setting the controlfile autobackup on ?
    The autobackup is created when a database backup is executed or a change to the database physical structure is executed (eg additional of a tablespace and/or datafile).

  • Regarding Controlfile Autobackups

    Hi Expert !!
    From Oracle Documentation (Oracle Database Backup and Recovery Advanced Users's Guide 10g Release 2):
    Page: 2-29
    "By default, control file autobackups are turned off, and no control file autobackups are performed. If CONFIGURE CONTROLFILE AUTOBACKUP is ON, then RMAN
    automatically backs up the control file and the current server parameter file (if used to start up the database) in one of two circumstances: when a successful backup must be recorded in the RMAN repository, and when a structural change to the database affects the contents of the control file which therefore must be backed up."
    Page 2-30
    "The control file is also automatically backed up after database structural changes such as adding a new tablespace, altering the state of a tablespace or datafile (for example, bringing it online), adding a new online redo log, renaming a file, adding a new redo thread, and so on. Losing this information would compromise your ability to recover the database. This backup is performed by the server process itself, rather than one of the RMAN channels. This type of autobackup, unlike autobackups that occur after a successful backup, is always created on disk."
    I have configured my RMAN enviroment as below (truncated the output to only non-default values for clarity):
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u10/test%F';According to the documentation, when I create or drop a tablespace, server process should backup controlfile to "/u10" location but its not happening in my case. Neither a backup piece is created in $ORACLE_HOME/dbs location.
    Could anybody tell me where am I making a mistake?
    Thanks once again

    Thanks for the reply.
    This kind of autobackup is done successfully?No, I am not doing any RMAN backup. I am simply creating a new tablespace (from SQL*Plus), so the server process should automatically backup my controlfile.
    Am I not correct?

  • Configure controlfile autobackup

    Hi.
    Trying to sort an RMAN issue for a local company and found that someone has set configure controlfile autobackup format for device type disk to 'D:\stupid_path\CF_%F' no kidding; no wonder these guys are having issues. How do I get it back to it's default value, or find out what the default value was.
    Rob.
    Edited by: Rob,B on Oct 14, 2011 2:21 PM
    Edited by: Rob,B on Oct 14, 2011 2:29 PM

    Sorted it
    configure controlfile autobackup format for device type disk clear;
    Now to have a quiet word in someone's ear before I chop his fingers off!
    Rob.

  • Duplicating controlfile autobackup

    hello
    i can use following command in RMAN for duplicating backup set
    BACKUP DEVICE TYPE DISK COPIES 2 DATAFILE 7 FORMAT '/tmp/%U','/oradata/%U'
    but how i can duplicate controlfile autobackup?
    thanks

    Autobackup of controlfiles are never multiplexed.

  • RMAN restore from monthly tape backup

    hello!
    i have one more question regarding rman and tape backups: we don't want to store the rman recovery information in a separate database, so all the information is in the control files. but for revision we need to save one full backup per month. in addition to the databases we need files from different servers etc. on this tape-backups. so we decided to keep one tape set per month in a safe place -> is it possible to restore a rman backup from this tapes, e.g. 3 years afterwards (on a different machine)? thanks.
    bye,
    christian

    Hi christian,
    Can you give more info?
    As I understand it you do not want to use a recovery catalog ("we don't want to store the rman recovery information in a separate database").
    But if you store the rman backup info in the controlfile only you will limit the amount of rman information to your init parameter control_file_record_keep_time.
    Do you make rman backups to tape directly using a MML or do you make rman backups to disk which than get copied to tape (OS backup)?
    Regards,
    Tycho

  • CONTROLFILE AUTOBACKUP

    Dear All,
    Please comment the scenario below.
    I have the following configuration:
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'd:\oracke\backup\%F';
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 30 DAYS;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    Then I perform:
    BACKUP DATABASE;
    The automatic backup of the controlfile is created after creating the database backup. It's Ok!
    BUT!!!
    If I run command
    REPORT OBSOLETE;
    It shows me that recent autobackuo of the control file is obsolete!!! And corespondenly
    DELETE OBSOLETE;
    delets this controlfile autobackup. It seems wrong for me or I am missing something!
    Since if configure autobackup controlfile is on, BACKUP DATABASE as default does not perform controlfile backup, then if I run DELETE OBSOLETE after perfoming fresh backup to purge unnecessary backups and to manage disk space and immeadiatly after this real controlfile crashes, I won't be able to recover.
    Thank you in advance for any explanation why recent controlfile autobackup is reported is obsolete.
    Regards

    Dear Artem,
    Well there surely seems to be a problem with Oracle 9i R2 and the Rention Policy based on Recovery WIndow. As far as 9i R1 was concerned I have never had this problem.
    But now in 9i R2 just delete obsolete and COFIGURE the parameter again for Retention policy, it works fine as it should and does not mark the backup as obsolete!!!!!

  • RMAN Backup Restore from tape

    Hello Gurus
    We have lvl0 RMAN database backup restored from tape but due to some reasons we could not apply recovery on it. On checking the information in controlfile, it identified only the system file and no other file. So, we recreated the controlfile and decided to recover using backup controlfile option (until cancel or until change or until time). However, to my surprise, when I listed the checkpointchange# and checkpoint_time columns of v$datafile_header, I found the difference in timestamps ranging 24 hrs -- which menat we had to apply 24 hrs of archiving to bring all dbfs to a consistent state (before it allowed us to open the db) -- so far so good, it worked that way.
    My question is that, while I trigger a lvl0 RMAN backup at say 4PM on 27th July and it finishes on 4PM on 28th July (as I am directly pushing around 1 TB data to tapes) -- what is the consistency timestamp of this backup. In other words, is this backup available for a restore of 4PM 27th July? Or is it available only for a restore of 4PM 28th July and later ...?
    Isn't it that RMAN works at block level and when I fire a backup it should give me all the dbf's of that timestamp..?
    Appreciate your inputs/comments.

    When taking a online backup with RMAN, the datafiles backup is always inconsistent because it needs the archived redo logs generated during the backup to be consistent: http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/intro005.htm#sthref70.
    A full online backup can only be used to restore the database to a point in time starting after backup end: if a backup starts at 4PM on 27th July and it finishes on 4PM on 28th July you can use it to restore the database to a point in time after 28-JUL 4PM.

Maybe you are looking for