# Tip: Generating missing/corrupted blobs

**URL:** <https://kopia.discourse.group/t/tip-generating-missing-corrupted-blobs/8781>\
**Category:** General Topics\
**Created:** [January 21, 2026, 7:56am UTC](https://kopia.discourse.group/t/tip-generating-missing-corrupted-blobs/8781 "2026-01-21T07:56:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![PotatoMash](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/potatomash/32/1950_2.png) [@PotatoMash](https://kopia.discourse.group/u/PotatoMash)\
**Post date:** [January 21, 2026, 7:56am UTC](https://kopia.discourse.group/t/tip-generating-missing-corrupted-blobs/8781/1 "2026-01-21T07:56:13Z")

</div>

If you happen to delete a folder or file (blob) by accident from a repo, or a network sync failure (rclone backend bug / VFS / FUSE / bad drive), backup your repo first then follow these steps to regenerate them:

1. `kopia snapshot fix invalid-files --commit`
2. `kopia cache clear`
3. `kopia maintenance run --full --safety=none`
4. `kopia snapshot create`

In case you get `unable to rewrite content "BLOB not found"` remove empty folders and rerun the commands.

Note that if the source no longer contains the file that was covered by the missing blob tied to any snapshot, it will show up as `.INVALID.yourfilenamehere` on restore with the following content inside:

```auto
{
      "info": "Kopia replaced the original entry with this stub because of an error.",
      "error": "object Ix99721bde8c77aedf619ff6689bd65138 is backed by missing blob p10cda0a4e1ba3bdf8b02258abbb90290-s45dbf2dde6c6b02c13d",
      "entry": {
          "name": "yourfilenamehere.mp4",
          "type": "f",
          "mode": "0666",
          "size": 8405570,
          "mtime": "2026-01-13T06:17:43.6489384Z",
          "obj": "Ix99721bde8c77aedf619ff6689bd65138"
      }
  }

```

To be extra safe assuming that there is no egress cost, test repo restore functionality after clearing cache.

I ❤ Kopia.

* * *

> **Relevant topics**
>
> _> [@Missing blobs - what are next steps? (not using rclone)](https://kopia.discourse.group/t/missing-blobs-what-are-next-steps-not-using-rclone/3717):
> >
> > Hello. I am doing SFTP backups. I see a lot of ‘missing blob’ posts that mention rclone, but I am not using rclone. I logged into my server and ran verify: screen -S kopia-verify -d -m bash -c "kopia snapshot verify --verify-files-percent=100 --file-parallelism=10 --parallel=10" And the output included, ERROR error processing use@host:/backup/path@2025-01-19 16:51:54 PST/.cache/kopia/content-logs/kopia-20250110-180454-196071-server-start.0.log: object Ix9acf8210cb6104b8a5cbe445276aae1e is b…_
> 
>  
> 
> _> [@How to regenerate missing blobs](https://kopia.discourse.group/t/how-to-regenerate-missing-blobs/2180):
> >
> > I’ve checked several other posts related to “missing blobs” but couldn’t arrive at any conclusions, so I apologize if I missed something. This is using kopia 0.13 with local sources and repository. The sequence of events is: Backup is to a zfs filesystem without redundancy. zfs reported I/O errors in a few files which were blobs. It advised to delete these files. Since I have all the source files, I though kopia would recreate such missing blobs at the next backup. I deleted these blobs. I r…_
