# Does AWXBackup & AWXRestore Commands Work in case of External PostgresFlexible DB (Azure PaaS)

**URL:** <https://forum.ansible.com/t/does-awxbackup-awxrestore-commands-work-in-case-of-external-postgresflexible-db-azure-paas/43915>\
**Category:** Get Help\
**Tags:** azure, awx, kubernetes\
**Created:** [July 16, 2025, 8:52pm UTC](https://forum.ansible.com/t/does-awxbackup-awxrestore-commands-work-in-case-of-external-postgresflexible-db-azure-paas/43915 "2025-07-16T20:52:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Swati](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/swati/32/9066_2.png) [@Swati](https://forum.ansible.com/u/Swati)\
**Post date:** [July 16, 2025, 8:52pm UTC](https://forum.ansible.com/t/does-awxbackup-awxrestore-commands-work-in-case-of-external-postgresflexible-db-azure-paas/43915/1 "2025-07-16T20:52:53Z")

</div>

Trying to understand if the native awxbackup & awxrestore commands work with an external unmanaged database , azure postgres flexible in my case.

1. A generic search tells that it will work only for managed postgres databases deployed by awx.
2. Went through lots of topics in this forum but all point to & have resolution to managed databases only.
3. Some notes from search provides below notes. Are they accurate ?
  - The AWX Operator backup is primarily for in-cluster managed PostgreSQL databases.
  - For external PostgreSQL, you need to use standard PostgreSQL backup tools like `pg_dump`.
  - Ensure the same PostgreSQL role is used for both the AWX Kubernetes cluster and the external database for a successful migration with `pg_dump` and `pg_restore`.
