Backup RMAN related tables

Hi all
is it possible to make tables using BACKUP RMAN backup... If possible could give u me detailed step in this regard...

Kind regards
DSP

i Just Wanna knowledge is possible to take table backup using RMANbackup-level

That's what mentioned in my first post my dear. It is not possible.

Just go, if you have any path of the 'table' in a position to find, then you can try... There is no path for tables/indexes. Hope you understood

Published by: CKPT June 7, 2011 09:35

Tags: Database

Similar Questions

  • Why is backup RMAN 2 TB DB still 2 TB when expdp dump was only 600 MB?

    RDBMS version: 11.2.0.3/Oracle Linux 6.2

    We took a RMAN of below mentioned DB Backup.


    Since DBA_SEGMENTS showed 2 TB, I thought that RMAN backup size will be half of this IE. 1 TB. But the size of the RMAN backups was 1.95 TB!

    expdp full DB was only 600 MB!

    SQL > select sum (bytes/power (1024,3)) of dba_segments;

    SUM (BYTES/POWER (1024,3))
    ------------------------
    2056.27728

    SQL > select sum (bytes/power (1024,3)) sumbytesGB, sum (maxbytes/power (1024,3)) sumMaxBytes of dba_data_files;

    SUMBYTESGB SUMMAXBYTES
    ---------- -----------
    5451 427.998978


    SQL > col file_name format a75
    SQL > set 300 pages
    SQL > select file_name, bytes/power (1024,3) bytesGB, maxbytes/power (1024,3) from dba_data_files;

    FILE_NAME BYTESGB MAXBYTES/POWER (1024,3)
    --------------------------------------------------------------------------- ---------- ----------------------
    +CMS_DATA/bcmsprd/datafile/cms_s_asset_xa_dat_01.dbf 20 0
    +CMS_DATA/bcmsprd/datafile/cms_s_asset_xa_dat_02.dbf 20 0
    +CMS_DATA/bcmsprd/datafile/cms_s_asset_xa_dat_03.dbf 20 0
    +CMS_DATA/bcmsprd/datafile/cms_s_asset_xa_dat_04.dbf 20 0
    +CMS_DATA/bcmsprd/datafile/cms_s_asset_xa_dat_05.dbf 20 0
    +CMS_DATA/bcmsprd/datafile/cms_s_asset_xa_dat_06.dbf 20 0
    +CMS_DATA/bcmsprd/datafile/cms_s_asset_xa_dat_07.dbf 20 0
    +CMS_DATA/bcmsprd/datafile/cms_s_asset_xa_dat_08.dbf 20 0
    +CMS_DATA/bcmsprd/datafile/users.271.803502221 6 31.9999847
    20 20 +CMS_DATA/bcmsprd/datafile/undotbs1.265.803502221
    +CMS_DATA/bcmsprd/datafile/SYSAUX.272.803502221 10 31.9999847
    +CMS_DATA/bcmsprd/datafile/system.260.803502221 10 31.9999847
    20 20 +CMS_DATA/bcmsprd/datafile/undotbs2.261.803502407
    20 20 +CMS_DATA/bcmsprd/datafile/undotbs3.267.803502407
    +CMS_DATA/bcmsprd/datafile/cms_s_asset_xa_dat_09.dbf 20 0
    +CMS_DATA/bcmsprd/datafile/cms_s_asset_xa_dat_10.dbf 20 0

    < snipped >

    RMAN backs up all blocks of formatting - even if the lines have been removed and the blocks are "logically empty."  expdp, obviously, do not save deleted rows.  Similarly, if you have created a table, and then later he truncated, the blocks are formatted and be candidates for RMAN backups.  Truncated tables would be "empty" and would result in 0 rows exported.

    So, you will have this problem if you have deleted a large number of lines and/or issued truncates.

    Hemant K Collette

  • backup rman design database with phsical ensures

    Hello

    12 c database, after physical expectation is created, I need backup rman configuration,

    The goal is: a) backup of database b) remove archivelogs that have been backed up, free up space FRA.

    Design as below:

    1:

    in RMAN (primary and standby):
    RMAN >
    Configure controlfile autobackup on;
    set the type of backup device type disk compressed backupset;
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;


    2: primary school:
    RMAN > CONFIGURE RETENTION POLICY to the 5 DAY RECOVERY WINDOW;

    3: in priamry, turn on track changes to block

    4: primary, implemented since rman level 0 (full backup) on Sunday.

    5: in the primary, the installation program rman level 1 backup from Monday to Saturday.

    6: primary, set up since rman "save archive backup delete them all obsolete" every hour;

    questions here:

    1. as in step 5, for the protection of the o and delete archivelog, the script using:

    Run {}
    allocate channel d1 type disk;
    SQL 'alter system archive log current';
    overlap archivelog all;
    backup AS COMPRESSED BACKUPSET archivelog all delete them all input;
    output channel d1;
    }

    I wonder if ' archivelog all delete all entries "will delete archivelog which was not taken on the eve of the database and broken standby database

    (hanging and out-of-sync with primary)... it is a concern, is that possible?

    2. If the primary database crashed, failover to standby mode, then restore/recovery primary, switch back to the primary, this design is just? If you have any good suggestions, please let me know.

    (to put it simply, I don't want to full/incremental backup to install standby, primary server CPU is good enough)

    Thank you very much!

    A few brief notes worth a visit:

    Based on Oracle 11 g Data Guard for the backup database and restore

    http://www.databasejournal.com/features/Oracle/article.php/3830766/leveraging-Oracle-11g-Data-Guard-for-database-backup-and-recovery.htm

    Standby database using RMAN

    http://Arup.blogspot.com/2007/07/standby-database-using-RMAN.html

    Best regards

    mseberg

  • Can store backups RMAN in a diskgroup in ASM?

    RDBMS version: 11.2.0.4

    OS: Oracle Linux 6.6

    RAC environment

    Can store backups RMAN in a diskgroup in ASM? If so, is it recommended?

    Yes, you can:

    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '+diskgroupname';
    

    It depends on your requirements and backup strategy.

  • The user managed based backup Rman backup cold cold vs

    Hi all

    I just want to know the advantages and disadvantages for backup managed user cold and cold backup Rman.

    What is the best cold backup?

    Some some can help me?

    Thank you

    Cedric Joshi

    Hello

    Both are good only... If you took the clod backup (managed by the user), you can also do with RMAN catalog.

    I feel clod RMAN backup is good.

    Reason:

    ======

    ++ with RMAN you can avoid used used block, you can only backup used blocks

    ++ RMAN has its own compression algorithm

    ++ We also have the ability to assign multiple channels to parallelize the backup

  • Relational table between the user and UD_ADUSER profile

    Hello

    I have a requirement where in I need to write a query to find out the difference between user profile for a particular user data and the form data from the same user AD process in Oracle Identity Manager 11g R2 (11.1.2.0)

    While the details of the user are stored in usr table, the table of process for AD shape is UD_ADUSER table. By comparing the two tables, I find the common attribute to be orc_key in UD_ADUSER and ORC table contains the usr_key and table orc_key / usr the usr_key.

    Is ORC table the proper relational table between usr and UD_ADUSER tables to link users between these two tables usr and UD_ADUSER?

    Please correct me if I'm wrong.

    -Thank you,

    def.

    You can use these two tables. I always spend Ouedraogo table between them because the OST has the status of a resource. You can query between them.

    -Kevin

  • Help remove backups rman (delete the repository)

    Hi all.

    I will soon be administering a few databases Oracle (11g Rel2). Currently these DBs area in log mode archive with a backup rman in place policy.


    I don't like this policy and you want to use my own, incremental backups from updadateable, so this is the plan I have in mind.


    (1) disable mode archive.


    (2) a clean shutdown and take a backup to cold.


    (3) since after you disable archiving, backups RMAN ALL will be unusable, I want to remove them (including newspapers archive and backup sets).


    (4) after the correct deletion, set up some persistent RMAN settings, such as retention policy, controlfile autobackup and optimization.


    (5) turn on archiving


    (6) to set up the new policy based backups backup incremental updateable with duplex location for archiving logs.


    Help is requested on the best way to clean all the backups (3).


    I can manually delete the backups and do overlap, but according to the Oracle Documentation "Delete backup" will be delete all backups for data recorded in the RMAN Repository.


    So which is the best way easier and faster? Will delete backup include the archive logs?


    Thanks in advance. Luis!


    myluism wrote:

    Can I still use them?

    I would say it is "the wrong answer to evil. When you disable log mode archive, you can only back up the database when it is stopped and only to restore and recover the database until the last stop.

    Looking at your plan, I wonder what you are trying to accomplish first log mode archive disabling and then enabling archive mode log again. Why do you think that this is necessary and what you're trying to accomplish.

    You need not disable and enable log mode archive in order to eliminate the obsolete achivelogs.

    If you are not satisfied with the retention policy, simply change it. All backups that are outside your retention policy will be considered as obsolete and you can remove them using RMAN delete obsolete, which will remove all files as well as the appropriate data backup from the RMAN Repository.

    For example you can archivelog delete all the entries backup and then delete the backupset or remove them at the OS level, do overlap and then use delete noprompt expired archivelog all.

    The retention policy applies to backup and archivelogs. However, you can have a separate archivelog deletion policy that applies to archivelogs.

  • Do not lock - automate the deletion of backups RMAN old day after a success

    Hi all

    Admin: Do not lock this thread. I moved here the database instance based on the suggestion of another Member, and the question to this forum. If you want to lock a thread, lock one in the forum of the database, not this one.

    I am looking for a way to automate the deletion of backups RMAN old days only after the occurrence of a success. At the present time, I have daily backups of L0 via crontab, and I need to create a script that can tell if a successful backup is done, then delete the old L0 if it has. Any suggestions on how to start? I'm stuck in code to see if a successful backup has been performed.

    Oracle 11.2.0.3

    Exadata (4 nodes)

    Linux 5.10

    * a from database forum

    A backup is completed when the backup command is complete.

    You have two 'blocks execution' in your rman script.

    Put the DELETE OBSOLETE between the end of the last execution block and EXIT:

    OUTPUT CHANNEL fs1b;
    OUTPUT CHANNEL fs2b;
    OUTPUT CHANNEL fs3b;
    CHANNEL fs4b;
    CHANNEL fs5b;
    CHANNEL fs6b;
    CHANNEL fs7b;
    CHANNEL fs8b;

    }

    remove the backup noprompt obsolete;
    "exit";

    You also want to do some other household:

    cross-checking of backup;

    delete expired backup noprompt.

    overlap archivelog all;

    delete noprompt expired archivelog all;

  • Article 059 (filter how-to ADF related tables by date range) in JDeveloper 12 c (12.1.3)

    Hello.

    I try to implement a solution to article 059 (filter how-to ADF related tables by date range) in JDeveloper (12.1.3) 12 c but hothing happen when I start this example.

    Could someone advise me what to do to make this example work properly on JDeveloper 12 c?

    I made the example work again. The problem is that you can't somehow store new attribute values in the card more. If you store the values for the filter to a different place, it works again.

    Please read the complete solution in my blog https://tompeez.wordpress.com/2015/04/11/how-to-filter-adf-bound-tables-by-date-range-jdeveloper-12-1-x/

    You can download the workspace of GitHub. The link is provided at the end of the blog.

    Timo

  • Loading XML into the relational Table data

    Hello

    I get a generated XML file to other tools (Windows), I am trying to create a Linux shell script that will gather the necessary XML file to my Linux server, then ask Oracle to use this file to load the XML data into a relational table. This activity and the data will be needed on an ongoing basis.

    I tried two ways. First, I loaded the XML document into the database and tried to extract the data directly from the document, but it does not work. Now I want to try to read the data directly from the file on the server through select, however I don't get all the returned data. In the Select statement below, I am trying to query the data to see what is returned for my tests.

    Create Table ci_results_table (transactionID Varchar2 (100), //transactionID should be PrimaryKey but became errors in test of insert, PK so deleted NULL value)

    message Varchar2 (200),

    This Varchar2 (50).

    XMLType of the ProcessedDate,

    status Varchar2 (50).

    sourceFile VarChar2 (100));

    Select x.*

    from XMLTable)

    ' TSPLoadResults/results '.

    PASSAGE xmltype (bfilename('CMDB_DEVADHOCRESULTS_DIR','LoadResults-HP_146.results.xml'), nls_charset_id ('AL32UTF8'))

    COLUMNS

    transactionID PATH Varchar2 (100) 'TransactionID '.

    Result XMLType PATH 'result ',.

    Message Varchar2 (200) PATH "Message."

    PrimaryKey Varchar2 (50) PATH "PrimaryKey"

    Date of ProcessedDate path "ProcessedDate."

    Status Varchar2 (50) PATH "Status."

    SourceFile VarChar2 (100) PATH "SourceFileName.

    ) x

    ;

    Eventually, I'll have to build on that to limit the returned data to records where SourceFileName is like '% PA' and insert what is returned in to the ci_results_table. Attached is an example of the XML results file I am trying to load, it is named "ResultsTransformedtoUnix" because I used dos2Unix to convert Unix which can be good or bad. (I send the output file must be converted to the format BACK until the other application can read). Original (before converting Unix) file named in the script is also attached.

    Help, please. Thank you!

    Hello

    I see some bad things in your query.

    (1) obvious one, explaining why you get all the data: there is a typing error in the XQuery expression, there 'result' not'slead.

    (2) ProcessedDate can be extracted as a date (at least not directly) because it actually represents a timestamp, use the TIMESTAMP WITH time ZONE HOURS and cast back to DATE data type in the SELECT clause

    (3) transactionID is an attribute, it must be accessible with ' @' (or ' attribute:' axis)

    (4) if the encoding of file really is ISO-8859-1 as suggested in the prologue, then do not use AL32UTF8 but the name of the corresponding character set: WE8ISO8859P1

    Here is the query to work:

    select x.transactionID
         , x.Message
         , x.Primarykey
         , cast(x.ProcessedDate as date) ProcessDate
         , x.Status
         , x.SourceFile
    from XMLTable(
           '/TSPLoadResults/Result'
           PASSING xmltype(bfilename('XML_DIR','LoadResults-HP_146.results.xml'), nls_charset_id('WE8ISO8859P1'))
           COLUMNS
             transactionID Varchar2(100)            PATH '@transactionID',
             Message       Varchar2(200)            PATH 'Message',
             PrimaryKey    Varchar2(50)             PATH 'PrimaryKey',
             ProcessedDate timestamp with time zone PATH 'ProcessedDate',
             Status        Varchar2(50)             PATH 'Status',
             SourceFile    VarChar2(100)            PATH 'SourceFileName'
         ) x
    ;
    

    Directly on the file using this query will only be decently (for large files) on 11.2.0.4 and beyond.

    On older versions, first load the file into a (temporary) XMLType column with binary XML storage and CHOOSE from there.

    because I used dos2Unix to convert Unix which can be good or bad.

    This conversion should not be necessary.

  • backup rman Exadata with zfs

    Our company has recently decided to start backup rman ZFS instead of regular tape backup.

    I would like to know what is the right measures to check if ITS configured right device of ZFS, the implementation of rman backups, etc.

    I'd appreciate someone here can point me to the right document.  I read ZFS Q and A and backup using ZFS best practices. All very unclear and seems none of them provide a digital step step.

    I wonder if Oracle provides an instruction step by step for the DBA.

    9233598-

    Q documents & you examined include the "Oracle ZFS storage pool: FAQ: Exadata RMAN backup with Oracle ZFS Storage Appliance (Doc ID 1354980.1)" Note? This note has a lot of information and is updated regularly and includes information about configuring ZFS and RMAN backups to the device of ZFS.

    Some useful books of whites, an I have used in the past and has been updated again last year: Oracle Exadata with the Sun ZFS Storage Appliance protection: best practices in Configuration and backup and recovery Performance and best practices using Sun ZFS Storage Appliance with Oracle Exadata Database Machine

    These documents will in many details - including providing examples of scripts.

    HTH.

    Thank you

    Kasey

  • Find related tables

    Hello, everyone.

    I have a file that I need to remove in a table, but I don't know if there are any related tables that might break if I just delete the record.

    Is there a way to determine if / what tables are related?  Can I use SQL Developer.

    V/r,

    JD

    And you won't see it directly. Query I posted shows the relationship between the constraints, not tables. So, if you want to check if table TBL scheme S has children tables:

    SELECT *.

    OF ALL_CONSTRAINTS

    WHERE)

    R_OWNER,

    R_CONSTRAINT_NAME

    ))

    SELECT THE OWNER

    CONSTRAINT_NAME

    OF ALL_CONSTRAINTS

    WHERE OWNER = S"

    AND TABLE_NAME = 'TBL '.

    )

    /

    SY.

  • How to use backups RMAN to restore a RAC database to single instance on another host?

    How to use backups Rman to restore a RAC database to single instance on another host?

    I tried to copy these inline for you:

    ------------




    Backups RMAN disk HowTo restore database RAC to single Instance on another node (Doc ID 415579.1)

    Down

  • Synchronization between RDF store and relational table

    I start this question in a new thread, as it goes in a field of another problem

    Is one of the option to model the attributes of the object to store the attributes in a separate relational table and a SQL allows to attach graphic query results. Now, here's a situation, if we want to join, we need to keep a few key reference in the RDF data store, so that they can join together. But it leaves a question, how do synchronize us data? Suppose that we keep a user node in RDF with the user ID property and keep all other modules in the relational table. When join us, we can reach by user ID. But if we remove this record from the user in the relational table, probably RDF will not delete this user node in the graph data store. Am I correct on this point or Oracle has a sort of way to maintain data synchronization?

    Thank you.

    Hi HansC,

    Sorry for the late reply.

    When a row is deleted from a relational table, its correspondent/associated triple (s) will NOT will be removed one or more RDF models unless there is a custom logic to handle this.

    For example, we can define a trigger on the relational table to manage the synchronization of the data. Another way is to use the existing track changes

    mechanism (motion Flashback, Golden Gate etc.) to preserve the synchronization data.

    Thank you

    Zhe Wu

  • Restoring a backup RMAN to a new instance of the database

    Hi guys,.

    I have a problem with restoring a backup RMAN I have with me a new instance of the database. I have with me are:

    1. backup of the SPFile. (O1_MF_NCNNF_CTLFILE_BU_92DVGYO2_. BKP)

    2. backup of the control file (O1_MF_NNSNF_SPFILE_BU_92DVGW9H_. BKP)

    3. the full backup (O1_MF_NNSNF_FULLPROD_BU_92DVGW9H_. BKP)

    I received these files to a client environment and I need to restore these to a new instance of the database on a local computer. I gave an attempt as follows (in Oracle 10 g):

    1, creates a new instance of the (Test75) database using the Oracle Database Configuration Assistant

    2 SET ORACLE_SID = Test75

    3 connection to this instance with RMAN

    4 tried to restore the SPFILE from the BKP file received.


    I make mistakes and cannot continue. I don't know if I will carry out the correct steps. Please help me telling me how I should achieve this goal.


    Thank you.

    1. backup of the SPFile. (O1_MF_NCNNF_CTLFILE_BU_92DVGYO2_. BKP)

    2 backup of control file (O1_MF_NNSNF_SPFILE_BU_92DVGW9H_. BKP)

    The first backuppiece resembles a ControlFile and the other looks like a SPFILE'

    > I get error and cannot continue

    What is the error?  (I assume that you have tried to restore the O1_MF_NNSNF_SPFILE_BU_92DVGW9H_ SPFILE. BKP

    Note that you must also SET the DBID before restoring the controlfile

    Hemant K Collette

Maybe you are looking for

  • Messages received during the date change, now stuck with them

    Hello, this is a stupid thing. I changed my date in the coming months with impatience and received messages from a friend. Now, I have these blocked as the latest messages and after I change the date back to normal, that I have to scroll up to actual

  • Setting the time and time zone?

    Hello, I have a problem, try to change my time to standard time. When I change the time and time zone, they are locked. It won't let me uncheck to set the time manually. The time zone is set to Apple Americas / U.S. (site time.apple.com) IM El Capita

  • photo without click event

    Hello I question whether it is possible to get an event without click_event? Let me explain: I have a picture and I would like to collect the GetRelativeMouseState without clicking on this photo. Is this possible? Thank you

  • SNMP Trap Variable alertSystemFQDN

    I have a client with a PE r.620 with an iDRAC7 tries to monitor the integrity of their server with interruptions SNMP hardware. They are especially interested in the varbind alertSystemFQDN (1.3.6.1.4.1.674.10892.4.5000.10.8), which is apparently not

  • Cannot right click on the folder of the user

    I try to open my file user to allow access to iTunes.msi and then install a update on the iTunes program.  When I right click on C:\Users\Tim, the Windows 7 Explorer crashes.  I am connected to Windows 7 as "Tim Administrator.