How to include Date for backup of Oracle in a script !!! LINUX

hi,
I need to add date & time for the backup of Oracle 10g on OEL 5 32 bit.
and also how do I get an email when Rman finishes its job
Thanks in advanced.

user584721 wrote:
Thanks for the update..
I am using a script called full_dpbackup.sh which contain the following ...
expdp system/oracle schemas=scott directory=test_dir dumpfile=scott.dmp logfile=expdpscott.log mpencryption=all encryption_password=scott reuse_dumpfiles=y compression=all
I need to include the date & time in this script.
Thanks in advanced.That's not a backup, it's an export.
I don't have my linux system handy to debug, but what you want would be something like:
expdp ..... dumpfile=exp_`date`.logThe reverse single quote (I don't know the official term, but it's the character just to the left of the one/exclamation on a US keyboard) tells the shell to substitute the value returned by the command enclosed by the marks. In the example above, it would substitute the value returned by the "date" command. That command has many, many arguments to control the format of what is returned. Look them up an any good nix reference, or just "man date".  (As for any good nix reference, you should at a minimum have a copy of "Unix In A Nutshell" on your desk.)

Similar Messages

  • How to upload data into form of Oracle EBS R12 using ATS ver 9.0

    Hi experts,
    Could you please guide me how to upload data into form on Oracle EBS R12 using Oracle Application Testing Suite verson 9.(The simpliest way)
    For example: I need to create user account on Oracle EBS. Normally, I use Dataloader to upload the data, however it just can upload one by one record, cannot upload multi record at same time. Moreover if the performance of server is low, so I will get the issue when using dataloader.
    Thanks in advance
    Best Regards
    Hieu

    Hi you can create Virtual users to enter data. Note than you have to name the objects accordingly.
    For Example default recording provided by Open script is ObjectNAME_(Index No of the object).
    when you record one iteration the name of any object would be ObjectNAME_(0)
    You can then create virtual users so the index will increment as the total number of Virtual users increases. Also you have to handle which row of your test data would get mapped to which Virtual user in the script run session.
    Thanks

  • How to access Data Guard option in Oracle 10g OEM

    Hi All,
    I have Oracle 10g ENTERPRISE EDITION on Unix envoirement. I want to setup logical standby Database through Data Guard technology. But when I brows through OEM I do not find Link for DATA GUARD????
    1) How to access Data Guard option from oracle 10g OEM.
    2) Does It come with Enterprise Edition OR I have to install it separately.
    Regards,
    Darshan

    I am managing almost everything through EM Grid Control. It is easy to setup and configure.
    Anyways, if you have read the documentation on
    Oracle® Data Guard Concepts and Administration and setup your environment accordingly then you should not have any problems. Atleast I can assure you that your production database will not be affected by it.
    Just make sure that you follow each step and read thoroughly. If you have spare machines then you can test and record your configuration before performing it on your production db. This link will provide you with the information on DataGuard.
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14239/concepts.htm
    If you think that way then you will never be able to do any new stuff since you will always fear that something might go wrong. Go ahead pal, try it on test machines and you will know that it is not that difficult.
    There are real experts who help people like us in this forum and I know that they are doing a pretty good job.
    All the best.
    Rgds
    Adnan

  • How to introduce data in a database oracle

    how to introduce data in a database oracle from a text fields using jsp pages.
    supposing :
    my text field is nombreText
    my database fields is nombre_cliente
    �how guards-how saves!
    please.....

    http://developer.java.sun.com/developer/onlineTraining/Database/JDBC20Intro/

  • How to populate data for 2LIS_40_REVAL, 2LIS_43_POSCAS and 2LIS_44_POSREC

    Hi
    How to populate data for 2LIS_40_REVAL, 2LIS_43_POSCAS and 2LIS_44_POSREC datasources at RSA3?
    I'm very new to retail BI.
    I think there is no setup tables for Retail infosources.
    Any IDoc or BAPI activation is required or other procedure?
    We are in BI-700 SAPKW70015 support pack R/3 side
    and SAP_BW 700 Support pack SAPKW70016 &
    BI_CONT 703 Support pack SAPKIBIIP9 BI side
    Can anyone guide me how to load data?
    Points assured
    Thanks in advance
    Ramana P

    Dear Ramana,
    There is no setup table for POSCAS and POSREC.This has to be popuated with a BADI Implementation. 
    As of PlugIns 2002_1_470 and 2002_2_470, POS data is update into BW the 2LIS_44_POSREC and 2LIS_43_POSCAS extractors using a BADI. To be able to update data into BW, the relevant implementation for the BADI must be activated in each case. You can activate the implementation in transaction SE19. The implementations are as follows:
    POS_EX_REC_PI2003_1 for extractor 2LIS_44_POSREC
    POS_EX_CAS_PI2003_1 for extractor 2LIS_44_POSCAS
    Once the activation of BADI , create the back ground jobs for the 44 application and the data is pushed into Delta queue and it can be loaded into BI .
    Hope this helps you.
    Thanks,
    Krishna Charan

  • Scenario : How to include scales for delivery schedule

    Hello,
    1.How to include scales for delivery schedule
    Example u2013 I have a total SA for 10000 EA for Rs 10 EA
                  i.     When SA line And GR  is for 0-100 system should take  Rs 10 EA
                 ii.     When SA line and GR is for 101-1000 System should Rs 9.50 EA
                 iii.     When SA line and GR is for 1001-5000 system should take Rs 9.00 EA.
    How to do ?
    Regards
    sapman man

    Hi,
    This you have to maintain in Scheduling agrement document itself.
    In scheduleing agreement (ME31L)--> Pricing Condition Icon.  if you select this there you can find the scales assignemnt in headel leavel icon. (F2).
    If assgin this will fllow in delivery schedule line.
    SAM

  • How to include contextMenu for whole swf

    Hi everybody,
         Let me know How to include contextMenu for whole swf?

    I have a similar problem.
    Stand alone my Sprites custom context menu always works. I can instantiate it using code, and nest it 'n' levels deep.
    When I add it to my main application, a default context menu is shown.   The main application is very complex - as it's a design application similar to Balsamiq Mockups - so every individual widget has a stand alone test harness.   This has been working very well as a way of coping with the size and complexity of the main application. But the context menu thing just doesn't work in the main application, and from the documentation I've seen nothing that suggests I should have had any problems including else wher.
    Please, please if anyone knows why in some scenarios a context menu stops working and the default context menu is shown instead then please share as I'm at the point of tearing my hair out on this....

  • HT4623 how to recover data for contacts on iPad mini

    how to recover data for contacts on ipad mini?

    You don't give much info to go on. Do you sync your contacts?

  • IDOC: How to fill data for sub segments ?

    Hi,
    I have 3 segments, segA , segB , segA1 . segA1's parent segment is segA . segA and segB are at the same level .
    How to fill data for segA1  ? can you give some sample code ?
    Thanks a lot !

    hi,
    You can fill the segment in the sequence in the idoc either parent or child.
    In you case first fill parent segment SEGA next SEGA1. Then you can fill the SEGB.(If segB is deifned as next segment of segA in the idoc structre)
    Thanks and regards,
    shyla kumar

  • How to include scales for delivery schedule.

    Hello,
    How to include scales for delivery schedule.
    a.       Example u2013 I have a total SA for 10000 EA for Rs 10 EA
                                                                   i.      When SA line And GR  is for 0-100 system should take  Rs 10 EA
                                                                 ii.      When SA line and GR is for 101-1000 System should Rs 9.50 EA
                                                                iii.      When SA line and GR is for 1001-5000 system should take Rs 9.00 EA.
    Normaly SA will calculate Scales based on target qty, not delivery schedule qty?
    Regards
    sapman man

    Hello SAPman man ,
    Please read SAP Note 401941. This could be helpful depending on what Release you are running.
    SAP Note 401941 -  Incorrect price at time of GR
    I hope this information has been helpful for you.
    Best Regards,
    Frank

  • How to fetch data for sales order costing

    Hi All,
    How to fetch data for VA03 --> Extras --> Costing having cost element details.
    Thanks
    Gaurav

    Hi Gaurao ,
    There is no such function module  to extract data  in one column   , you have to  Convert all the columns data    in one column
    for period   .
    regards
    Deepak.

  • How to fill data  for asset accoutning datasources

    hi gurus
    i want to know how to fill data for the FI:asset accounting data sources.As these datasources are not related to Logistics,i think filling setuptables concept doesnot come into picture here.thenhoe to  fill data for the datasources:0FI_AA_001,0FI_AA_005,0FI_AA_006
    Pls give me some inputs ASAP
    Its very Urgent
    Thanks in Advance
    Surya Reddy

    Hi,
    Asset Accounting works with Timestamp mechanism.  No Setup table concept like logistics.  Find the prerequisites for AA extraction.
    For Asset Accounting Delta Extraction you first need to have this BADI - FIAA_BW_DELTA_UPDATE active in the system:
    Check the link below for more details about the badi and the delta extraction procedure.
    http://help.sap.com/saphelp_nw04/helpdata/en/a8/f4153c4eb5d82ce10000000a114084/frameset.htm
    Sequence of Data Requests
    For summarization of line items by master record characteristics (such as cost center) during posting of ODS objects to Info Cubes, master data must already exist prior to extraction of transaction data.
    Also the following sequence must therefore be kept to during extraction:
    1. 0FI_GL_4 General Ledger: line items (if required)
    2. 0ASSET_ATTR_TEXT Asset sub number (flexible updating)
    3. 0ASSET_AFAB Depreciation area real or derived
    Then the transaction data
    0FI_AA_11 FIAA: transactions and / or
    0FI_AA_12 Posted depreciations (period values)
    Hope it helps
    Regards
    Srikanth

  • How to bring data for newly aciated datasource in a Application componenet

    Hi ,
             i have 2 data sources(application component 11) are active in production system. and  delta load is running for them.
    Now we have a requirement that we need to activate the 3rd datasource in the same application component 11.
    so, how to bring data for the newly acivated datasource. Do i delete the setup table data and again run statistical setup and run the init for the three data sources?
    how to do?

    Hi,
    To bring the data for the new data source you need to delete the data from setup tables and need to fill up again. before filling up the tables, its better to load the delts for other 11 application components data.
    Your deltas will come from delta queue, by deleting the setup tables, you will not impact your delta loads.
    So just fill up setup tables and run your init package. it will extract the data.
    Thanks
    Srikanth

  • How should restrict data for particular month?

    Hi Experts,
    How should retrieve data for particular month without where condition.

    Hi,
    You must be having Month Object right in your Webi?
    User will be given opportunity to Select his/her required [Month]
    Create variable as =Userresponse("Enter value for Month")same text as you are giving in the Prompt text....Name it as [UMonth]
    Go to analysis tab..Filter..Add filter...[Month]=[UMonth]
    always this report will run for the month user require

  • How to load data with carriage return through DRM action script ?

    Hello,
    We are using DRM to manage Essbase metadata. These metadata contain a field for member formula.
    Currently it's a string data type property in DRM so we can't use carriage return and our formula are really hard to read.
    But DRM support other data type property : memo or formatted memo where we can use carriage return.
    Then in the export file, we have change the record delimiter to an other character than CRLF
    Our issue : we are regularly using action script to load new metadata => How to load data properties with carriage return using action script ? There is no option to change the record delimiter.
    Thanks!

    Hello Sandeep
    here what I want to do through action script : loading a formula that use more on than one line:
    Here, I write my formula using 4 lines but action script cannot load since one line = 1 record.
    ChangeProp|Version_name|Hier_name|Node_name|Formula|@round(
    qty*price
    *m05*fy13

Maybe you are looking for

  • Select from v$sql_plan in a procedure

    Hi I''m attempting to save plans (from V$SQL_PLAN) into a table using a procedure in schema APPS, but keep getting missing table error, PL/SQL: ORA-00942: table or view does not existI then granted an explicit SELECT to APPS on the V$SQL_PLAN table f

  • Copying to Network Drive Error code -36

    Hi all, Recently I have upgrade my MacPro from 10.5.8 to 10.6 and I encountered such problem. I have read this post: http://discussions.apple.com/thread.jspa?threadID=2139000 and tried any method including dot_clean, Enabling/Disabling named streams,

  • White still showing in PDF but not in Photoshop after making selection

    Hi, The first attachment is a selection I've made of a makeup brush that was originally on a white background.The second attachment is a screenshot of how that brush is showing up after I place the selected brush in an Illustrator file and export to

  • Having 2 condition type discounts show as active in the sales order.

    1 condition type discount has value 0% 2 condition type discount has value 31%. Both are showing green and being active. once I place a digit intead of the 0%   Ex: 29% then the 2nd condition then becomes inactive and works fine. What the user would

  • Fillable fields "only if"

    Hi, I create fillable fields on a form in which existing values are to be completed only when a checkbox is checked. My problem is this: Page1 [name] (manually compiled) [Last name] (manually compiled) [Address] (manually compiled) [etc...] (manually