Hi all,
I have been struggling to put together a backup solution for my ES cluster.
As far as I understand the documentation at
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-snapshots.html
I can't understand why the following might be failing:
I have exported an NFS filesystem to both nodes of my 2-node ES cluster,
mounted as /srv/backup.
I created the elastic search user on the NFS server too and then
[root@back01 ~]# ls -ld /srv/backup/es_backup
drwxrwx---. 3 elasticsearch elasticsearch 4096 Sep 29 18:37
/srv/backup/es_backup
Start with a clean filesystem:
[root@logdata01 ~]# rm -rf /srv/backup/*
Register the backup area:
[root@logdata01 ~]# curl -s -XPUT http://localhost:9200/_snapshot/backup -d
'{
"type": "fs",
"settings": {
"location": "/srv/backup"
}
}'
{"acknowledged":true}
Create a snapshot:
[root@logdata01 ~]# curl -XPUT
"localhost:9200/_snapshot/backup/tcom_snapshot?wait_for_completion=true&pretty"
I then get failures on various shards
Any help on how I could get this cluster into a sane state that can be
backed up greatly appreciated.
Best regards
Alex
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/ec09f9bd-5075-4bd5-adf7-d88cbb636c1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.