# Snapshotting single file

**URL:** <https://kopia.discourse.group/t/snapshotting-single-file/101>\
**Category:** Support\
**Created:** [September 9, 2020, 3:12pm UTC](https://kopia.discourse.group/t/snapshotting-single-file/101 "2020-09-09T15:12:20Z")\
**Posts on this page:** 4\
**Page:** 1

<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:** [September 9, 2020, 3:12pm UTC](https://kopia.discourse.group/t/snapshotting-single-file/101/1 "2020-09-09T15:12:20Z")

</div>

When I am performing a snapshot of a single file, rather than from a directory, the resulting snapshot starts with “Ix…” and is not visible afterwards in either KopiaUI or in the CLI, although the data has been transferred to the repository.

If this is not supported, selecting a single file shouldn’t be allowed… or it may be a bug. Here’s an example:

```
root@pandora:~# kopia snapshot /mnt/pve/vmBackup/template/iso/CentOS-Stream-8-x86_64-20191219-boot.iso
Snapshotting root@pandora:/mnt/pve/vmBackup/template/iso/CentOS-Stream-8-x86_64-20191219-boot.iso ...
 * 0 hashing, 1 hashed (626 MB), 0 cached (0 B), 0 uploaded (0 B), 0 errors
Created snapshot with root Ixf6c717bd9fc25ec003257fcaaa4f50fa and ID c40a4437925ad4963cbdd9b328d66af2 in 13s
```

---

<div class="post-metadata">

**Author:** ![maclm](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/maclm/32/61_2.png) [@maclm](https://kopia.discourse.group/u/maclm)\
**Post date:** [September 10, 2020, 12:14am UTC](https://kopia.discourse.group/t/snapshotting-single-file/101/2 "2020-09-10T00:14:33Z")

</div>

Using KopiaUI, we can either type a path or open a dialog to browse. This second method doesn’t allow to pick a file (all are greyed out).

My guess is this is not supported.

---

<div class="post-metadata">

**Author:** ![maclm](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/maclm/32/61_2.png) [@maclm](https://kopia.discourse.group/u/maclm)\
**Post date:** [September 10, 2020, 12:53am UTC](https://kopia.discourse.group/t/snapshotting-single-file/101/3 "2020-09-10T00:53:13Z")

</div>

After trying it for myself (stupid me!), I get a snapshot visible in the UI but empty.  
Trying to delete it from the CLI I get:

```bash
kopia snapshot delete cdffbf4c50edab6d0679517e989cf2c3
kopia: error: error loading snapshot cdffbf4c50edab6d0679517e989cf2c3: unable to find manifest entries: not found, try --help

```

---

<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:** [September 10, 2020, 6:27am UTC](https://kopia.discourse.group/t/snapshotting-single-file/101/4 "2020-09-10T06:27:58Z")

</div>

That is a CLI bug, it currently only allows you to delete using object IDs which are directory IDs. There’s a workaround, you should be able to list snapshots with manifests and delete by manifest ID:

To show manifest IDs (normally hidden):

```auto
$ kopia snap ls -m

```

Then use manifest ID to remove snapshot:

```auto
$ kopia snap delete <manifest-id>

```
