How to run exp command for backup in Oracle APEX 4.0

Hi!
I am using APEX 4.0 with Oracle R11i. For Daily Backup I have to use the "CMD" procedure. Is it possible to run this "EXP" script through a BUTTON or anything else in Oracle APEX 4.0
Looking For You Quick Response
With Best Regards

Why not instead run a dbms_scheduler job to handle your backup? Or better yet, just build a scheduled job to run every night and you don't need to have the user run ANYTHING?
Thank you,
Tony Miller
Webster, TX
Never Surrender Dreams!
JMS

Similar Messages

  • SYSTEM HANGS WHILE RUNNING EXP COMMAND IN ORACLE 10G

    WHEN WE ARE RUNNING THE EXP (EXPORT) COMMAND IN ORACLE 10G
    TO TAKE THE BACKUP IT GETS HANGED FOR A LONG TIME AND THEN IN THE LOG FILE WE FIND THE FOLLOWING ERROR MESSAGE.
    SOMETIMES AFTER RESTARTING THE SERVER WE ARE ABLE TO RUN THE EXP COMMAND.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user MANHAR
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user MANHAR
    About to export MANHAR's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    *********************************** AT THIS POINT THE SYSTEM HANGS FOR A LONG TIME.
    EXP-00056: ORACLE error 24324 encountered
    ORA-24324: service handle not initialized
    EXP-00056: ORACLE error 24324 encountered
    ORA-24324: service handle not initialized
    EXP-00000: Export terminated unsuccessfully
    THE EXP COMMAND THAT WE USE IS AS FOLLOWS:
    EXP MANHAR/MANHAR FILE=F:\BACKUP\MANHAR.DMP LOG=F:\BACKUP\MANHAR.LOG BUFFER=1000000 GRANTS=Y CONSTRAINTS=Y
    WE ARE RUNNING THE EXP COMMAND ON THE SERVER ITSELF.
    THE SERVER OPERATING SYSTEM IS WINDOWS 2003 SERVER.
    Kindly give us a solution at the earliest.

    You should ask Oracle support for help. There's only one entry for this error stack (Bug 3361288 - Export of XMLSCHEMA may fail with ORA-24324 in UTF8), but it should have been fixed for your DB version and , as far as I can see, you don't have a Unicode database.
    Werner

  • How java runs in command prompt and why java runs on it

    how java runs in command prompt and why java runs on it

    command prompt was used before the development of IDEs like RAD,eclipse etc.
    its still used for better understanding of the compilation and errors.
    type the java file and save the file(source file) in the bin folder of ur jdk environment with extension .java. the source file must be the one that has the main method declared.
    in the cmd prompt screen , set the path of bin folder.
    eg:C:/program files/jdk(some version)/bin/...
    for compilation,type:
    javac (source file_name).java and press enter
    for running the file:
    java source file_name

  • How To run Currency translation for Consolidation Application in BPC NW

    In "How To do Currency Translation for Financial Application in BPC 7 NW", the author mention that there is another "How To run Currency translation for Consolidation Application in BPC NW", anybody know where to get it?

    Hi...
    Check if the below links are useful to you.....
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/6052a57b-8c64-2c10-b3a5-b0378ff21243&overridelayout=true
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0ea1fd8-d6d3-2a10-c1ab-e8164dd98316
    You can find all How-to docs in the below link
    http://wiki.sdn.sap.com/wiki/display/BPX/EnterprisePerformanceManagement%28EPM%29How-to+Guides

  • How to run wrap command

    Hi,
    I want to run wrap command for encryption.
    I am a bit confused about syntax.
    Can anybody help.
    Prashant....

    I am a bit confused about syntax. Have you read the documentation? If so, which part of it is confusing you?
    Cheers, APC
    Blog : http://radiofreetooting.blogspot.com/

  • [SOLVED] Error running install command for soundcore

    Hi,
    I use OSSv4 instead of ALSA. Everything is working correctly but I noticed an error message in the bootlog:
    systemd-udevd[204]: Error running install command for soundcore
    What does this mean? Why is there an error?
    Of course I blacklisted the ALSA module as it is described in the wiki: https://wiki.archlinux.org/index.php/OSS#Install
    best regards
    nuc
    Last edited by nuc (2013-02-07 18:09:57)

    Ok, thanks for the info.
    But why does the wiki suggest to run "install soundcore /bin/false" instead of just "blacklist soundcore"? In earlier revisions the wiki suggested to do "blacklist soundcore" (https://wiki.archlinux.org/index.php?ti … did=231068).
    Doesn't this actually have the same effect?
    EDIT:
    I found this https://wiki.archlinux.org/index.php/Ke … acklisting
    Last edited by nuc (2013-01-27 18:20:01)

  • How to run Crypto Tools for SSO Enabling

    Hi Friends,
    How to run Crypto tools for SSO enabling. If any body knows please help me...
    Thanks

    Hi ;
    what is the script for windows Environment...

  • How to run wfstatus.sql  for i-Expenses

    how to run wfstatus.sql for i-Expenses in 11i EBS.

    Pl see MOS Doc 295078.1 (Maintenance Pack, Patchset, and Rollup Patch Level for Internet Expenses 11i)
    HTH
    Srini

  • How to delete buttons in region buttons in oracle apex?

    how to delete buttons in region buttons in oracle apex?
    i have created unwanted buttons...so i have to delete...
    but i dont know how to do this?

    Hi,
    -> In apex page go to buttons region where list of buttons are located.
    -> Select the button which you have to delete.
    -> Click on "Delete" button on top of page.
    -> It will ask for confirmation click "Ok" to delete that button
    OR
    -> In apex page go to buttons region where list of buttons are located.
    -> Click on "Edit all" icon and go to "Delete multiple buttons" tab.
    -> Check the buttons which yo want to delete.
    -> Click on "Remove Botton" button to delete selected button
    Regards,
    Kartik Patel
    http://patelkartik.blogspot.com/
    http://apex.oracle.com/pls/apex/f?p=9904351712:1

  • How do run unix command in java

    hi
    All unix command working fine in our java program.
    but i want change user in linux by using java. it's not working.
    "su root" This command onely not working.
    anybody know help me
    This is my ID [email protected]
    This my code
    <% String s = null;
    try{
    Process p = Runtime.getRuntime().exec("su root");
    BufferedReader stdInput = new BufferedReader(new
    InputStreamReader(p.getInputStream()));
    BufferedReader stdError = new BufferedReader(new
    InputStreamReader(p.getErrorStream()));
    out.println("Here is the standard output of the command:\n");
    while ((s = stdInput.readLine()) != null)
    out.println(s);
    catch(Exception e) {}
    %>

    I don't have further info to add to your first post, but think your guess seems quite reasonable. I thought of starting a new thread on the same topic, but think this (question) fits in here, too.
    I have Java code (freeware, not opensoure), intended for Unix, which basically provides the graphical interface and relies on an I/O layer (C + shell scripts) to do most of the work. I have access to the C+shell scripts which are opensource. I ported it to Cygwin and want to use it under Windows (there is no Cygwin native Java VM).
    My problem now boils down to " how to run commands under Unix and what differences are there with Windows". What are the variants?
    I have to guess what the program is doing when I get an IOException at some point. E.g.: a call to shell script may be made in a different way as to a compiled exe in Unix?. I found a way to bypass path problems because forward slashes are also accepted and /cygdrive/c construct can be replace by c:/; shell scripts can be compiled into exes using shc and they work; if symbolic links are replaced by duplication of exe files, they work. What will happen in an instance whereby a process runs a shell script dynamically, through a pipe (the shell script is compiled in the Cygwin/win version and receives parameters) in a construct like:
    pipefp = epopen(cmdbuf,"w"); /* (cmbuf is "makehdr par1 par2 ... ") (makehdr was a shell script and is now compiled exe for Cygwin/Windows) */?.
    Thanks.
    LT

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

  • How to run a command line window from code?

    In an application I need to run a dll file with a few arguements. These arguements can be given in the command line window. The execution of the dll file will return a string that i need to get (for the parsing etc).
    1. How can I open a command line window from the Java code?
    2. How to run commands on it?
    3. How to get the results of the commands from the command line into my program?

    In an application I need to run a dll file with a few
    arguements. These arguements can be given in the
    command line window. The execution of the dll file
    will return a string that i need to get (for the
    parsing etc).
    A dll is used by other programs. It is not possible to run it from the command line.

  • How to run zonecfg command-line to add device in postinstall script?

    I want to assign a tape drive in non-global zone in postinstall script. I can run zonecfg with a command-file, but don't know how to run zonecfg to add device in a whole command-line.
    The command-line fails to run:
    # zonecfg -z sun1 add device set match=/dev/rmt/173b
    syntax error at 'set'
    Commands:
    add <resource-type>
    (global scope)
    add <property-name> <property-value>
    (resource scope)
    cancel
    commit
    create [-F] [ -b | -t <template> ]
    delete [-F]
    end
    exit [-F]
    export [-f output-file]
    help [commands] [syntax] [usage] [<command-name>]
    info [<resource-type> [property-name=property-value]*]
    remove <resource-type> { <property-name>=<property-value> }
    (global scope)
    remove <property-name>=<property-value>
    (resource scope)
    revert [-F]
    select <resource-type> { <property-name>=<property-value> }
    set <property-name>=<property-value>
    verify
    Thanks for your help!

    Quote the parameters and embed the newlines:
    zonecfg -z sun1 'add device
    set match=/dev/rmt/0
    end'

  • How to run a command prompt " command " through java code

    hi all,
    There is a command
    "java -jar selenium-server.jar -interactive"
    which i am running through command prompt after going to D:\MyFolder\Examples .
    i want to execute this command using java code .please help

    This has already been answered in your other two threads on this topic - http://forum.java.sun.com/thread.jspa?threadID=5221221&messageID=9898287#9898287 and http://forum.java.sun.com/thread.jspa?threadID=5221223&messageID=9898290#9898290.
    For some reason you don't want to read the reference that tells you exactly how to do what you want and how to avoid the pitfalls - http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html .

  • How to run a command line argument

    i want to run a command line argument, say for eg......i want to execute the "dir" command on the dos prompt and capture the output.
    how can i do this.
    actually i want to capture the output of the ping command and write it to a file. can any body plsssssss help

    This command runs a ping to "address" and writes the output back to the command line. To capture it, just put strings into an array or do whatever you want with it. If you want to wait until the program completes before reading its input, use p.waitFor().
    Process p = Runtime.getRuntime().exec("ping " + address);
    BufferedReader in = new BufferedReader(new InputStreamReader(p.getInputStream()));
    String currLine = null;
    while((currLine = in.readLine()) != null)
      System.out.println("ping: " + currLine);
    [/code                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for