Shell script for backing up (and restoring) ElasticSearch indices.