# Re-adding missing uploads to the database

**URL:** <https://meta.discourse.org/t/re-adding-missing-uploads-to-the-database/152978>\
**Category:** Support\
**Created:** [May 27, 2020, 3:42pm UTC](https://meta.discourse.org/t/re-adding-missing-uploads-to-the-database/152978 "2020-05-27T15:42:38Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [February 13, 2026, 8:42pm UTC](https://meta.discourse.org/t/re-adding-missing-uploads-to-the-database/152978/8 "2026-02-13T20:42:56Z")

</div>

> [@satonotdead](#):
>
> I wonder if this is the best method nowadays?

There isn’t really a good method. 😿

But, yeah. That’s still the idea. I don’t think anything has changed in Discourse since then. Typically, I’d do a couple by hand to make sure that it does what’s expected. Also, make a backup first, and maybe put the site in read-only mode so that if you do need to restore the backup you won’t have to throw away any posts made while you were mucking with things.

Without knowing a good bit more than is easy to communicate in a forum I can’t tell if that’s really the best way or if there’s something simpler. You might be able to just `gsub` the paths of the URLs, for example. If you’ve got a budget you can contact me or ask in #Marketplace .

---

_[View the full topic](https://meta.discourse.org/t/re-adding-missing-uploads-to-the-database/152978)._
