# Backup failed due to PG/SQL errors

**URL:** https://meta.discourse.org/t/backup-failed-due-to-pg-sql-errors/173062
**Category:** Self-hosting
**Created:** [December 12, 2020, 3:59am UTC](https://meta.discourse.org/t/backup-failed-due-to-pg-sql-errors/173062 "2020-12-12T03:59:02Z")
**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: [December 13, 2020, 5:49pm UTC](https://meta.discourse.org/t/backup-failed-due-to-pg-sql-errors/173062/6 "2020-12-13T17:49:40Z")

</div>

It’s trying to upgrade postgres. So much of that is expected.

Maybe it’ll it over again and change to the pg 10 template as described in [PostgreSQL 13 update](https://meta.discourse.org/t/postgresql-13-update/172563)

---

_[View the full topic](https://meta.discourse.org/t/backup-failed-due-to-pg-sql-errors/173062)._
