# Images lost after restore from backup (very old discourse install)

**URL:** <https://meta.discourse.org/t/images-lost-after-restore-from-backup-very-old-discourse-install/112289>\
**Category:** Product Support\
**Created:** [21.Март.2019 21:13:25 UTC](https://meta.discourse.org/t/images-lost-after-restore-from-backup-very-old-discourse-install/112289 "2019-03-21T21:13:25Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)\
**Post date:** [23.Апрель.2019 04:15:21 UTC](https://meta.discourse.org/t/images-lost-after-restore-from-backup-very-old-discourse-install/112289/4 "2019-04-23T04:15:21Z")

</div>

You weren’t supposed to do this by hand.

Try

```plaintext
rails c
OnceoffLog.where(job_name: "PostUploadsRecovery").count

```

---

_[View the full topic](https://meta.discourse.org/t/images-lost-after-restore-from-backup-very-old-discourse-install/112289)._
