I am trying to take backup of ES indices in my two nodes cluster. Getting error like : the store [/user/home/esbackup] is not shared between this node [data node] and the master node or that permissions on the store don't allow reading files written by the master node. That I understand.
Now coming to my query, ES documentation says :
Every data and master-eligible node requires access to a data directory where shards and index and cluster metadata will be stored.
Now, If I change the data path in elasticsearch.yml file (node.data) then won't I be required to make new data path as shared fs like NFS, S3, HDFS ? Because in case of backup repo(path.repo), I need to make backup file as shared fs. How is the data repository different from backup repository ?