Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Elasticsearch 7 Quick Start Guide

You're reading from  Elasticsearch 7 Quick Start Guide

Product type Book
Published in Oct 2019
Publisher Packt
ISBN-13 9781789803327
Pages 186 pages
Edition 1st Edition
Languages
Authors (2):
Anurag Srivastava Anurag Srivastava
Profile icon Anurag Srivastava
Douglas Miller Douglas Miller
Profile icon Douglas Miller
View More author details

Data backup and snapshots

It is important to back up a cluster and all the data it contains. We have already talked about replica shards in the previous section. These are not appropriate as a backup, as they do not provide any data protection. Instead, there is a specific API that snapshots and then restores data. The snapshot and restore API is a cluster backup mechanism that saves the current state of the cluster in a repository. We also use the reindex API to make temporary backups when making certain bulk document changes, such as _update_by_query and _delete_by_query. Back up all documents first with _reindex.

There are a few different ways to create a repository for backups. All of the following are supported:

  • Shared file systems: fs file type
  • Read-only URLs: url file type
  • S3: s3 file type
  • HDFS: hdfs file type
  • Azure: azure file type
  • Google Cloud Storage: gcs file type
  • ...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}