Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Primo

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Primo
    3. Product Documentation
    4. Primo
    5. System Administration Guide
    6. Performing System Cleanup
    7. Clean Database Scripts

    Clean Database Scripts

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    This information is not applicable to Primo VE environments. For more details on Primo VE configuration, see Primo VE.
    Return to menu
    The following scripts are used to clean data from Primo sites:
    • clean_indexes.sh—This script deletes the indexes, which is the first step of re-indexing from scratch. For more information, see Re-Indexing the Database.
    • clean_data_before_reload.sh—This script deletes the PNX database and indexes, but does not delete dedup IDs and user-generated content (including tags, reviews, e-Shelf, and statistics). This script is intended for sites that are in production and need to re-create the PNX database and re-index from scratch. For more information, see Deleting and Re-Indexing the Database.
      Following the execution of the clean_data_before_reload.sh command, pipes can take longer to run.
    • clean_data_all_before_golive.sh—This script deletes the entire database, including all user-generated data, indexes, and dedup IDs. It is intended for Primo sites that are switching to production, so that they can start with a clean database.
    All of the scripts are located and executed from the be_bin directory. A log file is created for each script under the same directory, using the following naming convention:
    <script_name>.log
    To run a script, enter the following commands:
    be_bin
    <script_name>
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Performing System Cleanup
      • Re-Indexing the Database
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Content Type
      Documentation
      Language
      English
      Product
      Primo
    2. Tags
      1. contype:docum
      2. Performing System Cleanup
      3. Prod:Primo
      4. System Administration Guide
    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