# Help needed with snapshot verify

**URL:** <https://kopia.discourse.group/t/help-needed-with-snapshot-verify/3887>\
**Category:** Support\
**Created:** [April 18, 2025, 2:55pm UTC](https://kopia.discourse.group/t/help-needed-with-snapshot-verify/3887 "2025-04-18T14:55:53Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![SomeBoringName](https://avatars.discourse-cdn.com/v4/letter/s/ecd19e/32.png) [@SomeBoringName](https://kopia.discourse.group/u/SomeBoringName)\
**Post date:** [April 18, 2025, 2:55pm UTC](https://kopia.discourse.group/t/help-needed-with-snapshot-verify/3887/1 "2025-04-18T14:55:53Z")

</div>

Hi everyone,  
I’m relatively new to kopia and usually only use its GUI, but I read about this command and wanted to try it:

```auto
kopia snapshot verify --verify-files-percent=100 --file-parallelism=10 --parallel=10

```

However, I can’t get it to work. I’m doing the following:

```auto
kopia repository connect filesystem --path="..."
kopia snapshot verify "k824b5107b13b381cb832c7ed16dbeaa2" --verify-files-percent=100 --file-parallelism=10 --parallel=10

```

but it gives an error:

```auto
Listing blobs...
Listed 17 blobs.
ERROR unable to parse snapshot manifest k824b5107b13b381cb832c7ed16dbeaa2: snapshot not found
Finished processing 0 objects.
ERROR found 0 of the 1 requested snapshot IDs to verify

```

I have tried different snapshot-IDs with and without quotation marks, verify without further flags,… same error.

What am I doing wrong?  
Thanks for your help

---

<div class="post-metadata">

**Author:** ![dimejo](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/dimejo/32/287_2.png) [@dimejo](https://kopia.discourse.group/u/dimejo)\
**Post date:** [April 19, 2025, 11:28am UTC](https://kopia.discourse.group/t/help-needed-with-snapshot-verify/3887/2 "2025-04-19T11:28:32Z")

</div>

I’m seeing the same error when passing a snapshot-id. But omiting the snapshot-id and verifying the repository instead a single snapshot does work.

---

<div class="post-metadata">

**Author:** ![kapitainsky](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/kapitainsky/32/535_2.png) [@kapitainsky](https://kopia.discourse.group/u/kapitainsky)\
**Post date:** [April 19, 2025, 3:42pm UTC](https://kopia.discourse.group/t/help-needed-with-snapshot-verify/3887/3 "2025-04-19T15:42:18Z")

</div>

I have tried and indeed it does not work. Looks like a bug for me.

---

<div class="post-metadata">

**Author:** ![97b4958b055b](https://avatars.discourse-cdn.com/v4/letter/9/47e85d/32.png) [@97b4958b055b](https://kopia.discourse.group/u/97b4958b055b)\
**Post date:** [April 20, 2025, 7:09pm UTC](https://kopia.discourse.group/t/help-needed-with-snapshot-verify/3887/4 "2025-04-20T19:09:45Z")

</div>

I think I see what’s amiss:

Without:

```auto
kopia snapshot verify --verify-files-percent=100 --file-parallelism=10 --parallel=10 --config-file=$HOME/.config/kopia/repository.config; status=$?; printf "%s\n" "snapshot verify exit code: $status"
Listing blobs...
Listed 46 blobs.
Processed 0 objects.
Finished processing 5 objects.
snapshot verify exit code: 0

```

With:

```auto
kopia snapshot verify --verify-files-percent=100 --file-parallelism=10 --parallel=10 --config-file=$HOME/.config/kopia/repository.config c5488bd7509fa100aa10c9ede4fcbf57; status=$?; printf "%s\n" "snapshot verify exit code: $status"
Listing blobs...
Listed 46 blobs.
Processed 0 objects.
Finished processing 5 objects.
snapshot verify exit code: 0

```

The snapshot ID was noted after running:

```auto
time kopia --config-file=$HOME/.config/kopia/repository.config snapshot create $pathToSnapshot; kopia_exit_status="$?"; printf "%s\n" "exit code: $kopia_exit_status"
Snapshotting user@host:$pathToSnapshot ...
 * 0 hashing, 3 hashed (30.3 MB), 0 cached (0 B), uploaded 24.8 MB, estimating...
Created snapshot with root kc9c25d526595cb6114c611ad5d5b6a0f and ID c5488bd7509fa100aa10c9ede4fcbf57 in 0s

real 0m0.528s
user 0m0.452s
sys 0m0.096s
exit code: 0

```

It appears `kopia snapshot list --show-identical --all --config-file=$HOME/.config/kopia/repository.config "$user@host:$pathToSnapshot"` only reports the _root_ ID (eg: `kc9c25d526595cb6114c611ad5d5b6a0f`) vs the actual _snapshot_ ID (`c5488bd7509fa100aa10c9ede4fcbf57`).

So that’s fun.

---

<div class="post-metadata">

**Author:** ![97b4958b055b](https://avatars.discourse-cdn.com/v4/letter/9/47e85d/32.png) [@97b4958b055b](https://kopia.discourse.group/u/97b4958b055b)\
**Post date:** [April 20, 2025, 7:20pm UTC](https://kopia.discourse.group/t/help-needed-with-snapshot-verify/3887/5 "2025-04-20T19:20:35Z")

</div>

@SomeBoringName

Found it:

`kopia snapshot list --json --json-indent --config-file=$HOME/.config/kopia/repository.config "$user@$host:$pathToBeSnapshotted" | grep "id" | head -n1`

```auto
 "id": "c5488bd7509fa100aa10c9ede4fcbf57",

```

So I echo @kapitainsky : this seems like a bug… at least in proper output in the CLI, GUI.

---

<div class="post-metadata">

**Author:** ![dimejo](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/dimejo/32/287_2.png) [@dimejo](https://kopia.discourse.group/u/dimejo)\
**Post date:** [April 21, 2025, 9:29am UTC](https://kopia.discourse.group/t/help-needed-with-snapshot-verify/3887/6 "2025-04-21T09:29:06Z")

</div>

> [@97b4958b055b](#):
>
> It appears `kopia snapshot list --show-identical --all --config-file=$HOME/.config/kopia/repository.config "$user@host:$pathToSnapshot"` only reports the _root_ ID (eg: `kc9c25d526595cb6114c611ad5d5b6a0f`) vs the actual _snapshot_ ID (`c5488bd7509fa100aa10c9ede4fcbf57`).

Great find! 👏

> [@97b4958b055b](#):
>
> So I echo @kapitainsky : this seems like a bug… at least in proper output in the CLI, GUI.

Agree. Would you mind creating a Github issue?

---

<div class="post-metadata">

**Author:** ![97b4958b055b](https://avatars.discourse-cdn.com/v4/letter/9/47e85d/32.png) [@97b4958b055b](https://kopia.discourse.group/u/97b4958b055b)\
**Post date:** [April 21, 2025, 9:58am UTC](https://kopia.discourse.group/t/help-needed-with-snapshot-verify/3887/7 "2025-04-21T09:58:47Z")

</div>

I would. I don’t care for MSFT’s openly hostile stance towards online privacy. They can kiss my ASN.

---

<div class="post-metadata">

**Author:** ![SomeBoringName](https://avatars.discourse-cdn.com/v4/letter/s/ecd19e/32.png) [@SomeBoringName](https://kopia.discourse.group/u/SomeBoringName)\
**Post date:** [April 21, 2025, 10:37am UTC](https://kopia.discourse.group/t/help-needed-with-snapshot-verify/3887/8 "2025-04-21T10:37:15Z")

</div>

Wow, thank you all for your answers and especially @97b4958b055b for identifying the problem!  
Glad my question wasn’t entirely stupid.  
With the other ID it seems to work 🙂

---

<div class="post-metadata">

**Author:** ![97b4958b055b](https://avatars.discourse-cdn.com/v4/letter/9/47e85d/32.png) [@97b4958b055b](https://kopia.discourse.group/u/97b4958b055b)\
**Post date:** [April 22, 2025, 12:08pm UTC](https://kopia.discourse.group/t/help-needed-with-snapshot-verify/3887/9 "2025-04-22T12:08:37Z")

</div>

This software has a lot of rough edges IMO. Testing thoroughly before relying on it would be prudent if you don’t mind the unsolicited advice.

Have a good one.
