# Backup Failed error

**URL:** https://meta.discourse.org/t/backup-failed-error/365262
**Category:** Support
**Created:** [May 8, 2025, 5:58am UTC](https://meta.discourse.org/t/backup-failed-error/365262 "2025-05-08T05:58:23Z")
**Posts on this page:** 1
**Showing post:** 6

<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 8, 2025, 6:37pm UTC](https://meta.discourse.org/t/backup-failed-error/365262/6 "2025-05-08T18:37:57Z")

</div>

> [@Aniket](#):
>
> I have external Database which is 16.3 version, and i have web\_only container in that i have psql (PostgreSQL) 15.12 getting error while backup. h

I’m pretty sure that the issue is that you’ve got 16 and Discourse has the PG15 tools. You need to go into the container and switch to the PG16 tools.

The longer-term solution is to add code to your `app.yml` that will upgrade the PG tools when you build a new container.

I did that for someone a while back but I’m not working for them now and can’t find my code.

You’d google “how to upgrade to PG16” and then do that inside the container. Then you’d add stuff to the `app.yml` to do it when it rebuilds.

---

_[View the full topic](https://meta.discourse.org/t/backup-failed-error/365262)._
