# Restore fallisce con "hotlinked\_media\_status" già esistente

**URL:** <https://meta.discourse.org/t/restore-fails-with-hotlinked-media-status-already-exists/323795>\
**Category:** Support\
**Created:** [28 Agosto 2024, 3:00pm UTC](https://meta.discourse.org/t/restore-fails-with-hotlinked-media-status-already-exists/323795 "2024-08-28T15:00:27Z")\
**Posts on this page:** 1\
**Showing post:** 1

<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:** [28 Agosto 2024, 3:00pm UTC](https://meta.discourse.org/t/restore-fails-with-hotlinked-media-status-already-exists/323795/1 "2024-08-28T15:00:27Z")

</div>

Continuando la discussione da [Upgrade fails on duplicate key error (“index post hotlinked media on post id and url md5”)](https://meta.discourse.org/t/upgrade-fails-on-duplicate-key-error-index-post-hotlinked-media-on-post-id-and-url-md5/226002/10):

Sto ora cercando di ripristinare da un sito di produzione a un sito di staging e sto ricevendo:

```plaintext
ERROR: type "hotlinked_media_status" already exists
EXCEPTION: psql failed: ERROR: type "hotlinked_media_status" already exists

```

@david c’è qualche caso che ti sei in qualche modo perso quando l’hai risolto in precedenza (penso che stesse fallendo sulle migrazioni allora, e questo è un ripristino).

---

_[View the full topic](https://meta.discourse.org/t/restore-fails-with-hotlinked-media-status-already-exists/323795)._
