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)"

Similar Messages

  • Is it possible to take RMAN Backup

    Can anyone tell me whether we can take Rman Backup in Oracle 10g Express Editon.
    Thanks in advance.

    hi,
    Thanks for the reply.
    I tried to take a rman backup and got this error:
    Starting backup at 14-APR-08
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 04/14/2008 17:19:13
    RMAN-03014: implicit resync of recovery catalog failed
    RMAN-06171: not connected to target database
    When tried to connect to target database this is what i got.
    RMAN> connect target /;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    ORA-01031: insufficient privileges
    Please help. Thanks in advance.

  • Related to Unused compression in RMAN backup for 10.2.0.4 database

    Hi
    I recently read through one of the document related to Unused compression in RMAN backup for 10.2.0.4 database. According to this
    Unused Block Compression is done, if all of the following conditions apply:
    + The COMPATIBLE initialization parameter is set to 10.2
    + There are currently no guaranteed restore points defined for the database
    + The datafile is locally managed
    + The datafile is being backed up to a backup set as part of a full backup or a level 0 incremental backup
    + The backup set is being created on disk.
    I have two queries
    1) What is meant by "uaranteed restore points defined for the database"
    2) If backup is being directly taken to tape, this feature would not be used
    Rgds
    Harvinder

    1. Normal and Garanteed Restore Points
    2. No

  • Who takes RMAN backup?

    Hi all,
    I have an oracle 9.2.0.7 database instance on SLES9 sp3 64bit. And RMAN backup is taken every day by one who is I dont know although I changed sys and system passwords. It seems that the backup is taken on local machine, doesn't it? I looked at v$session_longops view then I saw backup is taken SYS user. Anyone doesn't have RECOVERY_CATALOG_OWNER role. I looked at crontab of oracle and root users, then I looked at dba_jobs. But I dont see anything about rman backup anywhere. I wonder who takes RMAN backup on my system?
    Regards
    İlke ALTINPULLUK

    hi,
    I sent one of my audit files. Then I looked at baandb machine's crontab but I didnt find anything. Then I looked at dba_jobs on baandb. I didnt find anything.
    my audit files like follow:
    Audit file /opt/oracle/oracle/product/9iR2/rdbms/audit/ora_27666.aud
    Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.7.0 - Production
    ORACLE_HOME = /opt/oracle/oracle/product/9iR2
    System name:    Linux
    Node name:      baandb
    Release:        2.6.5-7.244-smp
    Version:        #1 SMP Mon Dec 12 18:32:25 UTC 2005
    Machine:        x86_64
    Instance name: gcam
    Redo thread mounted by this instance: 1
    Oracle process number: 22
    Unix process pid: 27666, image: oracle@baandb (TNS V1-V3)
    Thu Jan 13 01:05:50 2011
    ACTION : 'CONNECT'
    DATABASE USER: '/'
    PRIVILEGE : SYSDBA
    CLIENT USER: oracle
    CLIENT TERMINAL:
    STATUS: 0
    Dear EJR; I didnt understand what you mean?
    Edited by: ilke_altinpulluk on 20.Oca.2011 03:51

  • Rman backup for rac by oem

    Br,Hi,
    DB : 10.2 and 11.2
    How to schedule rman backup for cluster  in OEM?How to schedule without OEM?
    If one of the node failed,Is it possible to  run in another node automatcially?
    How to schduel export/datadump in rac by oem?
    Br,
    Raj

    I Am not using oem, without oem you should write several scripts....
    for linux hot backup(archive log enabled):
    bck.sh
    set ORACLE_SID=mydb
    set ORACLE_HOME=....
    rman target sys/.... @'.../bck.ora'
    bck.ora
    run
    BACKUP AS COMPRESSED BACKUPSET FORMAT "..../db_%d_%T_%s_%p_%U.bak" INCREMENTAL LEVEL 0 DATABASE PLUS ARCHIVELOG DELETE INPUT FORMAT "...../archivelogBackup/arch_%d_%T_%s_%p_%U.bak";
    delete force noprompt obsolete redundancy 3;
    backup FORMAT '..../ctl_%d_%T_%s_%p_%U' current controlfile spfile;
    And create executable job which instance_id=1 and will run your bck.sh script and create schedule for this job, when first node will down you must change instance_id attribute to second one, and be sure that all backup paths exists in all nodes.
    Ramin Hashimzade

  • Like to take rman backup files into some other machine

    Dear all
    I like to take Rman backup into some other machine rather than its default storage location $oracle_home/dbs in to some other machine..
    While i ran database backup in rman it stores the file sets into default location $ORACLE_HOME/dbs ... I relocated in to some other drivers in same machine also.. I got work ... But due to space issue i would like to take backup into some other machine so its possible ? how to configure it...
    Regards
    Gopinath

    GopiKrishna wrote:
    Dear all
    I like to take Rman backup into some other machine rather than its default storage location $oracle_home/dbs in to some other machine..
    While i ran database backup in rman it stores the file sets into default location $ORACLE_HOME/dbs ... I relocated in to some other drivers in same machine also.. I got work ... But due to space issue i would like to take backup into some other machine so its possible ? how to configure it...
    Regards
    GopinathYou need to mount the second machine and take backup to that mount point
    Kamran Agayev A.
    Oracle ACE
    My Oracle Video Tutorials - http://kamranagayev.com/oracle-video-tutorials/
    My ebook - http://kamranagayev.com/2011/10/19/step-by-step-oracle-installation-all-in-one-e-book/

  • RMAN backup for two databases with similar DBID

    We have two databases with SID 'uiivc' and 'uiivc1' running from one of the HP Unix 11.11 PA-RISC server. I did configured RMAN backup for both databases. But it is found that both databases have same DBID [connected to target database: UIIVC (DBID=3005194057) for UIIVC & connected to target database: UIIVC1 (DBID=3005194057) for UIIVC1] and backup configured via crontab seen running fine with full backup at weekend and archivelog backup at daily for both databases. Now my query is that will it create any issues at time of restoration since both databases have similar DBID? Does RMAN uses DBID to distinguish databases?
    Kindly help to clarifiy
    Regards
    Manoj Thakkan
    [email protected]

    Hi Tycho,
    I configured RMAN to store controlfile backups in different folders on each database.
    UIIVC database:
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/hot_backups/rmanbkp/uiivc/cf%F';
    UIIVC1 database:
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/hot_backups/rmanbkp/uiivc1/cf%F';
    Server output:
    uii-79:uiivc1 > ls -lrt /hot_backups/rmanbkp/uiivc
    total 43904816
    -rw-r----- 1 oracle dba 21144928256 Jul 15 10:58 8rkk68p5_1_1
    -rw-r----- 1 oracle dba 287110144 Jul 15 13:41 8tkk6sfv_1_1
    -rw-r----- 1 oracle dba 862700544 Jul 16 08:00 90kk8sel_1_1
    -rw-r----- 1 oracle dba 152350720 Jul 16 08:09 92kk8tgg_1_1
    -rw-r----- 1 oracle dba 32145408 Jul 16 08:09 cfc-3005194057-20090716-01
    uii-79:uiivc1 > ls -lrt /hot_backups/rmanbkp/uiivc1
    total 24186112
    -rw-r----- 1 oracle dba 6373965824 Jul 13 13:10 83kk1ftf_1_1
    -rw-r----- 1 oracle dba 784803840 Jul 13 13:46 85kk1j5e_1_1
    -rw-r----- 1 oracle dba 1022674944 Jul 13 23:07 87kk2kjs_1_1
    -rw-r----- 1 oracle dba 1814230016 Jul 14 23:46 89kk591i_1_1
    -rw-r----- 1 oracle dba 1211042816 Jul 15 23:06 8bkk7tc0_1_1
    -rw-r----- 1 oracle dba 1165975552 Jul 15 23:10 8ckk7tnr_1_1
    -rw-r----- 1 oracle dba 10534912 Jul 15 23:10 cfc-3005194057-20090715-00
    And I saw backups are placing in the respective folders too. So with these settings, can I safely assume there is no issues with RMAN backup and restore having similar DBID for two databases running on same server?
    Regards
    Manoj Thakkan

  • Oracle 12c - rman backup for all PDB

    Do we have any ready commands that will take backup for all the attached PDB in oracle 12c (container managed db)?

    To backup your entire container DB, connect to your CDB & issue a full backup:
    rman> backup database;
    Backing up your pdb, either connect to the target itself & issue a backup or
    rman> backup pluggable database porcl1;
    Backing up only the root, connect to the target &
    rman> backup database root;
    always condensed nicely here: ORACLE-BASE - Multitenant : Backup and Recovery of a Container Database (CDB) and a Pluggable Database (PDB) in Oracle D…

  • RMAN Backups for archive logs

    Hi,
    We are taking daily backups using BCV's and archive backup to tapes using RMAN. Please note we are using RMAN only for archive backups.
    We are changing our backup strategy and I need below information on RMAN.
    1) Is there any benefit I will be getting if I use RMAN for archive backups ( like finding the courruption in the logs,health of the archive) etc? Any reference note for this would be great.
    2) If I use multiplexing of archives using LOG_ ARCHIVE_DEST & LOG_ ARCHIVE_DUPLEX_DEST with this I want RMAN to take the backup of archives and delete from one location only ( Say from LOG_ ARCHIVE_DEST ). And I want the archives in LOG_ ARCHIVE_DUPLEX_DEST to maintain on my own ( Like different purge strategy to zip and keep for 7 days in this location.
    If I use command "backup archivelog all delete input" it is picking and removing radomly from either of these locations. Is there a way I can configure RMAN so that it will not touch my secondary locaton?
    Thanks in advance.
    Thanks,
    Varma

    >
    1) Is there any benefit I will be getting if I use RMAN for archive backups ( like finding the courruption in the logs,health of the archive) etc? Any reference note for this would be great.
    You can use validate backupset command to check the health of backup.
    2) If I use multiplexing of archives using LOG_ ARCHIVE_DEST & LOG_ ARCHIVE_DUPLEX_DEST with this I want RMAN to take the backup of archives and delete from one location only ( Say from LOG_ ARCHIVE_DEST ). And I want the archives in LOG_ ARCHIVE_DUPLEX_DEST to maintain on my own ( Like different purge strategy to zip and keep for 7 days in this location.
    Yes, you can do that.
    If I use command "backup archivelog all delete input" it is picking and removing radomly from either of these locations. Is there a way I can configure RMAN so that it will not touch my secondary locaton?
    You can allocate channels for that.
    regards

  • Rman backup for tablespaces

    Dear,
    i want to use rman to backup the tablespaces. I have write a pram file as below.
    owner=database
    file=c:/backup/database.dmp
    log=database.log
    buffer=81920
    How can i run this file from rman
    ManyThanks

    It appears that you have created a parfile for the export utility and NOT for RMAN. The basic command to backup a tablespace in RMAN is:
    RMAN> BACKUP TABLESPACE USERS;If you are looking to actually export a tablespace, you can save the following to a file called user_parfile.txt
    userid=system
    file=d:\user_exp.dmp
    log=d:\user_exp.log
    tablespaces=users
    buffer=81920and execute as:
    exp parfile=d:\user_parfile.txt

  • Rman backup for oracle11g database

    Hi,
    I want to take the rman backup of 11.2.0.1.0 database, but my catalog database is 10.2.0.1. So Is it possible to take it.
    Please suggest me.
    My target database : 11.2.0.1.0
    OS: windows 2003 R2 server
    My catalog database: 10.2.0.1
    OS: windows 2003 R2 server

    here you go : http://www.comp.dit.ie/btierney/oracle11gdoc/backup.111/b28273/compat.htm

  • How to take RMAN backup through a single (default) channel

    Sir,
    In an interview I was asked a question that how can I allocate a single channel to multiple databases to take simultaneous backup. I was unanswer.
    Pl. tell me if it is possible what will be the query with an example.
    Regards
    Neeraj

    No it's not at all possible to take backup of multiple database through the manually allocated channel.
    Allocating the channel manually is only possible while running the commands in batch mode
    eg. run {
    allocate channel ch1 type disk format='/backup1/RMANBACKUP/PROD521_%s_%p';
    allocate channel ch2 type disk format='/backup1/RMANBACKUP/PROD521_%s_%p';
    backup database setsize=12582912;
    release channel ch1;
    release channel ch2;
    And you can connect through single rman prompt to only one target database not more than that. So at any point of time you connect to only one database you can user channels to backup that database only.
    connected to recovery catalog database
    RMAN> CONN TARGET SYS/ORACLE@RMAN
    RMAN> CONNECT TARGET SYS/ORACLE@RMAN
    connected to target database: RMAN (DBID=1528877161)
    RMAN> CONNECT TARGET SYS/ORACLE@CLS
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-06167: already connected
    Edited by: sac on Sep 4, 2008 12:59 PM

  • 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?

  • 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

  • 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

Maybe you are looking for

  • I how can I be sure my contacts from iCloud have been saved to my iPad 4th generation?

    I had two iPads, a work iPad an a home iPad. Now I only have my home iPad but my work iPad is using up my iCloud storage too. I want to delete my work iPad from iCloud but I don't want to lose my contacts that are on my iPad. If I delete the work iPa

  • Error While Running Depreciation in Oracle Fixed Asset

    We have uploaded assets in Oracle Fixed Asset from old system successfully. Now we were to Run depreciation for the first time and the first process Generate Accounts runs with error, APP-OFA-48400: ORA-06550: line 1, column 7: PLS-00306: wrong numbe

  • How to customize the Selection Screen of  Logical DB (PNP)?

    Hi All, In LDB selection screen PERNR field is not given in ranges and also Personal area and subarea are given in single selection field. I need to customize this for my report. Plz guide me reg this. Thx in advance. Albert

  • Failover to loading classes from codebase?

    The Java Plug-In fails over to loading class files from codebase when the jars specified do not contain the class in question. I need this same behavior from Java Web Start -- in part because I'd like to convert some applets and in part because due t

  • Hey everyone it's not only Quicktime , it's Safari also.

    Like others I have been having nothing but trouble with video loading on some web sites since updating Quicktime to 7.2 . I tried the same sites with 2 other browsers , same videos and even others so as not to say " well they were in the cache " and