Elasticsearch Version: 7.6.2 and above
Python Dependency:
pip install -r requirements.txt
- python3 es_mapping_backup.py --schema ALL (Download all the mappings)
- python3 es_mapping_backup.py (Download mapping for only the config file indices)
- python3 es_backup.py --schema ALL (Download all the indices data)
- python3 es_backup.py (Download data for only the config file indices)
- python3 es_mapping_uploader.py --dir mapping-data/ --create true (Upload all the mappings from corresponding directory)
Other possible arguments: --update true, --delete true
- python3 es_restore.py --schema ALL (Upload all the indices data)
- python3 es_restore.py (Upload data for only the config file indices)