Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 6 Next »

As we are using kubernetes to host databases, so approch is different to restore database

Neo4j Restore

copy backup from the azure storage account

scale neo4j deployement to 0
copy your backup files inside pod with the help of support pod where same persistent volume is mounted
replace graph.db folder with the backed up graph.db
scale again neo4j pod to 1 which will load the data from the backup

Elasticsearch Restore

As we took elasticsearch backup with help of azure plugin

create repository with following command

curl -XPUT 'http://localhost:9200/_snapshot/azurebackup' -H 'Content-Type: application/json' -d '{ "type": "azure", "settings": { "container": "<blob_name>", "base_path": "<storage_account_name>"} }'

restore the snapshot with below command

curl -XPOST 'http://localhost:9200/_snapshot/azurebackup/snapshot_1/_restore'

  • No labels