December 2017
Intermediate to advanced
434 pages
10h 29m
English
If the need arises, you can restore the state from a specific snapshot using the following command:
curl -XPOST 'http://localhost:9200/_snapshot/backups/backup_201710101930/_restore'
This will restore the snapshot backup_201710101930 from the backups repository.
Once we have set up a periodic job that takes and stores a snapshot, we are safe in the event of any failure. We now have a cluster that is recoverable from any disaster-like situation. Remember, the output of snapshots should be stored in resilient storage. At least, it should not be saved on the same Elasticsearch cluster; it should be saved on different storage, preferably a robust filesystem that is highly available, such as S3, HDFS, and so on. ...
Read now
Unlock full access