# What happens if I manually move images out of the tombstone directory?

**URL:** <https://meta.discourse.org/t/what-happens-if-i-manually-move-images-out-of-the-tombstone-directory/67940>\
**Category:** Product Support\
**Created:** [Août 12, 2017, 8:27 UTC](https://meta.discourse.org/t/what-happens-if-i-manually-move-images-out-of-the-tombstone-directory/67940 "2017-08-12T20:27:16Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![john-lynch](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/john-lynch/32/81514_2.png) [@john-lynch](https://meta.discourse.org/u/john-lynch)\
**Post date:** [Août 12, 2017, 8:27 UTC](https://meta.discourse.org/t/what-happens-if-i-manually-move-images-out-of-the-tombstone-directory/67940/1 "2017-08-12T20:27:16Z")

</div>

Recently, I’ve been migrating a bunch of data from an old forum (Google Spaces, actually) to my own Discourse instance. As part of this process, I uploaded a bunch of images through the Discourse API with the intent to reference them later from subsequent posts. I thought I had 30 days to do this, but it turns out that the default for moving things into the tombstone directory is just 2 days, and then they are gone entirely in 30 days. My mistake.

Now, all these images are uploaded to an S3 instance, as I do with all uploaded content. So (because it was late at night and I wasn’t thinking all that straight) I simply went into S3 and moved all the stuff out of the tombstone directory into the normal images directory, and made the content publicly accessible (as the “normal” uploads are). I was then able to refer to them from the posts as intended. After I did this, it occurred to me that perhaps this was not the greatest idea I have ever had.

So my question is:

What horrible thing have I done to Discourse’s internal bookkeeping by manually moving this stuff? Is there some image database that I’ve broken? Is there a task I can run to rebuild it? I’d turned off garbage collection (temporarily, I hope) at that point, and I want to reenable it, but I don’t want Discourse to re-tombstone these images. Any advice would be greatly appreciated.

---

_[View the full topic](https://meta.discourse.org/t/what-happens-if-i-manually-move-images-out-of-the-tombstone-directory/67940)._
