# La restauration de sauvegarde échoue dans un environnement Docker de développement propre : FATAL : échec de l'authentification peer pour l'utilisateur « postgres »

**URL:** https://meta.discourse.org/t/backup-restore-failing-on-clean-dev-docker-env-fatal-peer-authentication-failed-for-user-postgres/208170
**Category:** Bug
**Tags:** pr-welcome, dev-install
**Created:** [Novembre 3, 2021, 9:22 UTC](https://meta.discourse.org/t/backup-restore-failing-on-clean-dev-docker-env-fatal-peer-authentication-failed-for-user-postgres/208170 "2021-11-03T21:22:05Z")
**Posts on this page:** 1
**Showing post:** 21

<div class="post-metadata">

### Author: ![gormus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gormus/32/428592_2.png) [@gormus](https://meta.discourse.org/u/gormus)
#### Post date: [Janvier 6, 2026, 11:26 UTC](https://meta.discourse.org/t/backup-restore-failing-on-clean-dev-docker-env-fatal-peer-authentication-failed-for-user-postgres/208170/21 "2026-01-06T11:26:27Z")

</div>

Plus 1 pour ceci. Sur mon instance devcontainer, j’ai pu sauvegarder et restaurer, seulement après avoir ajouté ceci. Merci @sreenu_paruchuri

```diff
   "remoteEnv": {
     "RAILS_DEVELOPMENT_HOSTS": ".app.github.dev",
+ "USER": "discourse",
     "PGUSER": "discourse",
     "SELENIUM_FORWARD_DEVTOOLS_TO_PORT": "9229",
   },

```

---

_[View the full topic](https://meta.discourse.org/t/backup-restore-failing-on-clean-dev-docker-env-fatal-peer-authentication-failed-for-user-postgres/208170)._
