From 8553a35bb0fa91edd37e5728c7e546d4888514ce Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Wed, 21 Apr 2021 20:02:49 +0200 Subject: update ol notes --- extra/openlibrary/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'extra') diff --git a/extra/openlibrary/README.md b/extra/openlibrary/README.md index b3f5467..318fc97 100644 --- a/extra/openlibrary/README.md +++ b/extra/openlibrary/README.md @@ -20,3 +20,12 @@ backup/var/lib/solr/data/openlibrary/data/openlibrary:/var/solr/data/openlibrary ``` 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. -- cgit v1.2.3