I have a snapshot repository setup and I can see the snapshot via the API but I cannot see the files. Here are the details...
elastic.local?9200
{
"name": "r7Zx_d6",
"cluster_name": "homestead",
"cluster_uuid": "E8GHmq3LTW6H_R1mZHuJxw",
"version": {
"number": "6.6.1",
"build_flavor": "default",
"build_type": "deb",
"build_hash": "1fd8f69",
"build_date": "2019-02-13T17:10:04.160291Z",
"build_snapshot": false,
"lucene_version": "7.6.0",
"minimum_wire_compatibility_version": "5.6.0",
"minimum_index_compatibility_version": "5.0.0"
},
"tagline": "You Know, for Search"
}
/_snapshot/_all
{
"billing-transactions_march-2020": {
"type": "fs",
"settings": {
"compress": "true",
"location": "/tmp/elasticsnaps/billing-transactions_march-2020"
}
}
}
elasticsearch.yml
path.repo: [ "/tmp/elasticsnaps" ]
/_notes/
to show that elasticsearch has the path.repo set...
...
"path": {
"data": [
"/var/lib/elasticsearch"
],
"logs": "/var/log/elasticsearch",
"home": "/usr/share/elasticsearch",
"repo": [
"/tmp/elasticsnaps"
]
},
...
status of the snapshot
/_snapshot/billing-transactions_march-2020/_all
{
"snapshots": [
{
"snapshot": "archive_billing-transactions_2020-03-30",
"uuid": "h6c85RaSTrCxgVpiPzkYYg",
"version_id": 6060199,
"version": "6.6.1",
"indices": [
"billing-transactions_2020-01",
"billing-transactions_2019-10",
"billing-transactions_2019-11",
"billing-transactions_2019-12",
"billing-transactions_2020-02"
],
"include_global_state": true,
"state": "SUCCESS",
"start_time": "2020-03-30T22:23:28.071Z",
"start_time_in_millis": 1585607008071,
"end_time": "2020-03-30T22:23:28.836Z",
"end_time_in_millis": 1585607008836,
"duration_in_millis": 765,
"failures": [
],
"shards": {
"total": 5,
"failed": 0,
"successful": 5
}
}
]
}
directory listing is EMPTY????
root@elastictools:/tmp/elasticsnaps# ls -alh
total 8.0K
drwxr-xr-x 2 elasticsearch elasticsearch 4.0K Mar 31 04:11 .
drwxrwxrwt 18 root root 4.0K Mar 31 04:09 ..
again. the point is that I cannot find the snapshot files. Can you help?