Need Export script

i want to schedule the export of full database on daily basis.
DB is on windows2003 server.
can any expert provide me the script to automate this job eiter by operating system script
or by using SQL script.
Thankx in Advance...

You can get answers in Google for this
from cmd
cmd>exp username/pwd@hoststring file=c:\dbbackup\SID.dmp full=y buffer=671000864
create a batch file
set the oracle_sid in the batch file before issuing the export command
Should help
shedule this batch job in windows scheduling options
Message was edited by:
Maran.E

Similar Messages

  • HELP, need quick script fix

    Hi,
    Our InDesign is acting up here. We are designing massive amounts of tables for various annual reports. After the design for print is done, these tables need exporting to xHTML.
    We have tested this extensively, and written complicated CSS files and many cell-styles to make it work.
    The thing is, that now when the final test-export needs to be done. InDesign suddenly returns a Stack Overrun error message when exporting. The only thing that seems to happen is that we cut out each page, paste it into a new document, save, and then do the xHTML export. But we are talking hundreds of pages here.
    My Apple script is not too good, but I am sure this can be done by a simple script. And I am quite sure it has been done before.
    Can anyone here please point me in the correct direction.
    PS. A bug report has been made to Adobe about this issue

    Thank you for the quick reply. Smart ports look very cool. I like the idea and may find this useful for other purposes but if I am reading this right, it won't work for what I need. It looks like he would need to log into the switch to apply the macro. He is a phone guy and does not want to actually touch the switch. So I was looking for like a perl script of something that I could configure with my TACACS credentials. Also I won't know what port he needs reconfigured until he needs it, so I need him to be able to add the port number as a variable without him actually having to do any programming. he would be will to run it as part of a command (i.e run command.exe 10.10.10.22 g1/0/22 222, where 10.10.10.22 is switch IP, g1/0/22 is port, and 222 is the new vlan) or if I can do somekind of prompt that would be great!

  • Editing an export script - please help!

    Hello Photoshop friends,
    so I have an export script that I downloaded from the web which exports all layers to a file type of your choice - PNG, GIF, etc. This is fine, but the dialog box doesn't support file format options such as matte, dither, transparency and so forth. Is it possible to edit the script to give it literal values for these inaccessible variables instead of the default? I'v been digging around the script, but I'm not really sure what I'm doing.
    Specifically, I want to leave the script intact except the following settings for the PNG8 format:
    Colours 256
    Transparency - YES
    "No transparency dither"
    Matte: "none" (currently it gives me a white matte)
    Please, I would really appreciate if anyone could point me in the right direction please, please!
    Ulerika.

    Hey Michael, thanks for your quick reply. I tried to attach the script, but the forum won't allow me to do so. The script in question is here:
    http://tranberry.com/photoshop/photoshop_scripting/tips/layerstoPNG.html
    There is one big section dealing with PNG8 which I suspect is the place which needs to be changed. An extraction from this section for example reads:
    "var id35 = charIDToTypeID( "Mtt " );
    desc4.putBoolean( id35, true ); //matte
    var id36 = charIDToTypeID( "MttR" ); //matte color"
    Thanks.

  • Use of Import and Export script

    Hi,
    Can any one tel me what is the use of Import and Export script.
    After moving the pages from / into server what is the need of giving the import / export command.
    export /oracle/apps/ap/setup/webui/customizations/site/0/SetupPG -rootdir <destination path> -username <data base user name> -password <data base password> -dbconnection "(description = (address_list = (address = (community = tcp.world)(protocol = tcp)(host =<hostname> (port = <port id>)))(connect_data = (sid = <sid>)))".
    Thanks in Advance,
    Jegan

    And Export/Import is also used to move personalizations and substitutions from one system to another system.
    You can also use Functional administrator UI to export and import pages.
    Functional administrator in turn uses export/import internally.
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • I need a script, is it possible?

    Hello all,
         I need a script that does the following.
    I select an object in AI CS3 and then execute the script.
    1st. The script takes the object and fills it with 100% magenta and makes it a spot color named CC.
    2nd. The script then resizes the document to 1" larger than the selected object and centers all art in the middle of the art board,. (so if the object is 10.5" x 15.7" the document setup size is changed to 11.5" x 16.7")
    3rd. The script then stores the size of the selected object and the new resize of the document setup on the clipboard. So if I paste into notepad it would paste "10.5 X 15.7 - 11.5 X 16.7"
    That is it, it does not need to be exact on the pasting syntax but close if you know what I mean. This will be used in a production environment so a hot key to execute the script would be nice.
    If I can get help with this it would be awesome, Please let me know if you can help.
    Anton

    there you go
    var doc = app.activeDocument;
    var sel = doc.selection;
    var doc2 = null;
    for(j= sel.length - 1; j>= 0; j--) {
        var spotty = new SpotColor();
        spotty.tint = 100;
        var spottyColor = new CMYKColor();
        spottyColor.magenta = 100;
        spotty.spot = doc.spots.add();
        spotty.spot.colorType = ColorModel.SPOT;
        spotty.spot.name = "CC";
        spotty.spot.color = spottyColor;
        sel[j].fillColor = spotty;
        sel[j].name = "##REFERENCE";
        var nInc = new UnitValue(1, "in");
        var cWidth = new UnitValue(sel[j].width, "pt");   
        var cHeight = new UnitValue(sel[j].height, "pt");
        doc2 = app.documents.add(DocumentColorSpace.CMYK, cWidth + nInc.as("pt"), cHeight.value + nInc.as("pt"), 1);
        var newSel = sel[j].duplicate(doc2);
        var nTL = parseFloat((nInc.as("pt") / 2));
        var nTop = cHeight.value + nTL;
        newSel.position = [nTL, nTop];
        grabAndCenterObjects();
        var txtFrm = doc2.textFrames.add();
        txtFrm.contents = "Old dimensions: " + cWidth.as("in").toFixed(2) + " X " + cHeight.as("in").toFixed(2) + "\" New dimensions:" + (cWidth.as("in")+1).toFixed(2) + " X " + (cHeight.as("in")+1).toFixed(2) + "\"";
        doc2.selection = null;
        txtFrm.selected = true;
        app.copy();
        txtFrm.remove();
    function grabAndCenterObjects(ignorePath) {
        for(j = doc.pageItems.length - 1; j >= 0; j--) {
            if(doc.pageItems[j].name.indexOf("##REFERENCE") > -1) continue;
            var mElem = doc.pageItems[j].duplicate(doc2);
            var left = (doc.pageItems[j].width > doc2.width) ? -(doc.pageItems[j].width - doc2.width) / 2 : (doc2.width - doc.pageItems[j].width) / 2;
            var top = (doc.pageItems[j].height > doc2.height) ? (doc.pageItems[j].height + (doc.pageItems[j].height - doc2.height)/2) : (doc.pageItems[j].height + (doc2.height - doc.pageItems[j].height)/2);
            mElem.position = [left, top];
    hope it helps;
    cheers;

  • Need java script 6.26 to use banking software keep getting "the connection was reset" error Java appears on addon blocked list

    I am trying to use Team One Credit Unions CU@home to access my accounts. Their support team tells me I need Java script 6.26. I show that on my add on list but it also states Java is blocked on the blocked software list. How do I get Java script running so I can do my home banking or at least test it to be sure that is the issue. I have tried running this program with Java enabled and disabled with the same results.

    To avoid confusion: http://kb.mozillazine.org/JavaScript_is_not_Java
    See:
    * http://kb.mozillazine.org/Java
    * http://kb.mozillazine.org/JavaScript
    Java 6 U26 is about the Java plugin.
    You can see in "Tools > Add-ons > Plugins" if the Java plugin is installed and also on the about:plugins page via the location bar.
    * http://www.java.com/en/download/help/testvm.xml - How do I test whether Java is working on my computer? - 1.4.2_xx, 1.5.0, 6.0

  • Need help - need a script

    Hi All,
    I have no knowledge of applescript and need something made to meet a deadline. I am a graphic artist for the national office of a non-profit with 400 agencies.
    I need a script to control adobe illustrator to make customized logo packages for all of the agencies. I have 5 base documents. There are multiple logos per document. The text is set as "aaa" that needs to be customized. I am doing a find and replace to insert the text. Each file also has a 'tagline' layer that gets turned off and saved that way also.(a PNG) One master file gets saved as an illustrator PDF.
    I need the script to ask me what the agency number is and also what the agency name is and make/name a new folder and then process the logos in illustrator saving the files in the new folder.
    They needed to be completed yesterday, but it takes me roughly 10 to 15 minutes to do one agency. I have no time to work on them during the day a all so I am pretty deserate. We have no budget for this, but I am willing to pay $50 or so out of my own pocket(sorry... recently had twins so I'm broke too)
    Please contact me at [email protected] if you could do this.

    Hi jasonschaeffer
    try here
    http://macfreelancer.com/
    Budgie

  • I need a script to invert the page order of selected pages for cs5.

    Hello,
    I am a graphic designer and i am trying to create a easier way to make multiple page folders, By using the multiple page size feature in inDesign CS5. But my problem is that i can create the front side of the folder easier than before, the backside is my problem I need to inverse the page order manual, this creates a lot of mistakes and errors along the way. Thats why I need a script to invert the page order of the pages I select. I hope to hear from someone soon.
    My best regards,
    Gijs van Roij

    In /gateprd/ARCHIVE/*.arc
    This is the script to remove the archives after it has been backup by the netbackup policy named Archive. This policy removes the archives that have been backed up.
    /home/oracle/dba/scripts> more rmovarch.sh
    #!/bin/ksh
    # compress /gateprd/ARCHIVE/*.arc
    find /gateprd/ARCHIVE/*.arc -type f ! -exec echo {} > /home/oracl
    e/dba/lists/ARCHIVElist \;
    if test $(cat /home/oracle/dba/lists/ARCHIVElist|wc -l) -gt 0
    then
    echo "Hay archives. Se corre script de borrar"
    /home/oracle/dba/scripts/ARCHIVE_BACKUP.sh ARCHIVE
    else
    echo "No archives!!"
    fi

  • I need a script that copies the filename into the file

    I need a script that copies the filename into 4th column of each line in the text doc file.
    I have over 2000 different file names each containing 6 columns and ~50-100 rows.
    I can do this manually using this script:
    awk '{print $1"\t"$2"t\"$3"\t <name> \t"$6}'
    But I would like an automation command or script. Is there any command that I can use instead of <name> that will copy the filename into the column?
    Thanks
    Monica

    Oops, I forgot the redirect to a file. It's not a good idea to edit files in place. A script could fail and you're left with at least one file ruined. It's better to create new files then delete the old files.
    for file in *; do
        while read col1 col2 col3 col4 col5 col6; do              
            printf "%s\t%s\t%s\t%s\t%s\n" $col1 $col2 $col3 $file $col6
        done < $file > n$file
    done
    You could narrow the files listed such as
    for file in *.tsv
    and redirect the new files to another directory. Such as
    done < $file > /absolute/path/to/directory/$file

  • Need a script to move files to folders

    Hi guys.  I have found a lot of similar threads but not something exactly like what I need.
    I have a ton of files that need to be sorted into folders of the same name.  I found scripts to help me with that however, I have some variations on the files with an extension to the file name that also need to be moved into the same folders.
    For instance, I have a folder named....
    spiegal_case_25_video_3
    and I have the following files that all need to be moved into that folder....
    spiegal_case_25_video_3.mp4
    spiegal_case_25_video_3.webmsd.webm
    spiegal_case_25_video_3_h.flv
    spiegal_case_25_video_3_m.flv
    spiegal_case_25_video_3_l.flv
    I have found scripts to get me part of the way there but I can't get the FLVs into the folders because of the _h _m and _l extensions on the file names.  Is there a way to move these files into their appropriate folders (maybe by ignoring the last 2 characters in the file name?)
    I have also found a script that will read everything up to the underscore, but that won't help since the file names have multiple underscores.  So I really need a script that can do the sorting while ignoring the last 2 characters in the file name.
    Can anyone help me out?  I'm not very script savvy.
    Thanks!

    I've tested the following script (under OS X 10.8.5) with 4 subfolders and 20 files, all located in a folder called "Master folder" located in a USB flash drive named "EXT_DRIVE". It seems to work flawlessly. In its present state, the script will replace any file already located in any of the subfolders.
    set theMasterFolder to POSIX file "/Volumes/EXT_DRIVE/Master folder"
    tell application "Finder"
        activate
        set theFolders to (folders of folder theMasterFolder) as alias list
        repeat with thisFolder in theFolders
            set thisName to name of thisFolder
            move (files of folder theMasterFolder whose name begins with thisName) to thisFolder with replacing
        end repeat
    end tell

  • Need a script to enable in-place hold on Office 365

    Hello, I need a script to enable in-place hold on Office 365 for my users.
    The options that I have found for this so far is to enable in-place hold for a DL or an individual user. Is there a way to use a CSV instead?
    This is what I have used before.....where "allstaff" is the name of a DL.
    New-MailboxSearch -name "3 Year In-Place Hold" -SourceMailboxes allstaff -InPlaceHoldEnabled $true -ItemHoldPeriod 1095

    That doesn't seem to work.........I think it's trying to create a new hold query for every user.
    PS C:\scripts> ./user_hold.ps1
    WARNING: The hold setting may take up to 60 minutes to take effect.
    Name                CreatedBy           InPlaceHoldEnabled  Status
    3 Year In-Place ... S-1-5-21-2495351... True                NotStarted
    Unable to execute the task. Reason: A mailbox search named <3 Year In-Place Hol
    d> already exists or is currently being deleted. Please choose a different name
        + CategoryInfo          : InvalidArgument: (Microsoft.Excha...DiscoverySea
       rch:MailboxDiscoverySearch) [], MailboxSearchTaskException
        + FullyQualifiedErrorId : [Server=BLUPR06MB097,RequestId=e8df9b95-2e00-428
       d-813f-da05ea8d09d4,TimeStamp=11/5/2013 9:38:05 PM] [FailureCategory=Cmdle
      t-MailboxSearchTaskException] 95CD9ECA
    So my next question...........how do I add users to an existing In-Place hold?

  • I need a script that will find the computer a user last logged into.

    I am still learning scripting, I need a script that will allow me to pull in usernames from a csv file. Find what computer they last logged into and output that to an csv file.
    I have looked all over and can't find exactly what I need.
     I found the following script but I need  to add the resuitsize unlimited but can not figure out where to put it we have a large environment. Also I need to be able to grab username from a csv file. Any assistance you can provide is appreciated.
    ##  Find out what computers a user is logged into on your domain by running the script
    ##  and entering in the requested logon id for the user.
    ##  This script requires the free Quest ActiveRoles Management Shell for Active Directory
    ##  snapin  http://www.quest.com/powershell/activeroles-server.aspx
    Add-PSSnapin Quest.ActiveRoles.ADManagement -ErrorAction SilentlyContinue
    $ErrorActionPreference = "SilentlyContinue"
    # Retrieve Username to search for, error checks to make sure the username
    # is not blank and that it exists in Active Directory
    Function Get-Username {
    $Global:Username = Read-Host "Enter username you want to search for"
    if ($Username -eq $null){
    Write-Host "Username cannot be blank, please re-enter username!!!!!"
    Get-Username}
    $UserCheck = Get-QADUser -SamAccountName $Username
    if ($UserCheck -eq $null){
    Write-Host "Invalid username, please verify this is the logon id for the account"
    Get-Username}
    get-username resultsize unlimited
    $computers = Get-QADComputer | where {$_.accountisdisabled -eq $false}
    foreach ($comp in $computers)
    $Computer = $comp.Name
    $ping = new-object System.Net.NetworkInformation.Ping
      $Reply = $null
      $Reply = $ping.send($Computer)
      if($Reply.status -like 'Success'){
    #Get explorer.exe processes
    $proc = gwmi win32_process -computer $Computer -Filter "Name = 'explorer.exe'"
    #Search collection of processes for username
    ForEach ($p in $proc) {
    $temp = ($p.GetOwner()).User
    if ($temp -eq $Username){
    write-host "$Username is logged on $Computer"

    If you are querying by user "resultset size" will be of no use.
    You also have functions that are never used and the body code doe snot look for users.
    Here is what you scrip looks like if printed well.  It is just a jumble of pasted together and unrelated items.
    ## Find out what computers a user is logged into on your domain by running the script
    ## and entering in the requested logon id for the user.
    ## This script requires the free Quest ActiveRoles Management Shell for Active Directory
    ## snapin http://www.quest.com/powershell/activeroles-server.aspx
    Add-PSSnapin Quest.ActiveRoles.ADManagement -ErrorAction SilentlyContinue
    $ErrorActionPreference = "SilentlyContinue"
    # Retrieve Username to search for, error checks to make sure the username
    # is not blank and that it exists in Active Directory
    Function Get-Username {
    $Global:Username = Read-Host "Enter username you want to search for"
    if ($Username -eq $null) {
    Write-Host "Username cannot be blank, please re-enter username!!!!!"
    Get-Username
    $UserCheck = Get-QADUser -SamAccountName $Username
    if ($UserCheck -eq $null) {
    Write-Host "Invalid username, please verify this is the logon id for the account"
    Get-Username
    get-username resultsize unlimited
    $computers = Get-QADComputer | where { $_.accountisdisabled -eq $false }
    foreach ($comp in $computers) {
    $Computer = $comp.Name
    $ping = new-object System.Net.NetworkInformation.Ping
    $Reply = $null
    $Reply = $ping.send($Computer)
    if ($Reply.status -like 'Success') {
    #Get explorer.exe processes
    $proc = gwmi win32_process -computer $Computer -Filter "Name = 'explorer.exe'"
    #Search collection of processes for username
    ForEach ($p in $proc) {
    $temp = ($p.GetOwner()).User
    if ($temp -eq $Username) {
    write-host "$Username is logged on $Computer"
    I suggest finding the original code then use the learning link at the top of this page to help you understand how it works in Powershell.
    ¯\_(ツ)_/¯

  • Export scripts

    I would like to know how to develop export scripts with suitable buffer size to preserve important tables before and after batch process (for bill processing ) using export utility / import utility

    Depends on what OS you are using. Google is your friend. Google tuning oracle exp or something to that effect.

  • I need a script edited so it will enter the intiger a specified number.

    This is a number generating script created by Michel Lemieux and posted here: http://www.quark.com/service/forums/viewtopic.php?t=4176 I need this script to ask for data that would specify the number of times each number should be added to the file. IE: the return data in the created file would look like this if 2 was entered: 1<\b>1<\b>2<\b>2<\b>3<\b>3<\b>4<\b>4<\b>

    Hello
    It is often easier to write a code anew than to edit an existing one...
    Try somethnig like this. This will handle both integer and non-integer numbers for series along with your requirement on iteration count of each number.
    Cheers.
    H
    -- SCRIPT
    main()
    on main()
    set mss1 to "Enter i, j, k, r, separated by space, where -
        i = start number
        j = end number
        k = increment  (k ≠ 0 AND (i - j) * k <= 0)
        r = repetition count  (r >= 1)"
    set mss2 to "Where to save the result?"
    set errs1 to "Parameter error."
    repeat
    set t to text returned of (display dialog mss1 default answer "1 100 1 1")
    try
    set tt to {}
    repeat with t in text2list(t, space)
    set t to t's contents
    if t is not "" then
    set end of tt to t as number
    end if
    end repeat
    set {i, j, k, r} to tt
    set r to r as integer
    if (r < 1) or (k = 0) or ((i - j) * k > 0) then
    display dialog errs1 with icon 2
    error number 8000
    end if
    exit repeat
    on error number errn
    if errn = -128 then error number -128 -- user cancel
    end try
    end repeat
    --return {i, j, k, r}
    set nn to {}
    repeat until (i - j) * k > 0
    repeat r times
    set end of nn to i
    end repeat
    set i to i + k
    end repeat
    set t to list2text(nn, "<\\b>")
    --return t
    set f to choose file name with prompt mss2 default name "*.xtg"
    writeData("" & f, t, {_append:false})
    return {nn, t}
    end main
    on list2text(aa, delim)
      list aa : source list
      text delim : text item delimiter in list-text conversion
    local t, astid, astid0
    set astid to a reference to AppleScript's text item delimiters
    try
    set astid0 to astid's contents
    set astid's contents to {delim}
    set t to "" & aa
    set astid's contents to astid0
    on error errs number errn
    set astid's contents to astid0
    error "list2text(): " & errs number errn
    end try
    return t
    end list2text
    on text2list(t, delim)
      text t : source text
      text delim : text item delimiter in text-list conversion
    local tt, astid, astid0
    set astid to a reference to AppleScript's text item delimiters
    try
    set astid0 to astid's contents
    set astid's contents to {delim}
    set tt to t's text items
    set astid's contents to astid0
    on error errs number errn
    set astid's contents to astid0
    error "text2list(): " & errs number errn
    end try
    return tt
    end text2list
    on writeData(fp, x, {append:append})
      text fp: output file path
      data x: anything to be written to output file
      boolean _append: true to append data, false to replace data
    local a
    try
    open for access (file fp) with write permission
    set a to fp as alias
    if not _append then set eof a to 0
    write x to a starting at eof
    close access a
    on error errs number errn
    try
    close access file fp
    on error --
    end try
    error "writeData(): " & errs number errn
    end try
    end writeData
    -- END OF SCRIPT
      Mac OS 9.1.x  

  • Need VB script for getting the IIS certification information

    Hi guys,
    I have totally 1000 IIS servers  2003 & 2008
    windows and some of the  servers configured
    IIS 3rd party Security certificates. I need a script to get the certification information like expiry date & certificate vendor name.
    Regards,
    SreeM

    Post here:http://forums.iis.net/
    Look in Gallery for IIS scripts:http://gallery.technet.microsoft.com/
    ¯\_(ツ)_/¯

Maybe you are looking for

  • I can't stop po-ups in windows7

    I am using windows 7 and can't stop pop-ups. The instruction you give for windows xp do not apply for windows 7 as there is no mention of pop-ups in firefox options. .

  • Dual g5 Strange behaviour: since 10.4.4 fans come on then it sleeps!

    a couple of times over past 24hrs the fans have started up along with red glow from lights just behind grill on front of box, Activity Monitor doesn't show much going on..... next minute, right in the middle of working on stuff, the comp goes to slee

  • Uploaded CDs Gone

    It seems as though when I started using icloud, or attempted to use icloud, that all of my uploaded CDs disappeared and only my itunes-purchased albums remained?  Can anyone help me?

  • Completely Frustrated With Nike Plus Sports Kits

    I've bought several Nike Plus Sports Kits recently and every single one of them has had a dead sensor in them. Either I'm buying them from retailers that have had these units on their shelves for years (ever since Nike Plus first rolled out), or ther

  • SMTP adapter does not parse my XML

    I am learning how to work with interconnect and I am trying to get the SMTP adapter to scan my emails and use an ftp adapter to create files on my filesystem when an email arrives. Seems pretty simple to me but I cannot get it to work, because the do