# Cant backup because of version mismatch on aws

**URL:** <https://meta.discourse.org/t/cant-backup-because-of-version-mismatch-on-aws/131915>\
**Category:** Development\
**Tags:** unsupported-install\
**Created:** [25 oktober 2019 om 23:04 UTC](https://meta.discourse.org/t/cant-backup-because-of-version-mismatch-on-aws/131915 "2019-10-25T23:04:04Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![reidab](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/reidab/32/176853_2.png) [@reidab](https://meta.discourse.org/u/reidab)\
**Post date:** [14 april 2020 om 19:12 UTC](https://meta.discourse.org/t/cant-backup-because-of-version-mismatch-on-aws/131915/7 "2020-04-14T19:12:51Z")

</div>

We were in the same boat: deployed on GCP-managed Postgres 11 because [the docs](https://github.com/discourse/discourse/blob/master/docs/INSTALL.md#software-requirements) called for Postgres 10+.

We just ended up adding a custom command to our bootstrap to install the PG 11 client tools and swap pg\_dump to use that version by default.

```plaintext
  - exec:
      cmd:
        - apt-get update && apt-get install postgresql-client-11 && update-alternatives --install /usr/bin/pg_dump pg_dump /usr/lib/postgresql/11/bin/pg_dump 1

```

---

_[View the full topic](https://meta.discourse.org/t/cant-backup-because-of-version-mismatch-on-aws/131915)._
