Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    How to re-publish all Aleph records

    • Article Type: General
    • Product: Aleph
    • Product Version: 20, 21, 22, 23

    Desired Outcome Goal:
    Republish all records.

    Procedure:
    1. Do util e/22 to stop the ue_21 publishing daemon in the libraries whose publishing sets are to be rebuilt

    2a. If *all* publishing sets are being recreated:

    > dlib xxx50 (or whatever the $usr_library is)
    > util a/17/1 to drop/create the xxx50 z00p (make sure to specify "z00p"!)

    2b. If only one publishing set is being recreated, run publish-05 (Delete ALEPH Published Records) for that publishing set only.

    3. Run publish-04 (Initial Publishing Process) in xxx01 for the desired publishing sets, specifying doc 000000000 to 999999999.  Be sure to specify multiple processes in running the job:  specify one process for every 50,000 bib records, up to 32 processes.  For this reason, publish-04 should be run at a time when it's not competing with Aleph online activity.

    4a. > cd /exlibris/aleph/u20_1/xxx01/primo_ongoing_publishing and do " rm -fr * " to remove all old tar files

    4b.  Delete the tar files for only for the one publishing set.  When you are in the ./primo_ongoing_publishing directory, you can do "ls" to see all of the publishing sets. You would then do:

    > cd      <to the directory for the specific set>
    > cd tar
    > rm -f *

    5a. Run publish-06 (Create Tar File for ALEPH Published Records) in xxx01 for "Range of documents" 000000000 to 999999999, specifying "Y" for Update Date Flag and "ALL" for the Publishing Set.

    5b. Run publish-06 for only the one publishing set.

    6. Notify the Primo staff that a completely new publishing set has been published and the existing needs to be deleted and reloaded into Primo.  (This is quite important; if all the existing records are not deleted in Primo, then records which are deleted in Aleph but not deleted in Primo will remain in Primo.)

    7. Do util e/21 to restart the ue_21 publishing daemon in the libraries whose ue_21 was stopped in step 1 above.

    Additional Information

    If only certain records need to be re-published, see Article 000020028 {How to re-publish a particular record (or records)}.

    The above sequence will take about 1 - 2 hours for every million records (assuming that it is run with a large number of processes -- see above).


    • Article last edited: 23-Jun-2020
    • Was this article helpful?