Exporting from ASpace to ArcLight

  1. Navigate to the collection you would like to make sure is exported

    1. NOTE: Only collections are exported, so if you wish to export a series, file, etc., you have to re-export the whole collection.

  2. Unclick the "Published" checkbox

  3. Re-select the "Published" checkbox and click "Save"

  4. Log on to the railsdev server with:



    ssh railsdev


  5. Export updated records from ArchivesSpace to Github:



    python3 /opt/lib/ArchivesSpace-ArcLight-Workflow/exportPublicData.py

    NOTE: if you get an error, the first time you may need to run: python -m pip install gitpython


  6. Download the XML from Github:

    sudo git --git-dir=/opt/lib/collections/.git --work-tree=/opt/lib/collections pull


  7. Index all new collections:



    /opt/lib/ArchivesSpace-ArcLight-Workflow/indexNewEAD.sh "apap" /opt/lib/ArchivesSpace-ArcLight-Workflow/indexNewEAD.sh "ua" /opt/lib/ArchivesSpace-ArcLight-Workflow/indexNewEAD.sh "ndpa" /opt/lib/ArchivesSpace-ArcLight-Workflow/indexNewEAD.sh "ger" /opt/lib/ArchivesSpace-ArcLight-Workflow/indexNewEAD.sh "mss"