Human readable name of Snapshot folder

I am doing snapshot using rest api for my elasticsearch indices, and I want to put the snapshot away for backup
This is the example of generating a snapshot

PUT /_snapshot/index-backups1/snapshot-2017.05.29
  "indices": "logstash-2017.05.29",
  "ignore_unavailable": true,
  "include_global_state": false

I found the snapshot folder is not human readable.

I took 7 snapshots for different indices, and these are the 7 folder names generated

I want to put away snapshots in cheaper storage like AWS Glacier as a daily routine, and later I need to restore some of them. It would be impossible for me to find out the folders and restore when the folder names are not human readable.

Can you provide me a solution for the human readable name of the snapshot?

Hello Sharon,
in this case I would recommend you to create a new snapshot repository and then move the whole repository to Glacier instead of just a single index.

The reason why we don't "allow" to move indices is because snapshots are incremental and moving away data would mess with that functionality.

This is what you should do:

  1. create new repo
  2. do snapshot(s)
  3. delete repo in ES (this only removes it from ES, it does not delete the data)
  4. move your data

Thanks for your reply.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.