Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. Script to export customer libraries (Oracle Data Pump)

    Script to export customer libraries (Oracle Data Pump)

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Question
    2. Answer
    3. Additional Information
    • Article Type: General
    • Product: Aleph
    • Product Version: 22

    Question

    Is it possible to create a script to export only customer libraries with Oracle Data Pump?

    Answer

    Yes.

    1. Use existing scripts (e.g. $aleph_proc/oracle_expdp_aleph_libs) as an example.

    2. Create a new customer script (e.g. $aleph_proc/oracle_expdp_cus_libs). Details see in additional information

    $aleph_proc/oracle_expdp_cus_libs

    Additional Information

    Example of $aleph_proc/oracle_expdp_cus_libs
    #!/bin/csh -f
    source $aleph_proc/def_local_env

    setenv CUS_LIBS "xxx01 xxx10 xxx11 xxx50 xxx60"

    foreach lib ($CUS_LIBS)
    start_proc00 $lib

    set l_active_library = `echo $active_library | aleph_tr -l`
    if ($l_active_library == $lib) then

    echo "Export library $active_library"
    $aleph_proc/oracle_expdp_current_lib

    else
    echo "LIBRARY $lib does not exist"
    endif
    end


    View article in the Exlibris Knowledge Center
    1. Back to top
      • Script to compare Oracle table row counts between two different Aleph instances
      • Script to run multiple batch jobs in sequence
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 22
      2. contype:kba
      3. Prod:Aleph
      4. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved