Acc to elastic 6.8 docs - https://www.elastic.co/guide/en/elasticsearch/reference/6.8/modules-snapshots.html, it is mentioned that - "we can take a snapshot of individual indices or of the entire cluster and store it in a repository on a shared filesystem.
From this doc, I understand that in order to create snapshots, we mandatorily need a shared file-system only.
Not necessary. If you have a single-node cluster (for your testing purposes), you can create snapshots in local file-system as well. I tested this on 6.8.6 and I have used this before on 5.x as well for my testing purposes. Haven't tried with 7.x but I guess the same behaviour holds true.
The aim of shared filesystem is so that multiple nodes can access the same shared repository.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.