# Avatars lost after restore. How to get them back?

**URL:** https://meta.discourse.org/t/avatars-lost-after-restore-how-to-get-them-back/148223
**Category:** Support
**Created:** [16 april 2020 om 10:43 UTC](https://meta.discourse.org/t/avatars-lost-after-restore-how-to-get-them-back/148223 "2020-04-16T10:43:23Z")
**Posts on this page:** 1
**Showing post:** 43

<div class="post-metadata">

### Author: ![ariznaf](https://avatars.discourse-cdn.com/v4/letter/a/ecccb3/32.png) [@ariznaf](https://meta.discourse.org/u/ariznaf)
#### Post date: [19 april 2020 om 13:00 UTC](https://meta.discourse.org/t/avatars-lost-after-restore-how-to-get-them-back/148223/43 "2020-04-19T13:00:38Z")

</div>

I have tried to change again the name of the host to [b.domain.com](http://b.domain.com).

No luck.

It seems that when I use the old name it works (but now I am suspecting that it is getting images and things from the old server that is still online, as I get new posts and notifications from new posts in the old server, even if I have changed the IP for [a.domain.com](http://a.domain.com) in my hosts file).

I have followed the instructions in this post to change the name of the host

> [@Change the domain name or rename your Discourse](https://meta.discourse.org/t/change-the-domain-name-or-rename-my-discourse/16098):
>
> bookmark This guide explains how-to change the domain name of your Discourse site, and includes information about setting up DNS changes, editing configuration files, updating site settings, and correcting social logins and post content to reflect your new domain name. warning This guide is for self-hosted Discourse instances that were installed using our [installation guide on GitHub](https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md). If you are [hosted by Discourse](https://www.discourse.org/pricing), please see [Configure your domain name for hosted Discourse](https://meta.discourse.org/t/configure-your-domain-name-for-hosted-discourse/21827) for specific …

I had thought that making the discourse remap [a.domain.com](http://a.domain.com) to [b.domain.com](http://b.domain.com) would solve the problem.  
Even I have made the rake postes:rebake, but the result is the same.

I have lost the avatars and the logo and the images inserted in posts are lost too.

Finally, as @neounix suggested, I untar all the uploads again to replace the destionation in shared/standalone/uploads/ but with no luck, results are the same.

---

_[View the full topic](https://meta.discourse.org/t/avatars-lost-after-restore-how-to-get-them-back/148223)._
