Mongo

All databases can be found on ISDA in /home/shared/mongo/<PROJECT>/<SERVER>. You can use rsync to copy the database to your local machine. To use the database use:

docker run -ti -p 27017:27017 -v ${PWD}/mongo:/data/db mongo:3.4 --storageEngine wiredTiger --directoryperdb

PostgreSQL

All databases can be found on ISDA in /home/shared/postgres/<PROJECT>/data. You can use rsync to copy the database to your local machine. To use the database use:

cd postgres
curl https://isda.ncsa.illinois.edu/~kooper/pg/pg_hba.conf
curl https://isda.ncsa.illinois.edu/~kooper/pg/pg_ident.conf
curl https://isda.ncsa.illinois.edu/~kooper/pg/postgresql.conf
curl https://isda.ncsa.illinois.edu/~kooper/pg/postmaster.opts
find . -type f -exec chmod 600 {} \;
find . -type d -exec chmod 700 {} \;
cd ..
docker run -ti -p 5432:5432 -v ${PWD}/postgres:/var/lib/postgresql/data postgres:9.5

To find the correct version of postgres check the PG_VERSION file