We have our ES snapshot stored on S3 currently via repository-s3 plugin. Per this post:
I'd like to copy repository data of certain indices to local disk.
I see each snapshot has an UUID ( /_snapshot/REPOSITORY/my_snapshot/_status), but in my S3 bucket, I cannot use this UUID to locate the index.
And I cannot find any elastic doc talking about this.
Any help is appreciated!
LH
PS: in the index-###.dms file in the REPOSITORY bucket on s3, I also see some snapshots has a "state:1" attribute while not others. But /_status reports all are "SUCCESS". Any thought?
I figure this way I can use aws cli to sync/download a particular snapshot to my local fs, then restore from it at much faster speed. Otherwise, every time I need to wait for the data to be downloaded on demand from s3.
The other dumb choice is then to just sync the whole repository bucket to local disk, configure the repository-fs plugin pointing to local dir, then restore the particular snapshot using the _snapshot api.
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.