Backing up
One of the most important tasks for the administrator is to make sure that no data will be lost in the case of a system failure. Elasticsearch, in its assumptions, is a resistant and well-configured cluster of nodes and can survive even a few simultaneous disasters. However, even the most properly configured cluster is vulnerable to network splits and network partitions, which in some very rare cases can result in data corruption or loss. In such cases, being able to get data restored from the backup is the only solution that can save us from recreating our indices. You probably already know what we want to talk about: the snapshot/restore functionality provided by Elasticsearch. Although we have covered the basics of the snapshot and restore functionality in previous editions of this book, we are going to cover it yet again in this chapter along with the cloud capabilities of the Elasticsearch backup functionality.
The snapshot API
The snapshot API, which is exposed by Elasticsearch...