Rman script backing up a table, and OEM

1. Please share a RMAN script backing up a table on a daily basis at a given time. The purpose is to actually see a RMAN script in the first place.
2. Is RMAN the single most tool being used for backup and recovery, what are some of the other popular tools in this respect?
3. Can RMAN scripts be triggered using OEM?

goni wrote:
1. Please share a RMAN script backing up a table on a daily basis at a given time. The purpose is to actually see a RMAN script in the first place.Well, I just searched for it and got this as one of the first 3 results, if you just want to have a look than it should be fine.
http://oracle.ittoolbox.com/documents/sample-of-rman-script-18791
2. Is RMAN the single most tool being used for backup and recovery, what are some of the other popular tools in this respect?It doesn't matter which are the other tools, oracle only supports the backup taken by RMAN and recommends to use it only. I must recommend you to read this following paper to know that why RMAN should be used,
http://evdbt.com/TD_Rman.pdf
3. Can RMAN scripts be triggered using OEM?Yes, just follow the wizards and in the end, EM shows you the same in the form of script.
HTH
Aman....

Similar Messages

  • Script to find out table and index candidates to keep in the buffer pool

    I am looking for a script to find out tables and indexes to keep in the buffer pool.
    Could you help me on this ?
    thanks...
    Markus

    this is more of a open question. As you know ur data well. We do not know whats ur data. cachin tables in buffer pool is okay, but it might age out after not being used...instead you can use the KEEP POOL...to cache small tables/popular tables into the keep pool...as keep pool guarantees full caching .....
    here are some links on keep pool cacheing
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/memory.htm#sthref410
    http://www.dba-oracle.com/oracle_tips_cache_small_fts.htm
    http://www.dba-oracle.com/t_script_automate_keep_pool_tables_indexes.htm
    http://www.dba-oracle.com/oracle_news/news_caching_keep_pool_large_objects_clob_blob.htm
    Edited by: user630084 on Apr 8, 2009 5:48 AM

  • Backing Up Database Table and Records in Oracle 10g

    Hi All,
    I created database for my company with Oracle 10g Database Server and want to backup all my database tables and records within (i.e creating another username inside the data and transfer them) and outside (i.e transfering them in another destination outside the database server) the database. Could you please instruct me on how to achieve?
    I look forward to hearing from you all.
    Thank you.
    Jc

    Hi, use RMAN utility
    do this
    rman target sys/*** nocatalog
    run {
      allocate channel t type disk;
      backup
        format '/app/oracle/backup/%d_t%t_s%s_p%p'
          (database);
       release channel t;
    {code
    Also read backup and recovery guide at http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/toc.htm
    regards                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Script to compare 2 tables and retrieve the differences in records data

    Dear All,
    please I need a script to compare two oracle database tables and retrieves the differences in data records between the two tables.
    I have tried this one :
    -- all rows that are in T1 but not in T2
    (select * from T1 minus select * from T2)
    union all
    -- all rows that are in T2 but not in T1
    (select * from T2 minus select * from T1);
    But it generates the following error:
    ORA-01789: query block has incorrect number of result columns
    Thank you for your cooperation , please it is urgent

    ok I used this statement with dblink, the problem is that i cannot use PL/SQL developer since it is a process repeated for 300 tables , that why i am trying to automate it:
    -- all rows that are in T1 but not in T2
    (select * from schema.T1minus select * from T2@dblink_name)
    union all
    -- all rows that are in T2 but not in T1
    (select * from T2@dblink_name minus select * from schema.T1);
    I created the db link on a database A and when i run the statement
    (select * from schema.T1minus select * from T2@dblink_name)
    on the database B i get the error ORA-02019: CONNECTION DESCRIPTION FOR REMOTE DATABASE NOT FOUND.
    DOes anybody have an idea please

  • Script to comp 2  tables and the difference to be captured in another table

    Hi All,
    I had an urgent requirement and i hope you will answer me and thanks a lot.
    I had two tables (one is custom table i created and another is base table).I created the custom table based upon the base table.
    Now,my requirement is that i need to write a script that compares these two table columns and if there is difference in the tables,we need to capture the difference in another table (third table).
    Eg:
    Say i had person salary as x in table1 for particular person and the salary for this person in table2 is y.So,i need to capture these two columns information in third table.
    Can you please send me your valuable suggestions ASAP.

    insert into diff_table
    select 'A not B', a.* from a minus select 'A not B', b.* from b
    union all
    select 'B not A', b.* from b minus select 'B not A', a.* from a
    /Hemant K Chitale

  • Getting the RMAN scripts triggered from OEM ?

    RDBMS Version : 11.2.0.3/RHEL 5.4
    In our shop, Level 0 , Level 1 scripts are triggered from OEM. I am not an OEM guy :). Is there any way I could retrieve the RMAN scripts used to perform L0 and L1 backups ?

    Hi,
    Connect to EM.
    Go to Availability tab, go to Schedule Backup menu under Manage.
    There you can see: Backup Jobs link.
    You can remove or edit this jobs.
    Mahir M. Quluzade
    http://www.mahir-quluzade.com

  • Any rman scripts?

    Hi all,
    is there any rman scripts that I can download and put to production?
    thanks
    andrew

    Hi,
    Sample Script fine.. Sir..
    Refer to the following doc's.. you will get any Idea
    http://www.idevelopment.info/data/Oracle/DBA_tips/RMAN_9i/RMAN9_12.shtml
    http://www.oracle-base.com/articles/10g/RMANEnhancements10g.php
    http://www.oracle.com/technology/deploy/availability/htdocs/rman_overview.htm
    I am not Angry.. I though you are messing up with Production DB.. That's it.. nothing much.. !!
    I am just helping out not the do any thing on your production DB that is my concern.
    Do Remember you posted the statement
    is there any rman scripts that I can download and put to productionI think you have not specified the any word "SAMPLE" over in first post. Second thing is you specified "on Production"
    - Pavan Kumar N
    Edited by: Pavan Kumar on Feb 16, 2009 6:46 PM

  • RMAN scripts needed?

    Hi all,
    I need RMAN scripts to perform both online and offline backup/recover in windows and unix.
    I am using oracle 9i.
    Could you post some examples or links for me?
    Your help would be greatly appreciated.

    I found few links for you.
    http://oracle.ittoolbox.com/documents/popular-q-and-a/sample-of-rman-script-1391
    http://www.mydatabasesupport.com/content/view/267/60/
    http://orafaq.cs.rmit.edu.au/scripts/index.htm#BRR

  • Analyze table and indexes

    Hi,
    I want to write a dynamic script to analyze the tables and its corresponding Indexes.
    Could anybody please provide a dynamic script as i' m trying to write but not succeeded..
    I have 321 tables and around 500 Indexes to the corresponding tables to ANALYZE...
    Thank you very much..

    user11175946 wrote:
    Hi,
    I want to write a dynamic script to analyze the tables and its corresponding Indexes.
    Could anybody please provide a dynamic script as i' m trying to write but not succeeded..
    I have 321 tables and around 500 Indexes to the corresponding tables to ANALYZE...
    Thank you very much..Please do NOT waste your time doing so
    "For the collection of most statistics, use the DBMS_STATS package, which lets you collect statistics in parallel, collect global statistics for partitioned objects, and fine tune your statistics collection in other ways. See Oracle Database PL/SQL Packages and Types Reference for more information on the DBMS_STATS package.
    Use the ANALYZE statement (rather than DBMS_STATS) for statistics collection not related to the cost-based optimizer:
        To use the VALIDATE or LIST CHAINED ROWS clauses
        To collect information on freelist blocks
    "http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_4005.htm#i2086320
    For V10+ statistics are gathered every 24 hours by default

  • Users priveleges who is able to edit the RMAN script in OEM

    Hi
    Can anyone help me, how to find the list of users who has privileges to change/edit the RMAN script in OEM?
    Thanks

    Hi,
    I believe its required DBA privileges as well as OS level login credential to edit the job,
    you can Query from dba_role_privs which user having DBA role assign, and find those user having OS level Credential.
    HTH

  • RMAN tables and last backup done

    Hi,
    in 10g R2
    which table and which column should be queried to see the last Rman Back up ?
    Thank you.

    hi,
    You get the info from below query.
    select RECID ,to_char(START_TIME,'DD-MON-RR HH:MI AM'),to_char(COMPLETION_TIME,'DD-MON-RR HH:MI AM') from v$backup_set where START_TIME>trunc(SYSDATE);
    Regards
    Jafar

  • Please review the RMAN script and throw any comments which will increase KB

    Dear Sirs:
    I would be grateful if anyone in this forum checks whether the RMAN strategy taken by me is OK or require any room for improvement. I have not yet
    moved into production.
    Environment: ORACLE 10G R2 running on RAC, RHEL 4.0 for Intel Itanium. RMAN script runs every night at 10PM from node 1 of 2.
    ASM is used and all datafiles, controlfiles, arc, redo in SAN
    Process:
    <1> Empty folder "PreviousdayBackup
    <2> Move backup of yesterday night to "PreviousdayBackup"
    <3> Execute RMAN the script provided below.
    run {
         backup
              filesperset=15
              incremental level 0
              spfile format '/archive/backup/rman/spfile_%d_%s_%T.bak' tag 'spfile_backup'
              database format '/archive/backup/rman/data_%d_%s_%T.bak' tag 'full_data_backup';
              crosscheck backup;
              sql 'alter system archive log current';
              crosscheck archivelog all;
              backup filesperset 288 format '/archive/backup/rman/cscdb_data_archive_%d_%u' archivelog all delete input;
              delete archivelog all completed before 'sysdate-7';
              delete noprompt expired archivelog all;
              delete noprompt obsolete;
              backup current controlfile format '/archive/backup/rman/%d_data_control_%s_%p_%u' tag 'control_file';
    The Tape runs at 3:00AM in the morning and takes all the files from '/archive/backup/rman/'
    _*RMAN Configuration*_
    CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
    CONFIGURE BACKUP OPTIMIZATION OFF;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/archive/backup/rman/ctrl_%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE MAXSETSIZE TO UNLIMITED;
    CONFIGURE ENCRYPTION FOR DATABASE OFF;
    CONFIGURE ENCRYPTION ALGORITHM 'AES128';
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/product/1020/db_1/database/snapcf_cscdb1.f';
    I am also not getting the concepts properly on :
    delete archivelog all completed before 'sysdate-7';
    delete noprompt expired archivelog all;
    delete noprompt obsolete;
    Is the delete within the RMAN pieces or within the folder. It would be great if someone can explain me on these
    Awaiting for your kind response
    Caesar
    Edited by: caesar dutta on 10-May-2012 00:10

    Hi emre baransel :
    Step 1: Delete from folder "previousdaybackup"
    Step 2: Move last night backup from "/archive/backup/rman" to "previousdaybackup"
    Step 3: Run RMAN and backup is stored at "/archive/backup/rman"
    Stpe 4: Data is backed up to DLT cartridge from "/archive/backup/rman"
    The folder "/archive/backup/rman" is a separate partition from SAN mounted in the LINUX SYSTEM as ext3
    Why did you chose filesperset=15, do you have specific purpose?Well I am looking at existing RMAN in the place and not changing any basic configuration. Frankly speaking I do not have answer to this.
    I have changed the RMAN commands as
    run {
         backup
              filesperset=15
              incremental level 0
              spfile format 'D:\archive\backup\rman\cscdb1\spfile_%d_%s_%T.bak' tag 'spfile_backup'
              database format 'D:\archive\backup\rman\cscdb1\data_%d_%s_%T.bak' tag 'full_data_backup';
              crosscheck backup;
              sql 'alter system archive log current';
              crosscheck archivelog all;
              backup filesperset 288 format 'D:\archive\backup\rman\cscdb1\cscdb_data_archive_%d_%u' archivelog all not backed up 2 times;
              delete noprompt archivelog all completed before 'sysdate-7';
              delete noprompt expired archivelog all;
              delete noprompt obsolete;
    I feel that I will be in a safer side.
    Please provide comments. Anything that will increase knowledge base and will educate others too in this forum.
    regards,
    caesar

  • Get "Creation Script" of the existing table ( in SQL database) using C# and without using SMO dlls

    Hi All,
    I need to get the "Creation Script" of the existing table using c# and without using SMO dlls (is it possible? I don't know).
    I.e. In SQL Management Studio -> right click on any table -> Script table as -> Create To  - > open in the new query editor window. This will give you the schema of the table with the constraints of the table.
    For E.g. In Northwind database, for the table "Categories", I would like to get it as show below
    USE [Northwind]
    GO
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[Categories](
        [CategoryID] [int] IDENTITY(1,1) NOT NULL,
        [CategoryName] [nvarchar](15) NOT NULL,
        [Description] [ntext] NULL,
        [Picture] [image] NULL,
     CONSTRAINT [PK_Categories] PRIMARY KEY CLUSTERED
        [CategoryID] ASC
    )WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
    ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
    GO
    I would like to get the same schema using c#. Please help.
    Thanks & Regards,
    Kalai.

    SMO is the easiest way to get this. This is what Management Studio uses. If you can't use SMO, get a Profiler trace of the queries that SMO executes when generating the script and execute the same using ADO.NET.
    Regards,
    Farooq Mahmud
    Support Escalation Engineer 
    •  Microsoft Health Solutions Group

  • Get values from a node and Cast it back to a table

    Hi guys!
    Anyway know if it is possible to get the values from a table(That was binded previously) and cast it back to a table structure so i can manupilate the fields inside...
    My scenario here is to get an input and mass update tis input into the corresponding field in the table...
    Any suggestions are welcome and points will be awarded generously! ")

    Hi Ravikiran,
    In your example you update node node_list with the content of internal table tab_list..
    The content of the node can be retrieved as an itab using:
      tab_list = node_list->get_static_attributes_table( ).
    This method only returns the values static attributes of the node. Dynamic attributes added at runtime using dynamic programming are not returned, since they are managed in a different inside of the context node.
    Best regards,
    Thomas

  • Tables and structures are used in a standard scripts

    how to find which tables and structures are used in a standard scripts?
    pls explain step by step process...
    Edited by: abap on Jun 21, 2008 4:36 PM

    Go to Transaction SE80, Select Program and paste that program name below..
    Then drop down the tree of that program...then you will find option " Dict. Structures"..
    Here you can find the tables which has been you for that transaction / program.
    Regards,
    Santosh

Maybe you are looking for

  • Bootcamp 5.0 installation: Blank Screen with blinking cursor after restart

    I have a late 2011 mbp with 16gb ram, 2 750gb hard drives. I'm trying to install bootcamp on the 2nd hard drive. I'm using the cd drive in an external usb housing to install windows 7 ISO burn. I've used this cd several times in the past with no issu

  • Mac mini audio output

    Hi, i've seen this interesting program http://www.algoriddim.net/index.html for djs. These djs program usually use to way to work: - dual sound card - mutiple output on a single sound card This program use the second approach.... but mac mini has onl

  • IPod Updater 2005-09-23 HELP!

    Ok.I downloaded the new software because I needed it on my iPod.I restarted my computer and when I clicked on iTunes it says I need to update it but I already did.And I already have it installed.HELP!!!!!!

  • Automatically refresh the report tabs after selecting the parameters in bip

    Hello Everything!! Is there a way to automatically refresh all the report tabs once we select the parameters? The report are not refreshed automatically in each tab and users have to either hit apply button or refresh button for each report tab . Is

  • Time Machine:  Case Sensitivity?

    On a mission of relative innocence, i ran into a (COPY) Error Message that made me wonder if more serious problems lay down the road. I don't have Time Machine on, or my external drive connected, all the time, I prefer to back up about once a week. T