Sorry, it is an edit error in my previous reply. (Don't know why two backlashes followed by a 1 is shown as a backslash and a backtick in markdown. I didn't spot that earlier). Anyway, I am taking screenshots instead. The one in my elasticsearch.yml in the windows machine doesn't have backticks, which is:
The setting in the linux machine was:
/.elasticsearch_backup/ a shared folder via samba, so it is seen by the windows machine as:
Note I manually added a
testing.txt to show that I have access to that folder. Prove that I could see the same file in the linux box:
Then I was thinking that I can use a relative path in my snapshot setting's location property. So each machine will actually write to a different repo path but is actually the same networked directory.
Did you suggest that this won't work and that
path.repo should be identical in all elasticsearch.yml files? If that is the case, my dilemma then is that I can only specify path in windows using the two-backslash networked file path syntax [aka UNC path] while in linux I can only specify a path in the unix file path syntax (be it mounted or directly accessed). I cannot make both happy at the same time.