Would you like to learn how to create an ElasticSearch backup? In this tutorial, we are going to show you how to create the backup of an ElasticSearch index on a computer running Ubuntu Linux.
Learn how to perform the ElasticSearch backup and restore of an index in 5 minutes or less.
• Ubuntu 18
• Ubuntu 19
• ElasticSearch 7.6.2
In our example, The ElastiSearch server IP address is 192.168.100.7.
Important! The Elasticsearch uses the word Index instead of the word Table.
ElasticSearch Related Tutorial:
On this page, we offer quick access to a list of tutorials related to ElasticSearch installation.
ElasticSearch Related Tutorial:
On this page, we offer quick access to a list of tutorials related to ElasticSearch installation.
Tutorial ElasticSearch – Backup
Install the required packages.
Use the NPM command to install Elasticdump.
Test your communication with the ElasticSearch server.
Here is the command output:
Create an ElasticSearch backup.
Here is the command output:
In our example, we created a backup of the Elasticsearch index named ACCOUNTS.
Important! We previously created an ElasticSearch index named ACCOUNTS to use as an example.
Verify the content of the ElasticSearch backup file.
Here is the command output:
Congratulations! You created the backup of an ElasticSearch index.
Tutorial ElasticSearch – Restore
Install the required packages.
Use the NPM command to install Elasticdump.
Test your communication with the ElasticSearch server.
Here is the command output:
Restore the ElasticSearch backup from the JSON file.
Here is the command output:
In our example, we restored the backup of an Elasticsearch index named ACCOUNTS.
Verify the Elasticsearch data restored.
Here is the command output:
Congratulations! You restored the backup of an ElasticSearch index.