# OpenLibrary OL SOLR dump: https://archive.org/details/olsolr8-2021-04-12 Running on aitio docker: ``` docker: Error response from daemon: failed to update store for object type *libnetwork.endpointCnt: Key not found in store. ERRO[0000] error waiting for container: context canceled ``` Maybe we do not need to extract the volume up front? ```shell $ sudo docker run --name ol-solr -e SOLR_JAVA_MEM='-Xms3g -Xmx3g' -v backup/var/lib/solr/data/openlibrary/data/openlibrary:/var/solr/data/openlibrary -v $(pwd)/conf/solr8-ol:/opt/solr/server/solr/configsets/olconfig:ro -p 8983:8983 solr:8.8.2 solr-precreate openlibrary /opt/solr/server/solr/configsets/olconfig ``` Will try to setup on martin-dev first. Create a named volume `ol-solr-data`. ``` $ wget -c https://archive.org/download/olsolr8-2021-04-12/olsolr8-2021-04-12.tar.gz $ docker run -v ol-solr-data:/var/lib/solr/data/openlibrary -v $(pwd):/backup ubuntu:xenial tar xzf /backup/olsolr8-2021-04-12.tar.gz ``` Plan is to get data as JSON via [solrdump](https://github.com/ubleipzig/solrdump/) once the server is running.