# Como encontrar qualquer imagem ausente?

**URL:** <https://meta.discourse.org/t/how-to-find-any-missing-images/115672>\
**Category:** Product Support\
**Created:** [Abril 23, 2019, 3:52am UTC](https://meta.discourse.org/t/how-to-find-any-missing-images/115672 "2019-04-23T03:52:14Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)\
**Post date:** [Abril 23, 2019, 3:52am UTC](https://meta.discourse.org/t/how-to-find-any-missing-images/115672/1 "2019-04-23T03:52:14Z")

</div>

I chose to move our site to a new host, and restored from backup after setting up a new DO droplet w 2gb ram and doing a stock install.

I didn’t see any errors, and didn’t think to check all the images before shutting down the host.

As it turns out, images were missing and no amount of rebaking would help. (Initially posted [here](https://meta.discourse.org/t/error-killed-while-running-rake-posts-rebake/111943) & [here](https://meta.discourse.org/t/images-lost-after-restore-from-backup/112289))

The damage was more easily visible when I ran this command, to remove all empty folders:

`find /var/discourse/shared/standalone/uploads/default -type d -empty -delete`

About 1/2 the folders were were removed, then I uploaded from the backup. Once that was done, I see many of the missing images.

My question is.. how do I find any other posts with missing images?

EDIT Quite possibly related to [https://meta.discourse.org/t/my-forum-old-images-not-see/97123/](https://meta.discourse.org/t/my-forum-old-images-not-see/97123/)

---

_[View the full topic](https://meta.discourse.org/t/how-to-find-any-missing-images/115672)._
