I created a set of snapshots in v1.5 and then upgraded to v2.1. I added the path to the whitelisted set of paths in path.repo and tested creating a snapshot.
That all worked fine, however I am not able to restore any of the snapshots created with the older version of elasticsearch. The snap-{index}.dat and meta-{index}.dat files are missing for the older snapshots, and a snapshot_missing_exception is thrown.
The first thing you should do is run the migration plugin to determine if the data is suitable for migration to 2.x;
but you will need to restore to a 1.5 instance to determine this.
I believe you could also restore to 1.5 and use a logstash input to read from 1.5 and a logstash output to write to 2.1 (but I haven't tested this myself).
It appears to be a user error on our part. The archive folder was moved and not all the files were transferred. The metadata files were moved but not the snapshot files. Once this was done the restore functions worked as expected in v2.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.