Hi,
I made a snapshot on production tared the complete repository folder and moved it to another system for deeper analysis.
Path configuration for repository and snapshot is identical.
But on my target system I had too few storage, so I added a 2nd harddisk and tried:
- symlinking the new harddisk to the repository folder
- mounting the new harddisk directly to the repository folder
Then I extracted the tar there.
But my snapshots are not listed:
GET _snapshot/export
->
{
"export": {
"type": "fs",
"settings": {
"location": "/usr/local/elk/backup/export"
}
}
}
GET _snapshot/export/_all
->
{
"error": {
"root_cause": [
{
"type": "repository_missing_exception",
"reason": "[export] missing"
}
],
"type": "repository_missing_exception",
"reason": "[export] missing"
},
"status": 404
}
in filesystem it looks l
in filesystem it looks like this:
[root@vm export]# pwd
/usr/local/elk/backup/export
[root@vm export]# ls -l
insgesamt 60
-rw-r--r-- 1 elasticsearch elasticsearch 29 24. Jan 09:37 incompatible-snapshots
-rw-r--r-- 1 elasticsearch elasticsearch 1664 24. Jan 11:20 index-1
-rw-r--r-- 1 elasticsearch elasticsearch 1744 24. Jan 15:27 index-2
-rw-r--r-- 1 elasticsearch elasticsearch 8 24. Jan 15:27 index.latest
drwxr-xr-x 14 elasticsearch elasticsearch 4096 24. Jan 11:20 indices
drwx------ 2 root root 16384 1. Mär 09:08 lost+found
-rw-r--r-- 1 elasticsearch elasticsearch 90 24. Jan 15:27 meta-5HRAvCrzTMWjkk3gCsui5Q.dat
-rw-r--r-- 1 elasticsearch elasticsearch 90 24. Jan 09:34 meta-AbNDcf5_TjWV-HPFIWdsOg.dat
-rw-r--r-- 1 elasticsearch elasticsearch 90 24. Jan 11:20 meta-IJ4iNAWTQ5Oxug8mEvrPBw.dat
-rw-r--r-- 1 elasticsearch elasticsearch 230 24. Jan 15:27 snap-5HRAvCrzTMWjkk3gCsui5Q.dat
-rw-r--r-- 1 elasticsearch elasticsearch 513 24. Jan 09:37 snap-AbNDcf5_TjWV-HPFIWdsOg.dat
-rw-r--r-- 1 elasticsearch elasticsearch 561 24. Jan 11:20 snap-IJ4iNAWTQ5Oxug8mEvrPBw.dat
[root@vm export]#
so, permissions are correct.
Any pitfall I trapped in?
Thanks, Andreas