ASM and Logical backups

Is it possible to use ASM diskgroup as a destination
for logical backups? For example I have ASM diskgroup
for Flash Recovery Area and want to use its space for dumps too.

No,
only datafiles,
datafile copies,
controlfiles,
online redo log files,
archived online redo log files,
rman backup sets
ar possible as far as I know.
Not possible are:
alertlogs,
trace files,
password files,
binaries.
Regards,
Lutz

Similar Messages

  • 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

  • Logical backup and recovery using export/import

    Hi,
    Anyone provide me the clear steps and command to take logical backup and recovery using the import and export method...??.
    im using oracle 9i database and redhat linux server version 4.0.........???.
    thanks,
    vasanth.......

    user12864080 wrote:
    Hi,
    Anyone provide me the clear steps and command to take logical backup and recovery using the import and export method...??.
    im using oracle 9i database and redhat linux server version 4.0.........???.
    thanks,
    vasanth.......Vasant,
    Though you have got links already for using the exp/imp , I would strongly suggest that when you mention backup/recovery, RMAN is the tool that you should be using. Exp/imp is/was never considered as a backup tool. You should read this paper to get the answer of "why rman" ?
    http://www.evdbt.com/TD_Rman.pdf
    Aman....

  • Backup and Logical Corruption

    Hello,
    I am running a backup and checking for any logical corruption -
    RMAN> backup check logical database;
    Starting backup at 03-MAR-10
    allocated channel: ORA_SBT_TAPE_1
    channel ORA_SBT_TAPE_1: SID=135 device type=SBT_TAPE
    channel ORA_SBT_TAPE_1: Data Protection for Oracle: version 5.5.1.0
    allocated channel: ORA_SBT_TAPE_2
    channel ORA_SBT_TAPE_2: SID=137 device type=SBT_TAPE
    channel ORA_SBT_TAPE_2: Data Protection for Oracle: version 5.5.1.0
    allocated channel: ORA_SBT_TAPE_3
    channel ORA_SBT_TAPE_3: SID=138 device type=SBT_TAPE
    channel ORA_SBT_TAPE_3: Data Protection for Oracle: version 5.5.1.0
    channel ORA_SBT_TAPE_1: starting full datafile backup set
    channel ORA_SBT_TAPE_1: specifying datafile(s) in backup set
    input datafile file number=00014 name=/oracle1/data01/TESTDB/TESTDB_compress_test_01.dbf
    input datafile file number=00006 name=/oracle/TESTDB/data01/TESTDB_shau_01.dbf
    input datafile file number=00015 name=/oracle/product/11.1/dbs/ILM_TOOLKIT_IML_TEST_TAB_A.f
    channel ORA_SBT_TAPE_1: starting piece 1 at 03-MAR-10
    channel ORA_SBT_TAPE_2: starting full datafile backup set
    channel ORA_SBT_TAPE_2: specifying datafile(s) in backup set
    input datafile file number=00003 name=/oracle/TESTDB/data02/TESTDB_undo_01.dbf
    input datafile file number=00013 name=/oracle/TESTDB/data01/TESTDB_roop_01.dbf
    input datafile file number=00012 name=/oracle/TESTDB/data01/TESTDB_example_01.dbf
    input datafile file number=00005 name=/oracle/TESTDB/data01/TESTDB_sysaud_tab_1m_01.dbf
    channel ORA_SBT_TAPE_2: starting piece 1 at 03-MAR-10
    channel ORA_SBT_TAPE_3: starting full datafile backup set
    channel ORA_SBT_TAPE_3: specifying datafile(s) in backup set
    input datafile file number=00004 name=/oracle/TESTDB/data01/TESTDB_users_01.dbf
    input datafile file number=00001 name=/oracle/TESTDB/data01/TESTDB_system_01.dbf
    input datafile file number=00002 name=/oracle/TESTDB/data01/TESTDB_sysaux_01.dbf
    input datafile file number=00025 name=/oracle/export_files/TESTDB_users_02.dbf
    channel ORA_SBT_TAPE_3: starting piece 1 at 03-MAR-10
    channel ORA_SBT_TAPE_3: finished piece 1 at 03-MAR-10
    piece handle=5ul7ltsd_1_1 tag=TAG20100303T204356 comment=API Version 2.0,MMS Version 5.5.1.0
    channel ORA_SBT_TAPE_3: backup set complete, elapsed time: 00:05:15
    channel ORA_SBT_TAPE_2: finished piece 1 at 03-MAR-10
    piece handle=5tl7ltsd_1_1 tag=TAG20100303T204356 comment=API Version 2.0,MMS Version 5.5.1.0
    channel ORA_SBT_TAPE_2: backup set complete, elapsed time: 00:06:56
    channel ORA_SBT_TAPE_1: finished piece 1 at 03-MAR-10
    piece handle=5sl7ltsd_1_1 tag=TAG20100303T204356 comment=API Version 2.0,MMS Version 5.5.1.0
    channel ORA_SBT_TAPE_1: backup set complete, elapsed time: 00:08:16
    Finished backup at 03-MAR-10
    Starting Control File and SPFILE Autobackup at 03-MAR-10
    piece handle=c-2109934325-20100303-0c comment=API Version 2.0,MMS Version 5.5.1.0
    Finished Control File and SPFILE Autobackup at 03-MAR-10
    Question: By looking at the output, how can I say that RMAN did an Logical Check for the corruption? This output looks same as a simple backup without logical corruption check. Please advice how to check about this?
    Thanks!

    hi
    I think you won't see any summary on this, only when corruption is found.
    There is also one related setting that can be incorporated here - see example:
    Example 2-25 Specifying Corruption Tolerance for Datafile Backups
    This example assumes a database that contains 5 datafiles. It uses the SET MAXCORRUPT command to indicate than no more than 1 corruption should be tolerated in each datafile. Because the CHECK LOGICAL option is specified on the BACKUP command, RMAN checks for both physical and logical corruption.
    RUN
    +{+
    SET MAXCORRUPT FOR DATAFILE 1,2,3,4,5 TO 1;
    BACKUP CHECK LOGICAL
    DATABASE;
    +}+
    use this to see clear output:
    -- Check for physical corruption of all database files.
         VALIDATE DATABASE;
    -- Check for physical and logical corruption of a tablespace.
         VALIDATE CHECK LOGICAL TABLESPACE USERS;
    eg.
    List of Datafiles
    File Status Marked Corrupt Empty Blocks Blocks Examined High SCN
    +1 FAILED 0 3536 57600 637711+
    File Name: /disk1/oradata/prod/system01.dbf
    Block Type Blocks Failing Blocks Processed
    Data       1              41876
    Index      0              7721
    Other      0              4467

  • 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

  • Hard drive crashed on my MacBook pro and had to replace drive and logic board.  When I connect my iPhone and try to sync I get a dialog box stating iPhone is synced with another iTunes library, erase and sync?  How do I sync with iTunes without erasing?

    Hard drive crashed and had to replace drive and logic board on my MacBook pro.  After Install tried to sync with my iPhone and a dialog box pops up stating "this iPhone synced with another iTunes library, erase and sync?".  I checked the manually manage music and videos box because I don't want all my wife's pics and music on my iPhone.  How do I Sync without erasing what I have on my iPhone???

    columbus new boy wrote:
    How crap is that?
    It's not crap at all.
    It's not that simple. For example, I've 3500 songs on my MacBook but don't want them all on my phone, so I have to manually select each song again???
    There has to be a solution.
    Why not simply make a playlist with the songs you want on the iPhone?
    and maintain a current backup of your computer.

  • REDUNDANCY and Level1 backups

    Oracle Version -- 10.2.0.4
    Backup Type -- Differential Incremental Backup
    Current Retention policy -- Recovery window (4 days)
    Sunday
    Monday -------------> Level 0 Backup(3:00am)
    Tuesday
    Wednesday
    Thursday ----------->Level 0 Backup (3:00am)
    Friday
    SaturdayWe have tested our Differential Incremental backup with RECOVERY WINDOW for 2 weeks. Due to space constraints, we don't think we can use RECOVERY WINDOW retention policy. So, we are thinking of going for REDUNDANCY.
    I understand that, after setting REDUNDANCY as the retention policy: Monday's Level0 backup becomes obsolete on thursday when the next level 0 backup is run. We are fine with this. But we are worried about LEVEL 1 backups.
    You cannot set a different separate RETENTION POLICY for level0 and level1 backups.
    On Tuesday ---- We take a Level1 backup
    On Wednesday ---- Will tuesday's Level1 backup become obsolete?Tuesday's level1 backup and the subsequent level1 backups shouldn't become obsolete until the next Level0 backup. Is RMAN binary intelligent enough to recognize this logic/requirement?

    REDUNDANCY applies to the ability to recover the full database.
    Your intermediate L1 backups would not be obsoleted until you do a fresh L0 backup.
    Hemant K Chitale

  • About ASM and SAN...

    Hello Guys,
    I have to implement 3 nodes RAC 10gR2 ob centOS4 operating system. I have study so many documents about rac instaltion and configurations. I have learn how to set the network requirements with private, public and virtual IPs and all other stuff. I have learn installtion of clusterware and database with cluster enable functionality.
    BUT the storage options are still not clear to me. We have purchases SAN and we are planning to implement ASM for the storage. Now i want to know:
    How many disk and disk partitions 3 node structure will require on SAN?
    How ASM will access SAN, or you can say OS will access this shared storage?
    Voting disk and OCR can not be store on sharted storage and need to be store on raw devices... what these raw device can be? How it can be access by all nodes?
    Above three questions are disturbing me a lot. If they are clear to me the whole storage concept will be clear and i can implement RAC.
    Please help me by answering the above 3 questions. I will be vert greatful to you.
    Regards,
    Imran

    How many disk and disk partitions 3 node structure will require on SAN?
    There's no real answer to that! With Oracle generally, RAC or no RAC, the answer to how many disks you should have is "as many as possible". Partitioning is really up to you, too, depending on what you find easiest to manage. If you have a single SAN array, for example, comprised of 15 disks that you choose to partition into three or four logical volumes so that you can call one 'data', one 'redo', one 'OS', and one 'other' -that's entirely up to you, since Oracle could care less how you partition, what you call them or how many of them there are. Moreover, everything on every partition is being striped across those 15 disks anyway, so who cares?
    I think, however, you might be thinking of the RAC-specific issues of the voting disk and the Oracle Cluster Registry. If you were using a cluster file system, they could be just two files on the file system, about 120M in size between them. Since you are going to use ASM and these two elements can't be stored inside an ASM array, you'll have to create two raw partitions for this purpose. The rest you then chop up for ASM's use.
    It is NOT true, incidentally, that "Voting disk and OCR can not be store on sharted storage". By definition, the voting disk and OCR must be on shared storage! Indeed, raw partitions, ASM arrays and cluster file systems are ALL shared storage technologies. It just so happens that those two files can't use ASM... but raw or cfs are fine.
    A raw partition is not, of course, intrinsically 'shared storage'... but if it's a raw partition on your SAN, to which all three of your nodes are physically attached, then it is shareable. It's shareable simply because three nodes can see it. And because there's no file system there with exclusive and blocking file locks, what one node does to a raw partition doesn't stop another node accessing it simultaneously (which is the definition of shared storage, of course).
    How will ASM access SAN? By you partitioning the SAN into a number of logical volumes, each one of which will be kept raw, and you then declaring each such volume as a candidate disk. You'll wrap all candidate disks up into an ASM disk group... and then Oracle will write to that disk group and hence through to the underlying logical volumes. Which comes back to the original question: how many logical volumes should you create out of, say, a 15 disk LUN on a SAN?
    Depends, as I said, on a lot of things, but for example RAID5 runs best when there are either 5 or 9 disks in the array (or did when last I looked at an EMC Clariion SAN!). So if your underlying RAID technology was going to be RAID5, you might well create 3 5-disk logical volumes on the one LUN. To let ASM use all 15 disks, you'd then create a 3-disk diskgroup (where 1 ASM disk = 1 SAN logical volume). On the other hand, you might want to keep some disks back for future storage, in which case a 1-disk ASM diskgroup representing a single 9-disk logical volume might be the go, with the remaining 6 disks on the LUN available for future expansion.
    It's a complicated topic, unfortunately. You're dealing with physical storage which is already abstracted into logical volumes and then abstracted even further by wrapping those logical volumes up into ASM disk groups. You balance performance, expandability, management convenience, your SAN vendor's optimisation tricks and so on... and hopefully come out with something that works for you!

  • 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

  • Logical backup of a schema without taking the data of particular table

    How can I take the logical backup of a schema without taking the backup of data of a one particular table?? I need to give the dump to the client but I do not want to give them data of one particular table.

    @Werner:
    Requirement is to have a "logical backup of a schema without taking the backup of data of a one particular table".
    I presume the requirement to have all tables with data and one table without data in a single dump file.
    ROWS=N will not export any data for any table
    :)

  • Export dump(logical backup) runing since yesterday

    Hi to All,
    We are taking full export dump(logical backup) of database.till last week its fine on sunday we change the password of administrator and we forgot to change to password in this scheduled scripts.and yesterday i run this backup manullay in morning and i saw its affecting our performance I cancel this task in middle only I haven't deleted that files from backup location and I had given the password in that scirpts and that scripts runing and that scripts started runing at there aproprite time but the incomplete backup is existed at backup location and the backup which started at scheduled time is runing since yesterday before its fininsh in 2 or 3 hours but know its runing since yesterday.Please give me some solution.
    Thanks and Regards
    Mohd Khaja

    On windows it gets a bit hairy as there really is no clean and nice way of doing it.There are a couple of options.
    1. If you can rely on dateformat not changing, you can use a static substring expression. For example, the following might work w/ finnish locale echo %date:~3,2%%date:~6,2%%date:~9,4%Similarly, when you know the dateformat you can tokenize the output of 'date /t' and discard the tokens you don't want.
    2. You can set dateformat to your liking and then just use %date% in your script
    3. You can run a "SELECT to_char(sysdate,..." into a file and then read that file in your script.
    4. Simon Sheppard also has a solution you could use as a basis. I have a slight issue with the approach, but that could just be me.
    5. Use gnuwin32 or similar ;)
    Also note that %date% env var is set automatically from w2k onwards, so some of the solutions might not work w/ older versions.

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

  • Essbase and Oracle Backups

    We are currently implementing Hyperion Planning into our environment. In our existing systems ie SAP we have Oracle archiving turned on in our production systems. With Planning we have ESSBASE and Oracle to be concerned about. Is there a way to archive ESSBASE to be in sync with the Oracle archives? If so how can this be done?If the system for example crashed at 10 AM and our last offline and Essbase backups occurred at 11 PM at night, in oracle we can roll forward using the archives, but in Essbase I'm not sure if that can be done. We can't archive or put the database in read mode during the day since we have live activity going on. Are we stuck to a point where we have to restore from the 11 PM backup? Anyone have this issue?Please send comments to my email [email protected]

    I can decribe my scenario in detail.
    I got two data source from Oracle relational tables and Essbase. And I need to join them together to do analysis. To make it simple, I will illustrate it by an example.
    There is main analysis in Essbase, including fact tables and dimension tables. For example, one of the dimension tables is Time dimension which contains hierarchical data only.
    In Oracle table, I got a table named Sales_Date storing description data of Time dimension.
    Since description data needs to be used in Time dimension, I use complex join to join Sales_Date to Essbase Time dimension in physical layer and BMM layer.
    Sales_Date is dragged from physical to BMM layer, and its columns are dragged to Time dimension tables. Then New Logical Keys are created under Time dimension hierarchy for those columns.
    Finally, presentation layer is created by dragging tables from BMM layer.
    When I try to select columns from Time Dimension(including columns from Sales_Date) and fact tables, below error msg appears.
    nQSError: 42043 An external aggregate is found in an outer query block. (HY000)
    Please help.

  • Regarding RMAN n Logical Backup

    Hi All,
    Will Select query affect the RMAN n logical Backup????

    hi yingkuan..
    VERSION
    10.1.0.5.0
    Its a select query which contain lots of conditions....
    please find below the query
    select distinct cci.consmr_no ,vin
    from lead_info li,
    lead_std_address lsa,
    cdr_consmr_info cci,
    cdr_address ca,
    cdr_product_info cpi
    where li.household_id=lsa.household_id and
    cci.consmr_no=ca.consmr_no and
    cci.consmr_no=cpi.consmr_no and
    cpi.extract_dt between '22-DEC-2005' and '31-DEC-2006' and
    li.last_name=cci.last_name and
    lsa.address_1=ca.address and
    lsa.city_name=ca.city_name and
    lsa.state=ca.state and
    lsa.zip=ca.zip and
    li.family_id is not null and
    cpi.family_id is null

  • Do I need ASM for logical standby server?

    I am using ASM in production, when I created physical standby for it, system asked me create ASM file system on it else it is not possible. My question is do I need ASM file system for logical standby too.?
    Thanks

    You can have the primary database on ASM and the standby on filesystem if you want.
    You just need to set db_file_name_convert and standby_file_management. I have tested this will physical, but not logical standby.

Maybe you are looking for