ASM and backups

Hi all,
Has anyone discovered a way to backup the contents of a ASM DG.
For example If I were to hot backup the database and place the pieces and sets to the virtual file-system within ASM DG would it be possible to configure netbackup to then backup those pieces to tape?
TIA
Eddy

As long as you have a running ASM instance,you have access to the FRA,independent of the database status itself. So in case of a corrupt SYSTEM tablespace,you would - as usual - mount the database and then restore/recover out of the FRA. If necessary (backups no longer in the FRA), you would have first to restore back from tape to the FRA. All these tasks don't require an up and running database. Of course and already said, when working with ASM, you need ASM up und running.
Werner

Similar Messages

  • ASM files and backups

    We are setting up new machines with the intent to eventually start using RAC so I am planning on using ASM. I was reading Oracle's "Automatic Storage Management Technical Best Pratices" and there is a statement that says "database backups of ASM files can only be performed with RMAN" . Our UNIX admins (as part of this project) purchased a product "HP Business Copy EVA" with the intent of using it to do Oracle backups very quick.
    Does anyone have any experience with "HP Business Copy EVA" ?
    Does anyone backup ASM files without using RMAN?
    Can anyone explain why Oracle's paper makes this statement?

    We are in the process of implementing a 10g RAC solution now. We started out using ASM and ran into a number of problems including some memory leaks on the ASM instance. We switched to OCFS and system has been running without a hitch for a month. Good thing here is all the old backup scripts function. Do not need to use RMAN if you really don't want to.
    --Paul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • ASM and Cold backup

    Is there any way to coldbackup a database that is using ASM?
    My development server has a database of 500GB in size. To move this to the production server I used to do cold backups but unable to do it with ASM.
    I was planning to use EXPORT utility but I read a few articles saying the export files should be more than a few GB.
    Has anyone got any ideas how to move large database that is using ASM from dev to prod?
    Thanks

    RMAN is the only option to take backups of databases using on ASM and you can use RMAN to take the cold backup of your database. First shutdown the database cleanly and then mount it and issue "backup database" at rman prompt to the cold backup. Read oracle doc for more information on RMAN setup.
    Daljit Singh

  • 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

  • ASM instance backup on 10.2.0.1.0

    Hi all
    Is there any way to backup and restore asm instance on 10g(10.2.0.1.0).I am using OS linux 5. like in 11g we have md_backup and md_restore.

    taimur wrote:
    Hi all
    Is there any way to backup and restore asm instance on 10g(10.2.0.1.0).I am using OS linux 5. like in 11g we have md_backup and md_restore.The purpose of "md_backup/md_restore" of 11.1 and onwards is backup/restore only the metadata of a diskgroup. There is no backup/restore ASM Instance, also there is no Backup/Restore Data of ASM Diskgroup.
    The ASM Diskgroup of versions 10.2 and earlier are simple and have fewer resources and parameters, then I see no reason to perform backup of diskgroup metadata.
    If your ASM Diskgroup fail. Just Recreate Diskgroup and Perform Restore with RMAN. (i.e you don't need ASM metadata backup).
    Levi Pereira

  • Migrating Non ASM, Non RMAN to New Server with ASM and RMAN - Possible?

    We currently have a database ( Oracle 10g R1 ) on a Sun Solaris server that is NOT using ASM or RMAN. The database is about 300GB. We are getting a new server and we want to install Oracle 10g R2 with ASM and RMAN and migrate the database.
    I have seen the documentation on migrating non ASM to an ASM server but the methods all use RMAN. Is it possible to migrate to an ASM database without using RMAN? Would datapump import/export work if I created a new database on the new server with all the same tablespaces? Or, do I have to bite the bullet, install RMAN on the old server and do the backup?
    Thanks.

    If you're not using RMAN that doesn't mean you can't use it to perform a single backup, rman is contained in every oracle RDBMS installation version 10G or higher.
    this is only a sample of how to do it
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '<file_system_path>/%U.DBF';
    --first we allocate the channel default channel.
    RMAN>RUN
    ALLOCATE CHANNEL DEFAULTCHANNEL TYPE DISK;
    SHUTDOWN IMMEDIATE;
    STARTUP MOUNT;
    BACKUP DATABASE;
    SHUTDOWN
    }then once you have it, you can do what you want.
    It should also be possible to manually restore the database from the original datafiles but it's better to follow the solution involving RMAN.
    Bye Alessandro

  • Cloning a database on ASM and rawdevices.

    Hi list,
    I am in the process to "test" a clone procedure in a database which is using ASM and "rawdevices".
    Is there any special Note that I can follow to accomplish this process?
    How can I copy a raw device from one server to another one?
    Any advice will be really appreciated.
    Thanks in advance.
    Kind regards,
    Francisco Mtz.

    Hello Martin,
    Yes you can clone ASM database from one server to another server. Here is the brief overview of how i was able to do in the same RH Linux 4 and 10g R2
    1) source - take a RMAN backup (ASM databases can be backed up using RMAN only
    2) target -
    a) create a ASM instance on the target
    b) let your unix SA create a raw device disk with the same capacity of the source
    c) create a new diskgroup that includes this new raw device disk using $ORACLE_HOME/bin/dbca of the target's ASM instance (it will be automatically mounted)
    d) Now use RMAN DUPLICATE database option to create a duplicate database (clone) of the source database.

  • ASM instance backup

    Hello All,
    I am using Oracle RAC 11g R2 + ASM.
    I have basic below 2 questions concerning ASM and OCR and voting disks data
    1. Is there any way to backup the ASM instance? Is that needed in a production environment? What is the best way to do that ? is it through RMAN ?
    2. My OCR and Voting disks info are stored on ASM diskgroup +OCR, should I backup that? I am seeing md_backup command in asmcmd help
    Regards,

    >
    I have basic below 2 questions concerning ASM and OCR and voting disks data
    1. Is there any way to backup the ASM instance? Is that needed in a production environment? What is the best way to do that ? is it through RMAN ?with the help of md_backup you can backup the metadata of the ASM instance .
    Nice articles from arup on this
    http://www.oracle.com/technetwork/articles/sql/11g-asm-083478.html
    2. My OCR and Voting disks info are stored on ASM diskgroup +OCR, should I backup that? I am seeing md_backup command in asmcmd help
    OCR backup detail -http://docs.oracle.com/cd/E11882_01/rac.112/e16794/votocr.htm#i1012456
    The voting disk data is automatically backed up in OCR as part of any configuration change.

  • ASM based backup

    If i enable flash recovery area as an ASM file system , but these backup files will not be accesible by OS , then how can i copy those ASM based backup files move to tape cartrdge, ulimately i have to use os copy command , OS cannot read ASM based backup piece.

    Do you want to backup "flashback file" on ASM?
    I have no idea too,
    But ... if you use asm on version 11g, you can backup from ASM to local disk before and then backup to TAPE.
    Example:
    $ asmcmd
    ASMCMD> cp file01.txt /tmp/
    copying +Vol1/db/file01.txt -> /tmp//file01.txt
    ;)

  • 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

  • ASM and file system combination

    Hi everyone -
    OK, this may sound a bit crazy, but it's the situation I'm facing and I really need your help and opinion before I do something stupid.
    I am using ASM on a SAN to manage my DATA tablespace (contains all the user data, including BLOBs). The ASM takes up all the disk space on the SAN except for what's left over from the disks allocated for the SAN OS. Basically, I have 941GB free space on the disks allocated the the SAN OS. Now, I need more space for my DATA tablespace, but can't afford to buy more disks at the moment (spent all my money on this SAN). I want to use the 941GB of unused disk space from the SAN OS disks for my DATA tablespace. But these disks are obviously not using ASM, and my current DATA tablespace is completely inside ASM.
    So the 6 million dollar question is . . . Can I add a "filesystem" datafile to an existing ASM tablespace? For example:
    Tablespace DATA is currently managed by ASM. Can I do
    SQL> alter tablespace DATA add datafile '/ora1/oradata/orcl/DATA_FS_01.DBF' size 1024M;
    So essentially I'll have part of the tablespace managed by ASM and another part residing on a traditional file system datafile.
    What do you think? Is this possible? Advisable? The worst thing I could do? Ok to do?
    Thanks in advance
    a

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

  • How do you stop Mountain Lion from making endless copies and backups of everything?!

    I already have a similar topic on this when I needed to figure out how to stop Mountain Lion from making endless copies of my text edit files and I was going to try the disabling of it that someone in that thread suggested, but I can't find where the Versions backups are being stored.
    Anyway, tonight I cam across a new problem, when I went into "about this Mac" and looked at my Storage, I had almost 1gb of data in the "backups" section. I just happened to have Finder open when I went into the Time Machine in the status bar and when it entered Time Machine, I had dozens of copies of my desktop. Thing is, I don't have my Time Machine hard drive connected and I don't have a Time Capsule router/hard drive. And don't give me this garbage about how "It's not real backups, it's just a snapshot" or whatever, because the ONLY things that I have stored on my computer that I have altered since I got mountain lion is two Text Edit files and the Finder Desktop (and yes, I have checked almost all the programs I use, and of the things that Time Machine will open in, those are the only things that have backups listed that I can access) and almost 1gb is being taken up completely needlessly with the computer backing up things onto itself. Obviously these are more than just snapshots and are obviously the real files because after throwing EVERYTHING on my desktop into a file, that file is only 3.8mb in size, so that almost 1GB in backups is coming from SOMEWHERE.
    The solution I aluded to in my first sentence also depends on going into the Terminal to make each individual app stop auto saving Versions, however, since my desktop is being backed up, there's no program to stop Mountain Lion from doing that.
    Can anyone help me figure out how to make it stop backing up? Seriously, almost 1 gb is being totally wasted on a series of desktop items that are 3.8mb in size, one Text Edit file that is 250kb in size, and another text edit file that is 41kb in size. What person in Apple would possibly have thought this endless backing up of files onto the main hard drive would have been a good idea? So in a year if I did nothing but go on the internet, save one picture to one file on my desktop and did nothing else with my computer, would I have 200 gb of desktop backups that the computer saved onto itself? Are you kidding me? OR failing that, can anyone tell me how to find this damned backup file and delete it? I'm not an idiot, I know how to plug in a hard drive or flash drive and backup my information, I don't need my computer to be making hundreds of copies of every single file on my computer that I change slightly onto itself that not only needlessly eats up it's own space, but if the hard drive died, all those "backups" would be gone too because it wrote the backups to itself.
    I am so frustrated by this totally ridiculous and wasteful "feature" they put in, it does nothing but waste hard drive space with it's hundreds of copies of everything you alter slightly. And I am absolutely not starting any video editing projects until I figure out how to turn this off. If around 4mb of total text and desktop backups add up to almost 1gb in a few weeks, what the heck is a video editing project going to end up in with size? Am I the only one completely flustered by this ridiculousness? Is there any point in writing into Apple to complain or are they just going to say "No, we're brilliant, we think this is an amazing feature so you just have to deal iwth it and when your hardd drive fills up, too bad, jerk!"?? Help! Thanks!

    Well as I pointed out in my post, "Sadly, my Text Edit documents are still all there, every single time I opened them and made a small change, there is another copy stretching all the way back to the day I installed Mountain Lion." so if you can explain to me how July 26 - Aug 16 is a week, I will concede that it is a good idea. Short of that, no I have been capable of making my own backups since I was 16 years old (16 years ago) I don't need my computer to endlessly do it for me in a way I am completely unable to shut off. That's what I have external hard drives, flash drives, a DVD burner, Drop Box, E-mail (as in emailing copies to myself) and icloud for. If I am doing something and I don't have access to a single one of those options, I don't know why I brought my computer with me in the first place. And I don't see how you can say it's an illusory gain in disk space, hundreds of copies of text documents, garageband files, Final Cut files, Motion Files and basically any program that makes files onto my comptuer that I can myself make incremental changes to, those all need to be stored somehow. Again, if you can explain to me how July 26 - Aug 16 is a week, I will agree with you that that is a good thing because IF it only saved for a week, it wouldn't be an issue. Sadly, no matter how many links you post, I still have text edit backups stretching from today back to July 26. They're not going away and I have no reason to beleive any other file I edit is going to go away either since they haven't been. They're all there eating up HD space and this imaginary "week" limit is simply not coming into effect. I hate it and there needs to be a simple way to simply shut it off. I didn't spend hundreds of dollars on external drives just for my main hard drive to be filled up with hundreds un useless, undeletable backups of stuff I already have backed up.

  • I'm using Firefox with Ubuntu 11.04 and the Import and Backup-button cannot be found in the Library-window as instructed, how can I enable this particular feature on Ubuntu 11.04?

    The import and backup-button is, however, where it's supposed to be on Ubuntu 10.10.

    Ubuntu may have moved those three button as well to that control bar.

  • Can't find the storage and backup link to start an icloud backup

    Why is it that when you create an icloud account the Storage and Backup link isn't always there.  I need to create an icloud account and then create an icloud backup right away so that I can setup multiple ipads using the icloud backup.  How do I force an icloud backup?
    Thanks

    You can check your Junk/Spam folders, sometimes the e-mail gets sent there. Also, double check that the primary e-mail address in your Apple ID account is hers. If none of this works, I suggest to wait it out, sometimes it can take up to 24 hours!

  • What is the best way to create additional storage AND backup a laptop, as well as the storage?

    Beyond being seriously annoyed at an Apple Employee recommended we go the NAS route at an Apple Store no less—only to find it doesn't work for storage OR Time Machine backups of iPhoto (after spending weeks organizing/transferring date, outside of a good deal of coin)—we are now perplexed as how to set up/store based on our needs.
    Goals
    Create additional storage (iPhoto, iTunes, documents) for the family laptop
    Accessible by anyone/device on the home network (iPad, mini iPad, iPhones, etc..)
    Would prefer the ability to access this offsite as well
    Backup of the laptop
    Backup of the storage HD
    Ensure we do not lose iPhoto libraries data/files
    Here is what I am thinking—need to know if it will work.
    Purchase two HDs
    Plug them into my base station
    Allocate one HD @2T for storage (additional iPhoto libraries, home movies, iTunes libraries, etc...)
    Partition the second HD @3T to handle two Time Machine backups
    (a) Time Machine of the laptop (up to 1T of backups)
    (b) Time Machine of the first HD (up to 2T of backups) - Is this possible?
    What I need to know is
    Is it possible to partition a HD to Time Machine two backups from different sources—one being a HD?
    If this is not a good solution—what is? I am pulling my hair out trying to figure out how to deal with a lot of data related to iPhoto due to the formatting limitations there.

    While most do not advocate mixing Time Machine backups with other files, I have 3 Time Capsules with files and backups on the same partition and have never had a problem despite doing it for many years. All 3 Time Capsule are set up as NAS devices.
    One Time Capsule holds the Snow Leopard partition backup of two computers. The other two each have a backup of the Mountain Lion partition of two computers. Time Machine is set up to alternate between the devices, which it can now do. On these 2 Time Capsules is a copy of the iTunes Library and a copy of the iPhotos Library, which provides a backup for the two. Every so often I manually copy the new files from the primary iTunes/iPhotos library to the backup on the other Time Capsule.
    If the computer is on, I can access the computer from my iPad and then access the hard drives and the files.
    Hopefully, I have been able to make this clear.

Maybe you are looking for

  • Battery not charging

    Hi, I am using macbook white 2010-11 model. I was using this laptop in India and it was working fine. I have moved to Australia while charging my laptop it is showing a message near charging sign (Not Charging) i have followed few steps from earlier

  • Can I stream hbo go from iphone to apple tv

    I want to know if I can view hbo go app from iphone and have it stream to my apple tv?    I tried to use the hdmi plug adapter to plug into tv and the app won't support it, so I thought maybe I can stream it.  Does anyone know?

  • N85 bugs/wishlist for future updates!

    Hi.... just wanted to post some bugs and wishlist(necessities) for the next firmware upgrade.... 1) Show date and time the message was sent when you read a message in the message screen instead of having to go to details. 2) Repair/Update the multime

  • Vista SP1 update problems with itunes after

    Hello, After installing the SP1 Vista update, i cant play music anymore with itunes. the play button doesnt work anymore. After installing (repairing) itunes again? it still doesnt work.

  • How can I format a form so that all text entered is "all caps"?

    Thanks in advance for your help. I am trying to format a form so that all text extered is in "all caps". I am using Adobe Acrobat X. Any advice and help would be greatly appreciated. Thanks!