# Mount not snapshot but the whole snapshot tree

**URL:** <https://kopia.discourse.group/t/mount-not-snapshot-but-the-whole-snapshot-tree/203>\
**Category:** Feature Requests\
**Created:** [November 16, 2020, 1:56pm UTC](https://kopia.discourse.group/t/mount-not-snapshot-but-the-whole-snapshot-tree/203 "2020-11-16T13:56:49Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![vit](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/vit/32/73_2.png) [@vit](https://kopia.discourse.group/u/vit)\
**Post date:** [November 16, 2020, 1:56pm UTC](https://kopia.discourse.group/t/mount-not-snapshot-but-the-whole-snapshot-tree/203/1 "2020-11-16T13:56:49Z")

</div>

Hello,  
i didn’t fined the possibility to mount not a particular snapshot, but the whole snapshot tree.  
It could be useful is you want to search across all the snapshots.  
is it possible?

---

<div class="post-metadata">

**Author:** ![jkowalski](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/jkowalski/32/3_2.png) [@jkowalski](https://kopia.discourse.group/u/jkowalski)\
**Post date:** [November 16, 2020, 4:04pm UTC](https://kopia.discourse.group/t/mount-not-snapshot-but-the-whole-snapshot-tree/203/2 "2020-11-16T16:04:01Z")

</div>

By default ‘Kopia mount’ on the command line will do what you need. Not sure what kind of search experience you will get (most likely too slow to be useful) as each file access has latency that’s higher than local file system.

---

<div class="post-metadata">

**Author:** ![budy](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/budy/32/38_2.png) [@budy](https://kopia.discourse.group/u/budy)\
**Post date:** [December 20, 2020, 1:42pm UTC](https://kopia.discourse.group/t/mount-not-snapshot-but-the-whole-snapshot-tree/203/3 "2020-12-20T13:42:41Z")

</div>

It would be really good, if kopia would allow to only mount the snapshots of a specific path, instead of the complete repository - esspecially if you think about multiple jobs being stored in the same repo.

---

<div class="post-metadata">

**Author:** ![jkowalski](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/jkowalski/32/3_2.png) [@jkowalski](https://kopia.discourse.group/u/jkowalski)\
**Post date:** [December 20, 2020, 3:39pm UTC](https://kopia.discourse.group/t/mount-not-snapshot-but-the-whole-snapshot-tree/203/4 "2020-12-20T15:39:31Z")

</div>

Thats actually supported. Just run

```auto
kopia mount all <mount-path>

```

---

<div class="post-metadata">

**Author:** ![budy](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/budy/32/38_2.png) [@budy](https://kopia.discourse.group/u/budy)\
**Post date:** [December 20, 2020, 4:21pm UTC](https://kopia.discourse.group/t/mount-not-snapshot-but-the-whole-snapshot-tree/203/5 "2020-12-20T16:21:46Z")

</div>

Well this actually does the same as running

```
kopia mount

```

withe the slight difference, that you get to choose the mountpoint, but that’s basically it. I do run a lot of diiferent source snapshots - if you will, and Id like to present only one of those, alas with all it’s snapshots. However, since the path doesn’t seem to have an ID, kopia doesn’t seem to recognize this.

And another funny thing is, querying the --help-full, which results in kopia mounting the whole repo, just as if kopia ignores the option…

> [root@jupiter ~]# kopia mount --help-full  
> Mounted ‘all’ on /tmp/kopia-mount674156691  
> HINT: Pass --browse to automatically open file browser.  
> Press Ctrl-C to unmount.  
> c^CUnmounting…

…just saying… 😉

---

<div class="post-metadata">

**Author:** ![jkowalski](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/jkowalski/32/3_2.png) [@jkowalski](https://kopia.discourse.group/u/jkowalski)\
**Post date:** [December 20, 2020, 4:45pm UTC](https://kopia.discourse.group/t/mount-not-snapshot-but-the-whole-snapshot-tree/203/6 "2020-12-20T16:45:29Z")

</div>

I see. Tha’ts totally doable. Can you file a github issue?

---

<div class="post-metadata">

**Author:** ![budy](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/budy/32/38_2.png) [@budy](https://kopia.discourse.group/u/budy)\
**Post date:** [December 20, 2020, 5:10pm UTC](https://kopia.discourse.group/t/mount-not-snapshot-but-the-whole-snapshot-tree/203/7 "2020-12-20T17:10:25Z")

</div>

What issue should I file, the fact that kopia mount ignores the --help option?

---

<div class="post-metadata">

**Author:** ![jkowalski](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/jkowalski/32/3_2.png) [@jkowalski](https://kopia.discourse.group/u/jkowalski)\
**Post date:** [December 20, 2020, 6:42pm UTC](https://kopia.discourse.group/t/mount-not-snapshot-but-the-whole-snapshot-tree/203/8 "2020-12-20T18:42:45Z")

</div>

That one too, but please file an issue to mount entire snapshot history

I’m thinking syntax could be simply:

`kopia mount user@host:/path <mountpoint>`

---

<div class="post-metadata">

**Author:** ![jkowalski](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/jkowalski/32/3_2.png) [@jkowalski](https://kopia.discourse.group/u/jkowalski)\
**Post date:** [December 20, 2020, 6:43pm UTC](https://kopia.discourse.group/t/mount-not-snapshot-but-the-whole-snapshot-tree/203/9 "2020-12-20T18:43:29Z")

</div>

Actually that --help-full appears to be how command-line parser works, will probably be hard to change since it’s in maintenance mode only.

---

<div class="post-metadata">

**Author:** ![budy](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/budy/32/38_2.png) [@budy](https://kopia.discourse.group/u/budy)\
**Post date:** [December 23, 2020, 6:48am UTC](https://kopia.discourse.group/t/mount-not-snapshot-but-the-whole-snapshot-tree/203/10 "2020-12-23T06:48:50Z")

</div>

Issue filed. [[Feature]: make distinct paths in repo mountable](https://github.com/kopia/kopia/issues/738)

Regarding the --help-full - I don’t get what you’re trying to say, other than the parser works differently with different kopia commands? So, --help-full works on the repo command but not on the mount command?
