How to import repository.tar.gz?

We recently added support to import the repository.tar.gz Elasticsearch index archive with the dcc-download-import tool.

  1. Download the tool:
wget https://artifacts.oicr.on.ca/artifactory/dcc-release/org/icgc/dcc/dcc-download-import/[RELEASE]/dcc-download-import-[RELEASE].jar -O dcc-download-import.jar
  1. Import the archive:
java -jar dcc-download-import.jar -i repository.tar.gz -es es://localhost:9300