I want to store the files of Data Pump export on a remote machine

Hello

I have two servers to database running, A and B. I want to run a cron job on A who takes a dump and stores it in a directory on B every night.

Is this possible?

Thank you.

Another option would be to use the NETWORK_LINK parameter. Let's say you want the export of A files to be created on the server where the B. create a link from B to A database, and then run expdp B using the link pointing to A network

http://docs.Oracle.com/CD/B19306_01/server.102/b14215/dp_export.htm#sthref142

HTH
Srini

Tags: Database

Similar Questions

  • The journal of data pump export error

    In datapump export log, I could see the error below:
    =================
    . . exported "SYSMAN." "" MGMT_METRIC_DEPENDENCY_DEF "13 7KO lines
    . . exported "SYSMAN." "' MGMT_CREDENTIAL_TYPES ' 6,796 KB 4 rows
    . . exported "SYSMAN." "' MGMT_JOB_TYPE_DISPLAY_INFO ' 31 lines 7,085 KB
    {color: #0000ff} ORA-31693: table data object 'OE '. "' WAREHOUSES ' could not load/unload and being ignored because of the error:
    ORA-06564: TEST_DIR object does not exist
    {color}. . exported 'SH '. "" CHANNELS "6,695 KB 5 rows
    . . exported "SYSMAN." "' MGMT_METADATA_SETS ' 6,757 KB 18 rows
    . . exported "SYSMAN." "' MGMT_HA_INFO_ECM ' 6,523 KB 1 lines
    =================
    Remaining exports seems to be quite right, I do not know why this error stuck to this object.
    Does someone has an idea about it, looked for metalink, but did not find a lot of relevant info.

    Database version: 10.2.0.1

    Abu,

    Is - this possiible to be able to run the same command line session expdp and see if it fails for the same reason?

    Concerning

  • Backup utility Windows 7 application ' are you sure you want to remove the most recent data from the backup file "even if I'm trying to remove the backup set is not the most recent.

    I'm trying to reduce the amount of space that my Windows 7 backup uses so I've come to the place in Windows 7 backup:
    Manage space > view backups...

    I am then presented a list of three backup sets:
    01/03/2012 to 01/04/2012
    12/07/2011 to 12/21/2011
    23/11/2011 to 30/11/2011

    I would like to remove the older two, leaving the most recent. However, this doesn't seem to work as expected. If I try to delete one of the two most recent ones (the first two in the list above) I get the following warning "Are you sure you want to delete this backup file.

    However, if I try to delete the last one in the list, I get a slightly different error "Are you sure you want to remove the most recent data of the file backup?"-sounds strange because it is clearly not the most recent backup according to the dates it's show.

    Of course, I can go ahead and ignore the warnings, but I fear that maybe there are some files in the last backup the value in the list that may not be right more recent set backs.

    In 2011, I thought this might be something wrong with the date formats vs US UK (I am in England so the above dates are in dd/mm/yyyy format and not in jj/mm/aaaa) - but now it's 2012 and I backup from 2012 and 2011 games and he always seems to think that the oldest backup of 2011 is the most recent.

    Any ideas? Can I delete the oldest backup sets (that is, the two that are from 2011) safely?

    Any help much appreciated - thank you.

    Simon

    Update: I checked on other PCs in the office and the situation is the same - is not only something strange on a PC.

  • HOW to use the file/BLOB data temporary - email for multiple users... Please see code

    Dear gurus
    the code below works fine, he sends a good fixation to the first user, but to the 2nd user, it send blank (empty) file.
    What I want, I have read the data from the source and enter the temporary BLOB and use the same data to send several users in the loop.


    create or replace
    PROCEDURE dba_ho.emailattacheulhr is
    / * LOB related operation varriables * /.
    v_src_loc BFILE.
    l_buffer RAW (54);
    l_amount directory: = 54;
    l_pos INTEGER: = 1;
    l_blob BLOB: = EMPTY_BLOB;
    l_blob_len INTEGER.
    v_amount INTEGER.
    / * Related UTL_SMTP varriavles. */
    v_connection_handle UTL_SMTP. CONNECTION;
    v_from_email_address VARCHAR2 (200);
    v_to_email_address VARCHAR2 (200);
    v_cc VARCHAR2 (200);
    v_smtp_host VARCHAR2 (50);
    v_subject VARCHAR2 (500);
    l_message VARCHAR2 (30000);
    l_filename VARCHAR2 (4000);
    CustNo number (8);
    CNAME varchar2 (50);

    cst slider is
    Select a.EMAIL_ADDR, a.CARDHOLDER_NAME
    Cust a
    ORDER BY a.cust_no;

    / * This procedure of send_header is mentioned in the documentation * /.
    PROCEDURE send_header (pi_name IN VARCHAR2, pi_header IN VARCHAR2) AS
    BEGIN
    UTL_SMTP. WRITE_DATA (v_connection_handle,
    pi_name | ': ' || pi_header | UTL_TCP. CRLF);
    END;

    BEGIN
    v_src_loc: = BFILENAME ('DIR_MMAIL', 'MAKPROM.pdf');
    v_from_email_address: = '[email protected] ';
    v_cc: = '[email protected] ';
    v_smtp_host: = 'mailhost.mak.com ';
    v_subject: = 'list of Promotion of Mak;
    -l_blob BLOB: = EMPTY_BLOB;
    / * Prepare the LOB of attachment file. */
    DBMS_LOB. OPEN (v_src_loc, DBMS_LOB. LOB_READONLY); -Read the file
    DBMS_LOB. CREATETEMPORARY (l_blob, TRUE); -Create a temporary LOB to store the file.
    v_amount: = DBMS_LOB. GETLENGTH (v_src_loc); -Amount to be stored.
    DBMS_LOB. LOADFROMFILE (l_blob, v_src_loc, v_amount); -A temporary file in LOB loading
    l_blob_len: = DBMS_LOB.getlength (l_blob);


    Begin
    CSE opened;

    loop
    extract the CSE in custno, v_to_email_address, cname;
    When the output cst % notfound;

    l_message: = 'Dear customer ' | UTL_TCP. CRLF;
    l_message: = l_message | CNAME | UTL_TCP. CRLF;
    l_message: = l_message | UTL_TCP. CRLF;
    l_message: = l_message | "Thanks for choosing. Enclosed please find our current list of promotion for your review. '||
    UTL_TCP. CRLF;
    l_message: = l_message | UTL_TCP. CRLF;
    l_message: = l_message | "Sincere friendships. UTL_TCP. CRLF;
    l_message: = l_message | UTL_TCP. CRLF;
    l_message: = l_message | UTL_TCP. CRLF;
    l_message: = l_message | "To Mak' | UTL_TCP. CRLF;
    l_message: = l_message | ' www.mak.com' | UTL_TCP. CRLF;

    / * Associated with coding UTL_SMTP. */
    v_connection_handle: = UTL_SMTP. OPEN_CONNECTION (v_smtp_host, 25);
    UTL_SMTP. HELO (v_connection_handle, v_smtp_host);
    UTL_SMTP. MAIL (v_connection_handle, v_from_email_address);
    UTL_SMTP. RCPT (v_connection_handle, v_to_email_address);
    UTL_SMTP. RCPT (v_connection_handle, v_cc);

    UTL_SMTP. OPEN_DATA (v_connection_handle);
    send_header ("", v_from_email_address) ;--|| ("<>'");
    send_header ("TO", v_to_email_address) ;--|| ("<>'");
    send_header ('CC', v_cc);
    send_header ('Subject', v_subject);

    -MIME header.
    UTL_SMTP. WRITE_DATA (v_connection_handle,
    "MIME-Version: 1.0 ' |" UTL_TCP. CRLF);
    UTL_SMTP. WRITE_DATA (v_connection_handle,
    ' Content-Type: multipart/mixed; ' || UTL_TCP. CRLF);
    UTL_SMTP. WRITE_DATA (v_connection_handle,
    "boundary =" ' | "'" Sample.SECBOUND' | '"' ||
    UTL_TCP. CRLF);
    UTL_SMTP. WRITE_DATA (v_connection_handle, UTL_TCP. CRLF);

    -Body of the message
    UTL_SMTP. WRITE_DATA (v_connection_handle,
    '--' || "Sample.SECBOUND" | UTL_TCP. CRLF);
    UTL_SMTP. WRITE_DATA (v_connection_handle,
    ' Content-Type: text/plain; "|| UTL_TCP. CRLF);
    UTL_SMTP. WRITE_DATA (v_connection_handle,
    'charset = US-ASCII' | UTL_TCP. CRLF);
    UTL_SMTP. WRITE_DATA (v_connection_handle, UTL_TCP. CRLF);
    UTL_SMTP. WRITE_DATA (v_connection_handle, l_message |) UTL_TCP. CRLF);
    UTL_SMTP. WRITE_DATA (v_connection_handle, UTL_TCP. CRLF);

    -Attachment of e-mail
    UTL_SMTP. WRITE_DATA (v_connection_handle,
    '--' || "Sample.SECBOUND" | UTL_TCP. CRLF);
    UTL_SMTP. WRITE_DATA (v_connection_handle,
    ' Content-Type: application/octet-stream' |
    UTL_TCP. CRLF);
    UTL_SMTP. WRITE_DATA (v_connection_handle,
    ' Content-Disposition: attachment; ' || UTL_TCP. CRLF);
    UTL_SMTP. WRITE_DATA (v_connection_handle,
    "filename =" ' | "MakMail.pdf" | '"' || UTL_TCP. CRLF);
    UTL_SMTP. WRITE_DATA (v_connection_handle,
    ' Content-Transfer-Encoding: base64' | UTL_TCP. CRLF);
    UTL_SMTP. WRITE_DATA (v_connection_handle, UTL_TCP. CRLF);
    / * Write the BLOB into pieces * /.
    While l_pos < l_blob_len LOOP
    DBMS_LOB. READ (l_blob, l_amount, l_pos, l_buffer);
    UTL_SMTP.write_raw_data (v_connection_handle,
    UTL_ENCODE. Base64_encode (l_buffer));
    UTL_SMTP. WRITE_DATA (v_connection_handle, UTL_TCP. CRLF);
    l_buffer: = NULL;
    l_pos: = l_pos + l_amount;
    END LOOP;
    UTL_SMTP. WRITE_DATA (v_connection_handle, UTL_TCP. CRLF);

    -E-mail nearby
    UTL_SMTP. WRITE_DATA (v_connection_handle,
    '--' || "Sample.SECBOUND" | '--' || UTL_TCP. CRLF);
    UTL_SMTP. WRITE_DATA (v_connection_handle,
    UTL_TCP. CRLF. '.' || UTL_TCP. CRLF);
    UTL_SMTP. CLOSE_DATA (v_connection_handle);
    UTL_SMTP. Quit (v_connection_handle);
    -DBMS_LOB. FREETEMPORARY (l_blob);
    -DBMS_LOB. FileClose (v_src_loc);

    End loop;


    EXCEPTION
    WHILE OTHERS THEN
    UTL_SMTP. Quit (v_connection_handle);
    DBMS_LOB. FREETEMPORARY (l_blob);
    DBMS_LOB. FILECLOSE (V_SRC_LOC);
    dbms_output.put_line (SQLERRM); -try to print the error message.
    END;
    DBMS_LOB. FREETEMPORARY (l_blob);
    DBMS_LOB. FileClose (v_src_loc);
    End;

    -end of code

    Help, please.

    Concerning

    S.Garewal

    This is what happens when you copy a code without understanding.
    Take a look at the code here

    /* Writing the BLOB in chunks */
    WHILE l_pos < l_blob_len LOOP
    DBMS_LOB.READ(l_blob, l_amount, l_pos, l_buffer);
    UTL_SMTP.write_raw_data(v_connection_handle,
    UTL_ENCODE.BASE64_ENCODE(l_buffer));
    UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
    l_buffer := NULL;
    l_pos := l_pos + l_amount;
    END LOOP;
    

    Discover the parameters of DBMS_LOB. READ.
    For the first time it's good reading but your position and the quantity is not initialized when you loop and read again and is not read correctly.

  • I need to know the file current date/time number stamp and the version of "spoolsv.exe" in Vista Home Premium 32-bit with SP2.

    I need to know the file current date/time number stamp and the version of "spoolsv.exe" in Vista Home Premium 32-bit with SP2. My spooler file got corrupted and I need to know what that the stamp of date/time on the latest version of the file: spoolsv.exe. I did a search on my hard drive and found 8 copies of the file with 7 different dates. I need to know which copy in my file C:\windows\system32\. I suspect that the problem was caused by some kind of malware. I think that some of the different versions on my machine of the initial installation of the Vista, SP1 and SP2. 3 copies that would explain. I tried all the suggestions in this forum and several others. I tried sfc/scannow and it simply replaces the corrupted file by another. I understand how works this file and a simple copy will do the trick if I knew that the file to use. I know that I don't want to go back to the first version of 2006.  BTW... my symptoms are all my printers have disappeared, and when I try to 'add a new printer' I get an error message saying that my spooler service does not work. When I opened my services window it shows that indeed, he is arrested, but I will not start because the description column contains only the code garbled machine indicating that the file is corrupted, or it may contain a virus. I had been using F-Prot until this virus got by and now I use AVG. I scanned my machine with several cleaning packages and it is is more infected, but I worry that from this corrupt file grow something. I know that the problem is not with my printers or drivers, because everyone on my home network can print on all of my printers. None of the people I know are on Vista 32 bit. They are all running System 7 or XP. I have XP, except that a few years ago I suffered from the "Syndrome of Pepsi" on my laptop and when I bought a new HP, it came with Vista.

    Version 6.0.6002.18294

    Day 17/08/2010

    Duration 14:11

    Duration may vary in different time zones.

  • I have windowsimagebackup folder where I want to restore the file. This is not the case in the menu catering

    I have windowsimagebackup folder where I want to restore the file. This is not the case in the menu catering

    Hello

    see if this information helps you

    How to make a backup of your data

    http://www.vista4beginners.com/how-to-backup-your-data

    How to restore your files

    http://www.vista4beginners.com/how-to-restore-files

    the 1st link below is how do the backup complete pc

    http://www.bleepingcomputer.com/tutorials/tutorial145.html

    and that is how do to recover the backup complete pc

    http://www.bleepingcomputer.com/tutorials/tutorial144.html

    and here is the information of microsoft in restoring a system image backup

    http://Windows.Microsoft.com/en-us/Windows-Vista/restore-your-computer-from-a-system-image-backup

    If you have problems, it's in here is a forum for microsoft specifically for backup issues

    http://social.technet.Microsoft.com/forums/en-us/WindowsBackup/threads

  • I would like a more efficient sorting for organizing files, a similar to the options available via EXCEL. I want to sort the files from Windows 7 Desktop AND type update...

    I would like to apply a more efficient to organize the display of files, a similar to the options available via EXCEL.  I want to sort the files of desktop Windows 7 by type AND update... looks like it would be a logical way to view the files.  Currently, I can do one or the other.  Sort by modified date provides a hodgepodge of file types, sort by type will not most recently changed... organize a hodgepodge of dates.  You wonder why I felt it necessary to ask this... seems to be a simple and logical option which would already be available.  Is it?  If so, how can we do this?

    I don't know where you see all sort in excel. The file > open in excel procedure uses this same kind as provided by the Explorer (its Explorer discovers Documents)

    The view in excel is obviously filtered to Excel docs.

    You probably need to rethink your documents folders stratergy

  • Drop database connectable to including the file system data sheets files

    I did experiments with the connectable Oracle12c to database functionality and have noticed that when I "drop database connectable to pdb1 including datafiles', I get the message that the database snap-in has been dropped."  I also see that all files in the tablespace for the PDB except the SYSTEM data file have been deleted.


    I want to remove the folder that has been used for the pluggable database after that the PDB fell, but cannot because the file SYSTEM data is left behind.

    Is it possible to delete the data file SYSTEM for a pluggable database once he fell?  Or this part forever from the database of the container?

    Thank you

    This forum works on a Server Windows 2012.

    Thanks for the Bug information.  There is no error in the alert.log file, but I found a trace file with:

    ORA-01265: cannot remove the D:\ETC\ETC\SYSTEM01 DATA. DBF

    ORA-27056: could not delete file

    OSD-04024: cannot delete the file.

    S/O-error: (32 OS) the process cannot access the file because it is being used by another process.

    This seems to be the same problem as described in bug 17659954, so I can follow in investigating the recommendations of bug

    Thanks again

  • I have deleted the content of several image files and now want to remove the file names. I don't find a way to remove the names.

    * Original title: file names of photos of Deletig Windows after emptying the file

    I have deleted the content of several image files and now want to remove the file names. I don't find a way to remove the names. How can I delete the file names?

    Right-click on the name of the image file, then choose 'delete '.

  • A video of the file change date

    This question relates specifically to a video that is downloading.

    What happens in the video for the file modified date to change?

    I have about 10 videos and they all have one updated the date after the date of creation.  I need to understand all the reasons why this has happened.  I know that this time stamp changes with for example a word document that you add more data, but that's why I would like to know for the video specifically.

    As far as I know on this topic is Google of the Machine.  The phenomenon seems to be real, so dark in nature / questioning.  You could try to ask a question specifically in a TechNet forum: https://social.technet.microsoft.com/Forums/windows/en-US/home?forum=w7itprogeneral

  • "You sure you want to delete the file without moving it to the Recycle Bin? In response, 'No' causes the file to be left undone.

    Separated from this thread.

    I think the bug has something to do with the partitions created with TrueCrypt.

    Indeed. Make the truecrypt as removable disk volume in options of fixed the problem :)

    The suggestion did not work for me.

    I use Windows Home Premium and Truecrypt 7.1.

    When the volume is "removable", an attempt to delete causes the prompt, "do you really want to delete the file without moving to trash? In response, 'No' causes the file to be left undone.

    When the volume is not removable, an attempt to delete causes, command, the prompt "you want to move the file to the Recycle Bin?  I clicked 'Yes' the file disappeared from his record, but was not visible in the trash, even if the trash appears to have contained.  By clicking on "All content, restoring" the trash, has no effect.

    Basket of content used to be visible and restoration-able.  I recently opened some volumes on a drive not used for several months.  Other that that, I can't say why the trash behavior has changed recently.

    Suggestions appreciated.

    Thank you.

    Colin

    I suspect it has to do with the size of the 'file '.  When a file is larger than the preset size of trash, your options are to delete without moving to the trash.  No way that you do not want to delete it without moving it to the Recycle Bin, but if she's great that recycle it bin it cannot so it just happens.  If you say yes it removes without moving to recycle.

    You can change the size of your trash by right click > properties > change size

  • How to download and store the file in the device

    I need to download and save a file to the server. Can any one go code me for this example.

    Example of solution download a file via the URL: http://supportforums.blackberry.com/t5/Cascades-Development/How-to-download-zip-file-And-also-open-e...
    It stores the file in your sandbox app directory. After that you can move anywhere.

  • could not clean the file history data element not found in windows 8

    My drive hard ext fills, and when I try to clean the first versions or any version I get the same message "could not clean the file history data element not found in windows 8" I don't know if there is a corrupted file.  The only thing I have not done is to delete the entire folder FileHistory ext drive and start again.

    Hey Daley,

    If there are errors in your player in the history of the files that need to be repaired, try to repair your disk

    1. Open the Center of the Action drag from the edge right screen, quilting search (or if you use a mouse, pointing to the top right of the screen, move the pointer of the mouse down and then clicking search), entering in the center of Action in the search box, type or by clicking settings and then by typing or clicking on the center of Action.

    2. Tap or click repair.

    Warning of Chkdsk.

    Important: When running chkdsk on the drive if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data can be lost.

    Reference:

    What happens if something is wrong in the history of the files?

    Please post back with more information and the status of the issue.

  • I have the table of 3 columns A, B, C. I want to store the sum of columns A B in the C column without using the DML statements. Can anyone help please how to do. ?

    I have the table of 3 columns A, B, C. I want to store the sum of columns A B in the C column without using the DML statements. Can anyone help please how to do. ?

    11.1 and especially you have virtual column

    SQL> create table t
      2  (
      3     a number
      4   , b number
      5   , c generated always as (a+b) virtual
      6  );
    
    Table created.
    
    SQL> insert into t (a, b) values (1, 2);
    
    1 row created.
    
    SQL> select * from t;
    
             A          B          C
    ---------- ---------- ----------
             1          2          3
    

    Before that, a front insert - trigger

    SQL> create table t
      2  (
      3     a number
      4   , b number
      5   , c number
      6  );
    
    Table created.
    
    SQL> create or replace trigger t_default before insert on t for each row
      2  begin
      3    :new.c := :new.a+:new.b;
      4  end;
      5  /
    
    Trigger created.
    
    SQL> insert into t (a, b) values (1, 2);
    
    1 row created.
    
    SQL> select * from t;
    
             A          B          C
    ---------- ---------- ----------
             1          2          3
    
  • How can I get rid of the file name, date and size of the photo in the upper left corner of the module develop when I'm not working on the photos?

    How can I get rid of the file name, date and size of the photo in the upper left corner of the module develop when I'm not working on the photos?

    All shortcuts are listed on the view > menu Info Magnifier.

Maybe you are looking for

  • Batt 9elements W540, sleeves?

    Hello, I am looking for a lightweight sleeve for my W540 (without charger). As it has the "bump" battery 9 cells, I was wondering if anyone has any experience with the model. I prefer the leather, if possible. Thank you.

  • Pavilion p6000: memory

    My window 7 is not booting, I run the hardware test and it shows the test memory failed and generated error 'BIOME1 '. What it means? and what is the solution. Help, please.

  • Inspiron 17R SE Subwoofer

    Hello I have an Inspiron 17R SE. I read that a subwoofer is available? How do you know and how to test? Thank you.

  • WAP4410N-wall access point?

    Hello everyone, I have a small question about the WAP4410N access point. Is it possible to get this access point to a wall or ceiling? Are there tiny "holes" in the back of the access point for editing? Or is there a 'fixing' to this access point? I

  • Restore the file to the size of orignnal (using Microsoft Office Word 7)

    While in Microsoft Office work 7, I was working on a "doc" and chose the "draft" button, and now I can't get the doc to restore the original size?