Export from remote machine(directory storing in local machine)

Hi all,
I have 10g(10.2.0.2) installed on my local linux machine and want to export a schema from a remote server(10.2.0.1).The schema is about 10GB,and there is not enough space in remote server to store the directory.if i use data pump ,ie expdp,can i store the directory in my local machine.if yes,how can i export and import using data pump.
Thanks in Advance

Yes, it's one of its key features. The location for an export data pump has to be a directory object which is created in the database and which points to something the database server itself can see. So that doesn't[i] necessarily mean the output file ends up 'where the database resides' -because if the database server has an NFS mount mapped, for example, it is possible for the directory object to reference it, and output sent to that directory object will therefore end up on the network share.
But yes, data pump security is much enhanced over old-fashioned export, by design (it stops third parties exporting your valuable data to their local USB key and walking out of your front door with it!).
You might find this article of use:
http://www.dizwell.com/prod/node/36

Similar Messages

  • Reading the output from a object running in the local machine.

    Reading the output from a object running in the local machine.
    By using a signed applet i am lunching a small application that returns an image object, how to read that without storing it in the hard disk.
    Which means i need to read the image object return by the local application using applet or jsp .
    i am using tomacat and an html page with an applet with it to lunch the application.

    You can write that image in a binary format using OutputStream for System.out and then read it in your applet.

  • Open Excel File from oracle directory on a local machine

    Hi,
    I have an application where I generate a excel using data in a table and write excel file in oracle directory.Now my requirement is to open that file from local machine .How can i achieve it.
    I am using Apex 4.2,Oracle 10g .
    Thanks
    Rajan.C
    Edited by: Rajanjai on May 31, 2013 5:34 PM

    Close your question here and open here
    Oracle Discussion Forums » Oracle Database » Application Express

  • Get Data from API which is hosted on local Machine

    I am using VS2013 to develop a databound app in win phone 8. I hosted a api on IIS Express on local machine with IP. When i browse the API on browser is comes easily,But a error is coming when trying to access from VS Solution.I am attaching my code and
    the error. the code is following
                         const string apiUrl = @"http://169.254.80.80/api/guest";
            public MainViewModel()
                this.Items = new ObservableCollection<ItemViewModel>();
            /// <summary>
            /// A collection for ItemViewModel objects.
            /// </summary>
            public ObservableCollection<ItemViewModel> Items { get; private set; }
            private string _sampleProperty = "Sample Runtime Property Value";
            /// <summary>
            /// Sample ViewModel property; this property is used in the view to display its value using a Binding
            /// </summary>
            /// <returns></returns>
            public string SampleProperty
                get
                    return _sampleProperty;
                set
                    if (value != _sampleProperty)
                        _sampleProperty = value;
                        NotifyPropertyChanged("SampleProperty");
            /// <summary>
            /// Sample property that returns a localized string
            /// </summary>
            public string LocalizedSampleProperty
                get
                    return AppResources.SampleProperty;
            public bool IsDataLoaded
                get;
                private set;
            /// <summary>
            /// Creates and adds a few ItemViewModel objects into the Items collection.
            /// </summary>
            public void LoadData()
                if (this.IsDataLoaded == false)
                    this.Items.Clear();
                    this.Items.Add(new ItemViewModel() { ID = "0", LineOne = "Please Wait...", LineTwo = "Please wait while the catalog is downloaded from the server.", LineThree = null });
                    WebClient webClient = new WebClient();
                    webClient.Headers["Accept"] = "application/json";
                    webClient.DownloadStringCompleted += new DownloadStringCompletedEventHandler(webClient_DownloadCatalogCompleted);
                    webClient.DownloadStringAsync(new Uri(apiUrl));
            private void webClient_DownloadCatalogCompleted(object sender, DownloadStringCompletedEventArgs e)
                try
                    this.Items.Clear();
                    if (e.Result != null)
                        var books = JsonConvert.DeserializeObject<GuestDetail[]>(e.Result);
                        int id = 0;
                        foreach (GuestDetail book in books)
                            this.Items.Add(new ItemViewModel()
                                ID = (id++).ToString(),
                                LineOne = book.GuestName,
                                LineTwo = book.Nationality,
                                LineThree = book.Profession.Replace("\n", " ")
                        this.IsDataLoaded = true;
                catch (Exception ex)
                    this.Items.Add(new ItemViewModel()
                        ID = "0",
                        LineOne = "An Error Occurred",
                        LineTwo = String.Format("The following exception occured: {0}", ex.Message),
                        LineThree = String.Format("Additional inner exception information: {0}", ex.InnerException.Message)
            public event PropertyChangedEventHandler PropertyChanged;
            private void NotifyPropertyChanged(String propertyName)
                PropertyChangedEventHandler handler = PropertyChanged;
                if (null != handler)
                    handler(this, new PropertyChangedEventArgs(propertyName));
    the error is ...
    {System.Net.WebException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound.
       at System.Net.Browser.ClientHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
       at System.Net.Browser.ClientHttpWebRequest.<>c__DisplayClasse.<EndGetResponse>b__d(Object sendState)
       at System.Net.Browser.AsyncHelper.<>c__DisplayClass1.<BeginOnUI>b__0(Object sendState)
       --- End of inner exception stack trace ---
       at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
       at System.Net.Browser.ClientHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)
       at System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)}
    Can anyone help me please, I am stuck with it.
     

    Did you set up your router to forward the request to your computer?  the ip you posted looks an ip your internet service provider gave you.
    Fyi you can get 10 free azure websites

  • Remote dbconsole not running on local machine.

    Hi all,
    My production DB 10g release 2 is on linux.EM dbconsole is successfully running on production server.Problem is my local machine is on windows xp service pack 3.When I tried to access 10g EM, it displays the login page ,when I supplied username/password it didn't give any error,but the page didn't open again come to username/pasword.
    Any help from ur side is appreciated.
    Regards,
    Asma

    Hi Asma,
    Lai had a good suggestion for you to check on the local machine. Did that help?
    There are known issues with hostnames that contain an underscore "_" or other characters that are not commonly used for hostnames.
    Thank you,
    Farouk

  • How do I restore my iPhoto library from my old macbook (stored in time machine) to my new iMac?

    I have my old macbook backed up on my time machine.  The problem is, when i enter time machine on my new iMac, I can only restore files from the current iMac's backups.  I can go to finder, and find my files under the "shared>airport time capsule" menu, but I don't know how to safely and accurately restore the iPhoto library to the current iMac's iPhoto.
    Most of the searches I did on this topic kept advising to enter time machine, find your file and hit restore, but I can not select files from my macbook's backup in time machine on the current iMac.

    Linc Davis wrote:
    While in Time Machine, press the key combination shift-command-C. The front window will show all mounted volumes. All snapshots should now be accessible. Select the one you want and navigate to the files you want to restore.
    If you need to restore from a backup of the hidden user Library folder, first select a snapshot, then press shift-command-G. A Go to Folder dialog will open. In it, you'll enter the path to the folder. The dialog will help you by automatically completing the parts of the path when you start to type them.
    The path begins with slash character ("/"). Enter that. The rest of the parts will be separated by slashes.
    The next part is the date and time of the current snapshot. Enter a "2", and the rest of the date should be filled in automatically. Press the right-arrow key to jump to the end of the path. Enter a slash to start the next part.
    Next is the name of the volume (usually "Macintosh HD" unless you gave it a different name.) Start to type that, then jump to the end and enter a slash.
    The next part is "Users", followed by a slash.
    Next is your (short) user name, which is also the name of your home folder.
    Finally, enter "Library", then press return. You should now be in the Library folder. From there you can get around as in the Finder.
    This seemed to do the trick.  I found the iPhoto library file and chose restore.  The question now is where to put the iPhoto library file.

  • Read and Write from Remote Shared directory

    Hello everyone,
    I'm working on an enterprise portal. One of the things i was asked to do is access a remote directory (like "\\machine\share\") and be able to, at least, list the files, download to the portal user any of them, and be able to upload some as well. Also my goal is to create dinamycally a directory inside the shared one for every record I insert into a database for, for example, creating a course (each course has an attachment of files with the schedules, curriculum, etc. in pdf or doc files).
    Can anyone point me in the right direction on how to star this? are there any API's, packages or something like that that i can use?
    Thank you in advance.

    I have allready done that type of Project
    I use FTP to Connect remote server. there is api call
    com.enterprisedt.net.ftp you can download it free
    also you can get the document of that API.
    there is som sample code
    import com.enterprisedt.net.ftp.*;
    class remote
    private String localPath,remotePath;
    private FTPClient ftpClient;
    public remote()
    try
    localPath="localpath to download";
    remotePath="remote path from server";
    ftpClient = new FTPClient();
    FTPMessageCollector listener = new FTPMessageCollector();
    ftpClient.setMessageListener(listener);
    ftpClient.setRemoteHost(ip of the remote host);
    ftpClient.setTimeout(10 * 60 * 1000);
    System.out.println("connecting to the Remote Server....");
    ftpClient.connect();
    System.out.println("connected to the Remote Server ");
    ftpClient.login(username,password);
    ftpClient.setConnectMode(FTPConnectMode.PASV);
    ftpClient.setType(FTPTransferType.ASCII);
    downloadFiles();
    catch(FTPException ftpe)
    System.out.println(ftpe.toString());
    catch(Exception e)
    System.out.println(e.toString());
    public void downloadFiles()
    try
    String [] remoteFileList;
    String localFileName;
    remoteFileList=ftpClient.dir(remotePath + "/");//get the Remote
    //file list
    for(int j=0;j<remoteFileList.length;j++)
    ( localFileName =localfile //filter only fileneme from remotFileList[J])
    ftpClient.get(localPath + localFileName, remoteFileList[j]);
    System.out.println("Successfuly Downloaded " +
    ftpClient.quit();
    catch(Exception e)
    System.out.println(e.toString());
    from Jinath
    Message was edited by:
    JBN

  • Copy all tables and data from remote schema to local schema

    Hi,
    I am using Oracle 10g Enterprise edition as a database and Windows 7 as the operating system.
    My Requirement is to copy all the tables and data from remote machine database to my local machine.
    I created a DB link between my location schema and remote machine schema. Database link created successful. Error what i am getting when i am trying to import all the tables from the remote data is as mentioned below
    I created a directory gave all the privilege to do read and write on the directory.
    Directory name : DUMP
    Local Schema name / PASSWORD : PRODUCTION / PRODUCTION
    Remote Schema name / Password : portal / m3892!2
    When i run this scrip from command prompt
    impdp PRODUCTION/PRODUCTION DIRECTORY=DUMP LOGFILE=LOCALPROD_MERUPROD.log network_link=MERU_DEV_LOCAL_PROD schemas=portal remap_schema=portal:PRODUCTION TABLE_EXISTS_ACTION=REPLACE
    It is giving me following error please suggest me what is the mistake i couldn't trace
    ORA-31631: privileges are required
    ORA-39149: cannot link privileged user to non-privileged user
    Thanks
    Sudhir

    Thanks I gave the grant permission for the "portal" remote user. I didn't not get the error. Issue am facing now is I need to copy the entire schema of production to my local system production.
    I am currently using the below script to copy. it not working. what might be the reason there is no error message coming but still i don't see any tables in my local system after executing this script
    impdp PRODUCTION/PRODUCTION DIRECTORY=DUMP LOGFILE=LOCALPROD_MERUPROD.log network_link=MERU_DEV_LOCAL_PROD schemas=portal remap_schema=portal:PRODUCTION TABLE_EXISTS_ACTION=REPLACE
    Or suggest me some other script to copy all the tables and procedure function from remote database to my local database using impdp script
    Thanks
    Sudhir

  • Multiple remote home directory users logged into one machine?

    Hello,
    Just wondering if it's possible to have two or more users logged into the same machine at the same time. Each user has a home directory located on an XServe RAID connected to an XServe.
    We have a new employee who is needing to toggle back and forth between his account and an account that belongs to a previous employee.
    So far I've only had success logging in one remote home directory user, and a user account local to the machine. Making.. two users logged in on the same machine at the same time.
    Anyone able to offer some insight? thanks!

    The way afp works, you won't be able to log in more than one user with a remote home directory on any one machine at a time. This is a known limitation.
    If you need access to more than one account at a time, you could copy the home directory of the old user onto the local machine and set up a local account with it. Or you could give the new user a copy of the old home directory if it's just a matter of file access.
    Hope this helps,
    Andrew

  • Ifs Connection problem from local machine to Ifs server using API

    I am trying to make an API call to connect to Ifs database server running on different machine(UNIX) from local machine. I copied all jar files and /Lib/Ifs/Settings directory to my local machine. All these files are in the classpath of weblogic 6.0 environment. A jsp on weblogic server call a bean which has a responsibibility of connecting to Ifs server to get LibrarySession.
    From Visual Cafe 4.5 everything works fine but when i start weblogic 6.0 outside the visual cafe environment i get the error
    below. I included all the jar files and /Lib/Ifs/Settings in start up script of weblogic server
    Do you know if i missing some thing????
    java.lang.UnsatisfiedLinkError: do_open
    at oracle.jdbc.oci8.OCIDBAccess.do_open(Native Method)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:309)
    at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:198)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:251)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224)
    at java.sql.DriverManager.getConnection(DriverManager.java:517)
    at java.sql.DriverManager.getConnection(DriverManager.java:177)
    at oracle.ifs.server.LibraryConnection.(LibraryConnection.java:235
    at oracle.ifs.server.ConnectionPool.createLibraryConnection(ConnectionPo
    ol.java:576)
    at oracle.ifs.server.ConnectionPool.(ConnectionPool.java:321)
    at oracle.ifs.server.S_LibraryService.(S_LibraryService.java:912)
    at oracle.ifs.server.S_LibraryService.startService(S_LibraryService.java
    :1129)
    at oracle.ifs.beans.LibraryService.connectLocal(LibraryService.java:408)
    at oracle.ifs.beans.LibraryService.connect(LibraryService.java:280)

    Have you installed the Oracle client software on the machine where you are running WebLogic and your custom iFS application (your bean)?
    It looks like the native JDBC libraries are not available to the JVM where WebLogic is executing your code. iFS uses JDBC to access the Oracle database, and it requires "thick" (OCI8) JDBC to do so. This means that you need Oracle client software to be installed (in an ORACLE_HOME directory) on a computer where you want to use the iFS API.
    If you do have the Oracle client software installed already, then perhaps the WebLogic environment isn't configured to have access to the native JDBC libraries. Normally, as long as $ORACLE_HOME/lib is in the LD_LIBRARY_PATH (on unix) or $ORACLE_HOME/bin is in the PATH (on windows), stuff should just work.
    See if you can find any information about including native libraries (for instance, to use JNI) in the WebLogic documentation. We don't certify with WebLogic, which is why I don't know the answer offhand.

  • Deploy Oracle OAF Page to local Machine

    Hi,
    I deploy oracle standard OAF page from local machine JDeveloper 9i.I copy files from server ar folder from $COMMAN TOP and copy another MDS folder from $APPLTOP and moved local machine jDeveloper\jdevhome\jdev\myprojects\oracle\apps\.I create workspace and the files and run the ARI_INVOICE_PAYMENT_PAGE.XML error message displayed.
    ERROR:
    unable to open file jdeveloper_11i\jdeveloper\jdev\myprojects\oracle\ar\irec\accountDetails\pay\webui\ARI_INVOICE_PAYMENT_PAGE.XML
    the document is not in XMLpath"D:\Jdeveloper_11i\jdevbin\jdev\myprojects;D:\Jdeveloper_11i\jdevbin\jdev\oamdsxml\fwk"
    Thanks
    Selva

    It appears that the JDEV_USER_HOME environment variable path and where the files are stored do not match up.  I generally keep all files whether they are Oracle files (in the oracle folder) under my projects or custom files (in the custom folder) in the "Home" directory on my local machine.

  • Java code to connect to remote windows machine from local machine

    Hi,
    I have developed a code to connecting remote windows M/C from local M/C by using SSH2 (ganymed-ssh2-build209.jar) API. when I run the code its giving below error. Can any one please help me how to resolve it. And also please let me know, is there any other way to connect remote windows system using java code.
    Exception.
    java.io.IOException: There was a problem while talking to <host name>:22
      at ch.ethz.ssh2.Connection.connect(Connection.java:642)
      at ch.ethz.ssh2.Connection.connect(Connection.java:460)
      at Connect.RemoteServer.ConnectWindowsServer.runCommand(ConnectWindowsServer.java:55)
      at Connect.RemoteServer.ConnectWindowsServer.main(ConnectWindowsServer.java:27)
    Caused by: java.net.ConnectException: Connection refused: connect
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(Unknown Source)
      at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
      at java.net.PlainSocketImpl.connect(Unknown Source)
      at java.net.SocksSocketImpl.connect(Unknown Source)
      at java.net.Socket.connect(Unknown Source)
      at ch.ethz.ssh2.transport.TransportManager.initialize(TransportManager.java:299)
      at ch.ethz.ssh2.Connection.connect(Connection.java:591)
      ... 3 more
    JAVA Code
    import ch.ethz.ssh2.Connection;
    import ch.ethz.ssh2.Session;
    public void setAuthenticationInfo(String hostname, String username,String password) {
           this.host = hostname;
           this.userid = username;
           this.password = password;      
           this.recentCommand = "";     
           System.out.println("setting authentication info completed for host=" + host );
      public void runCommand() throws Exception {
    try{
            // Setup ssh session with endpoint
           System.out.println("starting connection with " + host);
           Connection connection = new Connection(host);
           System.out.println("connection object created..");
           connection.connect();
           System.out.println("Connect to connection");
           connection.authenticateWithPassword(userid,password);
           System.out.println(connection.isAuthenticationComplete());
           Session session = connection.openSession();
          System.out.println("connected");
      }catch (Exception e) {
      e.printStackTrace();
    Regards,
    Praveen

    Hi baftos,
    I tried to telnet remote windows machine from my local machine on port 23, its not connected and given error message like "Connect failed".
    As your response, if we can telnet to remote windows machine from local machine then we can connect from Java. Is it correct ?.
    Can you please help me to resolve this issue. And also please confirm the port (23) is correct, which I was used to connect remote machine from telnet.
    Regards,
    Praveen

  • Linked server problem, its works locally but not from remote machine

    Hi,
    i am using the application NAV and have written the query in the application. am using automation variable to link to the SQL Server.
    The problem is that , the query which i have written executes only when i am working on local machine .
    I mean when i want to execute the same query from remote machine through my app Dynamics NAV then its not getting executed.
    Thanks in advance

    Depends on what you are trying to do and what security you are using.
    What error did you get?
    If you are using windows authentication then take a look at delegation
    http://www.databasejournal.com/features/mssql/article.php/3696506/Setting-Up-Delegation-for-Linked-Servers.htm
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • How to export XML from server to local machine

    Hi all
    i want to export some XML files from instance to my local machine.right now i m i have Ftpied the files from server to to my local machine but ,but it is not coming with personalization .
    thanx in advance
    Pratap

    Hi Paratap,
    If you want to see source of the page use
    call jdr_utils.printDocument('/oracle/apps/pos/orders/webui/PosVpoMainPG');
    If you want to see the personalization for the source use
    call jdr_utils.printDocument('/oracle/apps/pos/orders/webui/customizations/site/0/PosVpoMainPG');
    I have given these examples for site level personalization, depanding upon the personalization level the path may vary.
    You can also export the files using XMLExporter by giving appropriate path.
    You can FTP all other source files from the server.
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Getting Datapump Export Dump file to the local machine

    I apologize to everyone as this is a duplicate post.
    Re: Getting Datapump Export Dump file to the local machine
    My initial thread(started yesterday)was in 'Database General' and didn't get much response today. Where do i post questions on EXPORT/IMPORT utilities?
    Anyway, here is my problem:
    I want to take the export dump of itemrep schema in orcl database (in a remote machine). I have an Oracle server (10G Rel2) running in my local Windows machine. I have created a user john with necessary EXPORT/IMPORT privileges in my local db. Then i created a Directory object,ie a folder named datapump in my local hard drive and granted READ WRITE privileges to john.
    So john, who is a user in my local machine's oracle db is going to run the expdp utility.
    expdp john/jhendrix@my_local_db_alias SCHEMAS=itemrep directory=datapump logfile=itemrepexp.log
    The above command will fail because it will look for itemrep schema inside my local db, not the remote db where the itemprep is actually located. And you can't qualify the schemaname with its db in the SCHEMAS parameter (like SCHEMAS=itemrep@orcl).
    Can anyone provide me a solution for this?

    I think you can initiate the datapump exp utility from your client machine to export a schema in a remote database.But, Upon execution,oracle looks for the directory in the remote database and not on your local machine.
    You're inovoking expdp from a client (local DB) to export data from a remote DB.
    So, With this method, you can create the dumpfiles only on the Remote server and not on the local Machine.
    You can perform a direct import instead of export using the NETWORK_LINK option.
    Create a DBlink from your local and Remote DB and verify the connection.
    Then,Initiate the Impdp from Your local machine DB using the parameter network_link=<db_link of the Remote DB> to import the schema.
    The advantage of this option eliminates the Dumpfile creation at the Server side.
    There are no dumpfiles during the import process. the Data is imported directly to the target schema.

Maybe you are looking for

  • GPIB Ethernet/1​00 Performanc​e

    Does anyone have some real world peformance measurements on the transfer speeds of the NI GPIB-Ethernet/100 box. I am very disappointed in the performance of a block read which is approximately 6ms/byte transfer (tested from 20 bytes to 32kbytes bloc

  • My iPad is disabled, what do I do?

    Well I got my ipad, and i forgot the passcode! I've tried plugging it in my computer. but it says "iPad cannot connect because there needs to be a passcode, type your passcode to continue" and I dont know what to do! I've tried all my passcodes I hav

  • Problem with Stateful EJB in JBOSS

    Hi, J have a problem with invoking stateful EJB methods from my web application deployed in Jboss 4.0.5.GA both. The same EJB with WebLogic functions perfectly, instead with Jboss it often throws the following exception: ERROR [org.jboss.ejb.plugins.

  • GUI Issue - new developer

    I am trying to run a simple java example. I am using j2se 1.4.2_03 SDK . When I run this program I expect to see a JFrame but I don't. I added println() to debug and see what it does. I never see debug message "JFrame Packed". So I assume program con

  • Time capsule not found by airport but ethernet cable was working

    So I turned time machine off some time ago,( got fed up with it constantly saving whilst recording music and slowing down stuff), now although i was happy (ish) as it was before, i can no longer find in preferences a drive to use as backup. the alert