# Backup fails with postgres 18

**URL:** https://meta.discourse.org/t/backup-fails-with-postgres-18/403289
**Category:** Support
**Created:** [May 19, 2026, 6:32am UTC](https://meta.discourse.org/t/backup-fails-with-postgres-18/403289 "2026-05-19T06:32:20Z")
**Posts on this page:** 1
**Showing post:** 9

<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: [May 20, 2026, 3:47pm UTC](https://meta.discourse.org/t/backup-fails-with-postgres-18/403289/9 "2026-05-20T15:47:51Z")

</div>

You can add code to your `app.yml` to update postgres to the matching version. I’ve done it before, but can’t find my notes. The easiest thing to do is go into the container, issue the `apt` commands to get the right postgres clients installed and then try the backup. Once that works, you add those commands to `exec` commands in your `app.yml` so that it’ll work after the next rebuild.

If you need someone to walk you though it, you can email me or post in #Marketplace.

---

_[View the full topic](https://meta.discourse.org/t/backup-fails-with-postgres-18/403289)._
