RAC backup with RMAN...put backup on diff file system

hello all,
I have not work a lot on SAN storages. One of my client has implementated 9i RAC. Now he wants to Add two more disk in SAN storage (Implemented RAID). So sun engineers will do this but before this i have to take full database backup(80GB database) throught RMAN. The problem or confussion from my side is that the database is on Sun SAN storage and i have to put the Full database backup taken by RMAN on local hard disk on the node (node 1 of rac). Is the possible since the SAN storage is RAW file system (as i guess) and i am putting the backup on local system.
Please help me out ...i have do this in couple of days..
Please tell me prosedure too to how to change the path of backup in RMAN if above is possible..
Its urgent
Thanks and Regards!!
Pankaj Rawat

Two things:
1) You will not have any problems taking RMAN backup for RAC and raw devices. None of them make your backups any different.
2) Based on your post, you are not very confident in your RMAN skills and this is your real problem. What is a must for you - take the backup, copy it on another machine and try to restore from it. Note, that you should NOT look at your original database during restore or take any files from there (even init.ora or spfile). If you don't have this done and don't have exact procedure - consider your backup as useless. This is a conservative approach but believe me - it's wort it when you SAN engineers screw up your storage. And they warned you. ;-)

Similar Messages

  • Backup RAC with RMAN..(on diff file system)..URGENT..HELP NEEDED

    hello all,
    I have not work a lot on SAN storages. One of my client has implementated 9i RAC. Now he wants to Add two more disk in SAN storage (Implemented RAID). So sun engineers will do this but before this i have to take full database backup(80GB database) throught RMAN. The problem or confussion from my side is that the database is on Sun SAN storage and i have to put the Full database backup taken by RMAN on local hard disk on the node (node 1 of rac). Is the possible since the SAN storage is RAW file system (as i guess) and i am putting the backup on local system.
    Please help me out ...i have do this in couple of days..
    Please tell me prosedure too to how to change the path of backup in RMAN if above is possible..
    Its urgent
    Thanks and Regards!!
    Pankaj Rawat

    You best bet is to get your san folks to give you some disk space for a mount point on the last node in the cluster. Once they assign the lun (not raw) have your SAs make it a mounted file system such as /dbbackup.
    Run all of your rman backups on your last node on the cluster. The only draw back is, if that node dies, then you will not be able to run backups. but your backups would be safe as they are on the san.
    Only way to have a mounted file system on all nodes in your cluser is to have some sort of third party file system cluster ware .. such as veritas or OCFS2 - then all nodes could see it.
    I feel the first node in the cluster (the primary node) is the most busy out of the rest .. so thats why the suggestion of running rman on the last node in the cluster.

  • Backup of application file system is also required ?

    Hi,
    Basic question.
    Suppose database is creashed and we have restored it with cold backup taken 2 days back.
    How do Oracle Application file system will be in sync with database?
    We need to backup the application file system also ?
    Thanks,
    Kishore

    Hi,
    It's also worth mentioning that your concurrent logs in the application file system will be out of sync with the records in the database.
    If you restore the database from a backup taken a couple of days ago then the records in FND_CONCURRENT_REQUESTS will be a couple of days old, but the users will have been running requests since the backup was made and creating files in $APPLCSF/log/<context>. The danger is that when you restart the environment the users start to run concurrent requests and the output of the request will be appended to the end of the existing logfile.
    So best to find the maximum request number in the table and remove any output files newer than that to avoid confusion.
    HTH
    J

  • SAP Backups ; R/3 & file system

    Hello,
    What is the different between SAP R/3 backup and SAP File System backup?
    what are the files that backing up in each cases
    To which back up does the oracle DB fit in. (Data Files,Control files, Redo Logs, SPFILE)
    To which back up does the O/S files fit in. (here Suse O/S)
    thankx

    There is not any concept of SAP file system backup.....it means OS level file system backup.
    SAP R/3 backup can backed up all the sapdata(database) files, controlfiles as well as redologs.
    OS filesystem level backup can backed up all the files based on your requirement and rotation.
    Both backups you can use for restorations.....SAP R/3 backup will take all the responsibilities in backup as well as in restoration.
    but in OS level backup first you must know which files need to be backed up and what exactly the all directoruies contains.
    Regards,
    Nick Loy

  • Backup of application file system in oracle apps 11i

    what are the ways to take the backup of application file system in oracle application 11i ?
    Can anyone suggest regarding this ?
    Application :11.5.10.2
    OS : RHEL 3.0

    Check the following threads:
    Apps Backup
    Re: Apps Backup
    Backup Oracle Applications (11.5.10.2)
    Re: Backup Oracle Applications (11.5.10.2)
    Best Backup Strategy
    Re: Best Backup Strategy
    System Backup
    system backup
    Reommended backup and recovery startegy for EBS
    Re: Reommended backup and recovery startegy for EBS

  • Problem with DMGs and error: "No Mountable File Systems"

    Problem with DMGs and error: "No Mountable File Systems"
    The files are not corrupt. The problem is occurring with all DMGs that are apparently formatted in MS-DOS FAT16. No the file will not mount with Disk utility or any other disk mounter programs I have found.
    This is now the second time this occurred and now effects my MBP and my iMac. First time i spent days with Apple support and the only solution was ultimately back up the data, reformat the HD, start over from scratch and reload everything. That lasted about a month before the problem resurfaced and is now an issue on both iMac and MBP.
    I tried to identify all the programs I installed immediately before the error, as I am convinced it is the result of a software conflict.
    Recent programs includes:
    1) upgrading from Parallels 5.5 to 6.0 on both machines.
    2) using an HP secure II usb drive and setting up a secure disk.
    3) installing new itunes 10
    4) new update to Flip For Mac.
    The files affected are downloaded dmgs, including personal brain and google earth, both which are formatted in FAT16.
    Any help or thoughts? Apple has now spent hours trying and they say i now have to reformat and wipe and start over. That is unacceptable and based on pasted experience the problem is likely to repeat itself. having to wipe and rebuild a HD ever month is not an solution. i need to fid the root problem.
    In the meantime, anyone got a real solution on how to extract the data for a DMG using a different method?
    Message was edited by: remaia

    Where you able to find the solution, i am having the same problem, all was fine till i install some programs only same one i saw did we both did was flip4mac i uninstalled it but the problem is still there, i also restored and erased the hardrive but im not up to doing that all over again. If you found anything out let me know i would greatly appreciate it

  • RMAN to Disk (shared mounted file system) then secure backup to Tape

    Hi
    This is a little away from the norm and I am new to Oracle secure Backup.
    We have several databases on physically separate servers, all backup to a central disk (a ZFS shared file-system).
    We have a media server also with the same mounted file-system so it can see all of the RMAN backups there.
    Secure backup is installed on the media server and is configured as such.
    The question I have is I need to backup the file system to tape where all the RMAN backups live, I have configured the data set but I get file permission errors for each of the RMAN backup files in the directory.
    I have tried to change these permissions but to no avail (assuming it is just a read write access change that is needed - but this may be a problem in the long run). What is the general process for backup of already created RMAN backups sat in a shared area? I know its not the norm to do to disk then to tape backups but can this be done? I would have installed Secure backup client on each server and managed the whole backup through secure backup but this is not possible I must do the to tape from the file system, any advise and guidance on this would be much appreciated.
    Kind regards
    Vicky
    Edited by: user10090654 on Oct 4, 2011 4:50 AM

    You can easily accomplish a very streamlined D2D2T strategy! RMAN backup to disk...then backup that disk to tape via RMAN and OSB. Upon restore, RMAN will restore from best media disk or tape based on where files are located.
    Donna

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

  • ORA-19602 during backup of a RAC database with RMAN

    Dear All,
    We have an Oracle 10g database on a 2 nodes. This database is running in noarchivelog mode. While doing an offline backup of this database, we encountered ora-19602 errors. See below:
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:55
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 03/30/2009 09:56:10
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG modeBelow were the steps that we followed:
    1. We stopped both instances using "srvctl stop instance -d test -i test1,test2"
    2. We then "rman target /"
    3. In RMAN, we "startup mount"
    4. In RMAN, we "backup database;"
    5. RMAN failed with the above errors
    Can someone advice what went wrong? Thanks!

    Hi..
    1. We stopped both instances using "srvctl stop instance -d test -i test1,test2"
    2. export oracle_sid=sid
    3. We then "rman target /"
    4. In RMAN, we "startup mount"
    5. In RMAN, we "backup database;"
    Changed step 2.
    Also, from sqlplus can you check the
    select name,open_mode from v$database;
    select STATUS from v$instance;
    Anand

  • Problem with RBDMIDOC in executing for diff logical systems

    Hi ALL,
    We are using message type HRMD_A and we have configured two logical systems using that message.So when we execute RBDMIDOC to generate idoc for change pointers  it triggers idocs to both the logical system which we dont want.Is there any other program apart PFAL which does the same job of RBDMIDOC and we can give logical system as input parameter
    Thanks
    Bala Duvvuri

    Vijay,
    we cannot have the scenario which I mentioned unless we develop a custom program from scratch that accepts logical system as input parameter
    Thanks
    Bala Duvvuri

  • ASM RMAN backup to File System

    Hi all,
    I have a rman backup (datafile and controlfile) which was took in an ASM instance (not a RAC) ORACLE 11.2.0.2 in a Linux server, now I want restore the backup in a new database in windows/Linux OS using general File System storage (single instance rdbms) instead of ASM.
    Is this possible?
    Can I restrore an ASM rman backup in a file system storage mechanisim in a new server?
    Kindly clarify my question.
    Thanks in Advance..
    Nonuday

    Nonuday wrote:
    Hi Levi,
    Thanks for your invaluable script and blog.
    can you clarify me on this query:
    I have a RMAN backup taken from ASM and the backup is database and controlf file backup which contains datafiles and controlfiles.
    Now I need to restore this on my system and here I dont use ASM or archive log, I use single instance in no archive log mode database.
    I have restored the control file from the RMAN controfile backup.
    Before restoring the control file I have checked the orginal pfile of the backup database which had parameters like
    'db_create_file_dest',
    'db_create_online_log_dest',
    'db_recovery_file_dest_size',
    'db_recovery_dest',
    'log_archive_dest'.
    Since I am not gng to create a DB in no archive log mode, I didnt use any of the above parameters and created a database.
    Now my question is:
    If i restore the database and the datafile will get restored and after renaming all the logfiles, database will be opened.
    I want to know whether this method is correct or wrong and will the database work as it was working previously. Or do i need create the db_file_recovery and other parameters also for this database.About Parameter:
    All these parameters should reflect your current environment any reference to the old environment must be modified.
    About Filesystem used:
    Does not matter what Filesystem you are using the File (datafile/redolog/controlfile/archivelog/backuppiece) are created on Binary Format which depend on Platform only. So, The same binary file ( e.g datafile) have same format and content on raw device, ASM, ext3, ext2, and so on. So, to database it's only a location where file are stored, but the file are the same. ASM has a different architecture from Regular Filesystem and need be managed in a different manner (i.e using RMAN).
    About Database:
    Since your database files are the same even using different filesystem what you need is rename your datafiles/redofiles on controlfile during restore, the redo files will be recreated.
    So, does not matter if you database are noarchivelog or archivelog, the same way which you will do a restore on ASM is the same way to restore on Regular Filesystem. (it's only about renaming database file on controlfile during restore)
    On blog the post "How Migrate All Files on ASM to Non-ASM (Unix/Linux)" is about move the file from filesystem to another. But you can modify the script used to restore purposes;
    ## set newname tell to RMAN where file will be restored and keep this files location on memory buffer
    RMAN> set newname for datafile 1 to <location>;
    ### swich get list of files from memory buffer (rman) and rename on controlfile the files already restored.
    RMAN>switch datafile/tempfile all ;With database mounted use this script below:
    I just commented three lines that are unnecessary in your case.
    SET serveroutput ON;
    DECLARE
      vcount  NUMBER:=0;
      vfname VARCHAR2(1024);
      CURSOR df
      IS
        SELECT file#,
          rtrim(REPLACE(name,'+DG_DATA/drop/datafile/','/u01/app/oracle/oradata/drop/'),'.0123456789') AS name
        FROM v$datafile;
      CURSOR tp
      IS
        SELECT file#,
          rtrim(REPLACE(name,'+DG_DATA/drop/tempfile/','/u01/app/oracle/oradata/drop/'),'.0123456789') AS name
        FROM v$tempfile;
    BEGIN
    --  dbms_output.put_line('CONFIGURE CONTROLFILE AUTOBACKUP ON;'); ### commented
      FOR dfrec IN df
      LOOP
        IF dfrec.name  != vfname THEN
          vcount      :=1;
          vfname     := dfrec.name;
        ELSE
          vcount := vcount+1;
          vfname:= dfrec.name;
        END IF;
      --  dbms_output.put_line('backup as copy datafile ' || dfrec.file# ||' format  "'||dfrec.name ||vcount||'.dbf";');  ### commented
      END LOOP;
      dbms_output.put_line('run');
      dbms_output.put_line('{');
      FOR dfrec IN df
      LOOP
        IF dfrec.name  != vfname THEN
          vcount      :=1;
          vfname     := dfrec.name;
        ELSE
          vcount := vcount+1;
          vfname:= dfrec.name;
        END IF;
        dbms_output.put_line('set newname for datafile ' || dfrec.file# ||'  to  '''||dfrec.name ||vcount||'.dbf'' ;');
      END LOOP;
      FOR tprec IN tp
      LOOP
        IF tprec.name  !=  vfname THEN
          vcount      :=1;
          vfname     := tprec.name;
        ELSE
          vcount := vcount+1;
          vfname:= tprec.name;
        END IF;
        dbms_output.put_line('set newname for tempfile ' || tprec.file# ||'  to  '''||tprec.name ||vcount||'.dbf'' ;');
        END LOOP;
          dbms_output.put_line('restore database;');
        dbms_output.put_line('switch tempfile all;');
        dbms_output.put_line('switch datafile all;');
        dbms_output.put_line('recover database;');
        dbms_output.put_line('}');
    ---   dbms_output.put_line('alter database open;');  ### comented because you need rename your redologs on controlfile before open database
        dbms_output.put_line('exit');
    END;
    /After restore you must rename your redologs on controlfile from old location to new location:
    e.g
    ##  use this query to get current location of redolog
    SQL>  select group#,member from v$logfile order by 1;
    ## and change from <old_location> to <new_location>
    SQL > ALTER DATABASE
      RENAME FILE '+DG_TSM_DATA/tsm/onlinelog/group_3.263.720532229' 
               TO  '/u01/app/oracle/oradata/logs/log3a.rdo'  When you change all redolog on controlfile issue command below:
    SQL> alter database open resetlogs;PS: Always track database in real time using alert log file of database.
    HTH,
    Levi Pereira

  • Recover with RMAN

    Hi Experts,
    I have a question
    i have a backup strategy with rman that create a data file copy and some backupset for other next days
    i can restore and recover my database until last exist ARCHIVE LOG without any problem.
    now i want to know how can i recover database again until last transaction in redo log if i had db redo log file???
    can rman recover from redo log until last transaction register in redolog??
    if yes how can i do this?
    Thanks
    Best Regards

    Hi,
    1) I think with 3 kind of backup file i have my DB until last transaction that save in online redolog file. is it true?
    suppose that we restore database from full backup.
    so we have a DB from time full backup time without transactions in archivelogs and redolog file.
    now we want recover database until last transaction.we can use two command for this goal:
    a. RECOVER DATABASE UNTIL SEQUENCE [last archivelog sequence# + 1];
    this command complete successfully and we can open database with resetlogs. but data is until last archive log so u don't have transaction in redolog file.
    b. RECOVER DATABASE;
    this command always complete with error that says sequence number [last archivelog sequence# + 1 ] not found.
    so we found out that this command only see archivelogs, not archivelogs and redolog files.
    and i don't know if we can open this database with resetlogs option.
    As mentioned by before poster, the redolog files are not backed up and there is needless to take a backup of the redolog and transfer it to the new server. n
    2) please tell me how can i introduce redologs to rman?  should i copy them in the same address with their address in control file??
    In the RMAN command you must archive the current redolog  file before backing up the archivelogs, which will ensure you will have a upto date  backup. Let me share one of my coding:
    RUN
    ALLOCATE CHANNEL RMAN_BACK_CH01 TYPE DISK;
    ALLOCATE CHANNEL RMAN_BACK_CH02 TYPE DISK;
    ALLOCATE CHANNEL RMAN_BACK_CH03 TYPE DISK;
    BACKUP
    AS BACKUPSET
    TAG 'FULL_DATABASE'
    FORMAT '/u01/backup/DBFILES_%F’;
    DATABASE
    SQL 'ALTER SYSTEM SWITCH LOGFILE';
    SQL 'ALTER SYSTEM ARCHIVE LOG CURRENT';
    RUN
    BACKUP
    AS BACKUPSET
    TAG 'ARCHIVELOGS_ALL'
    FORMAT '/u01/backup/ARCHIVELOGS_%F’
    DELETE INPUT;
    ARCHIVELOG ALL
    Hope this helps!
    Thanks &
    Best Regards,

  • Oracle DB and File system backup configuration

    Hi,
    As I understand from the help documents and guides, brbackup, brarchive and brrestore are the tools which are used for backing up and restoring the oracle database and the file system. We have TSM (Trivoli Storage manager) in our infrastructure for managing the backup centrally. Before configuring the backup with TSM, I want to test the backup/restore configuration locally i.e. storing the backup to local file system and then restoring from there. Our backup strategy is to have full online backup on the weekends and incremental backup on the weekdays. Given this, following are the things, I want to test.
    1. Full online backup (to local file system)
    2. Incremental online backup (to local file system)
    3. Restore (from local file system)
    I found help documents to be very generic and couldn't get any specific information for the comprehensive configuration to achieve this. Can someone help with end to end configuration?
    We are using SAP Portal 7.0 (NW2004s) with Oracle 10g database hosted on AIX server.
    Helpful answers will be rewarded
    Regards,
    Chandra

    Thanks for your feedback. I am almost clear about this issue now, except one point need to be confirmed: do you mean that on linux or unix, if required, we can set "direct to disk" from OS level, but for windows, it's default "direct to disk", we do not need to set it manually.
    And I have a further question: If a database is stored on a SAN disk, say, a volume from disk array, the disk array could take snapshot for a disk on block level, we need to implement online backup of database. The steps are: alter tablespace begin backup, alter system suspend, take a snapshot of the volume which store all database files, including datafiles, redo logs, archived redo logs, controll file, service parameter file, network parameter files, password file. Do you think this backup is integrity or not. please note, we do not flush the fs cache before all these steps. Let's assume the SAN cache could be flushed automatically. Can I think it's integrity because the redo writes are synchronous.

  • Backup and restore Root File system

    Hi
    Can I take backup of Root File system using ufsdump and later restore it (Root file system) completely using ufsrestore?
    Please give me the steps or a link
    Thanks in advance
    Ashraf.

    In short yes. But the steps depends on where you are going to store the backup and if you are running Sparc or x86 and what you do with your disk in between.
    Boot in single user.
    example# ufsdump 0cfu /dev/rmt/0 /dev/rdsk/c0t3d0s0
    /dev/rmt/0 (tape) can be another partions file /backup/root_backup
    For restore it must be safeest to boot from CD.
    Mount your disk to restore to under /a
    cd /a
    ufsrestore rf /dev/rmt/0 (or your file /backup/root_backup)
    If the partition is reformatted you may have to install new bootblocks.
    Please read some from docs.sun.com
    This is just an advice, not detailed workorder.....
    /Gunnar

  • How to recover DB2 using offline file system backup.

    Gurus,
    I had a problem with my BI PRD's database. 1 of my BI consultant accidently deleted some important 2010's data. We've try recover online database backup of BWP into BWQ and retrieve the missing data. However the backup retention period was expired and we dont have any available online backup now.
    Only hope is my offline file system backup which backup the whole file system of BWP ONLY.
    My question:-
    Can i restore the file system (offline backup) into BWQ and rebuild my DB2 in BWQ. Please enlighten me.
    Thanks,
    Devan.

    Hi
    You can do it .The file system backup image can be mirroed into production system and by making using of "db2inidb" utility you can restore the whole database.
    http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/com.ibm.db2.udb.doc/core/r0004473.htm
    Thanks
    Romansh

Maybe you are looking for