# Creating Snapshot repository, Linux and windows paths get mixed. Why?

**URL:** <https://discuss.elastic.co/t/creating-snapshot-repository-linux-and-windows-paths-get-mixed-why/239767>\
**Category:** Elasticsearch\
**Created:** [July 3, 2020, 9:43am UTC](https://discuss.elastic.co/t/creating-snapshot-repository-linux-and-windows-paths-get-mixed-why/239767 "2020-07-03T09:43:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![defalt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/defalt/32/71379_2.png) [@defalt](https://discuss.elastic.co/u/defalt)\
**Post date:** [July 3, 2020, 9:43am UTC](https://discuss.elastic.co/t/creating-snapshot-repository-linux-and-windows-paths-get-mixed-why/239767/1 "2020-07-03T09:43:27Z")

</div>

Hi  
I have 3 Nodes. 2 on Windows and 1 on linux. I want to try the snapshoting feature. As far as I know I have to set the `path.repo`on every node. So I created the network drive e which is on the PC Scot  
YML:

1. Windows1 `path.repo: ["\\\\SCOT\\e\\SnapshotTesting"]`
2. Windows2 `path.repo: ["\\\\SCOT\\e\\SnapshotTesting"]`
3. Linux:  
I mounted SCOT with: `sudo mount.cifs //IPofScot/e/SnapshotTesting /mnt/share -o user=user `  
With this I can access the SnapshotTesting with `/mnt/share`.  
So I set `path.repo: /mnt/share`

Now I tried the following API (on Windows1):

```auto
localhost:9200/_snapshot/my_backup2
{
  "type": "fs",
  "settings": {
    "location": "\\\\SCOTTY\\e\\SnapshotTesting"
  }
}

```

But I get the following error:

```auto
'RemoteTransportException[[batman_node3][172.22.23.72:9300][internal:admin/repository/verify]]; nested: RepositoryException[[my_backup2] cannot create blob store]; nested: FileSystemException[**/mnt/share/\\\\SCOT\\e\\SnapshotTesting** : The argument is invalid];']]"

```

Why does it mix up the 2 paths? How can I fix this?

Thanks,  
_defalt_

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [July 3, 2020, 9:58am UTC](https://discuss.elastic.co/t/creating-snapshot-repository-linux-and-windows-paths-get-mixed-why/239767/2 "2020-07-03T09:58:08Z")

</div>

The path must be the same across all nodes, which makes it hard to use file system snapshots on mixed OS cluster (which is not recommended anyway).

---

<div class="post-metadata">

**Author:** ![defalt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/defalt/32/71379_2.png) [@defalt](https://discuss.elastic.co/u/defalt)\
**Post date:** [July 3, 2020, 10:00am UTC](https://discuss.elastic.co/t/creating-snapshot-repository-linux-and-windows-paths-get-mixed-why/239767/3 "2020-07-03T10:00:32Z")

</div>

Ok good to know. Is there any way to backup this system? Maybe stop allocation, put node 3 away and thank backup node 1 and 2? Its all experimental, so I just try to understand what is possible. If its not possible at all its fine too^^

Thanks

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [July 3, 2020, 10:01am UTC](https://discuss.elastic.co/t/creating-snapshot-repository-linux-and-windows-paths-get-mixed-why/239767/4 "2020-07-03T10:01:33Z")

</div>

Maybe, but have never tried it.

---

<div class="post-metadata">

**Author:** ![defalt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/defalt/32/71379_2.png) [@defalt](https://discuss.elastic.co/u/defalt)\
**Post date:** [July 3, 2020, 10:04am UTC](https://discuss.elastic.co/t/creating-snapshot-repository-linux-and-windows-paths-get-mixed-why/239767/5 "2020-07-03T10:04:47Z")

</div>

Is it ok if I just manually backup the indices folders? They should store all the data right?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 31, 2020, 10:04am UTC](https://discuss.elastic.co/t/creating-snapshot-repository-linux-and-windows-paths-get-mixed-why/239767/6 "2020-07-31T10:04:54Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
