# Migrate to external database and new host

**URL:** <https://forum.ansible.com/t/migrate-to-external-database-and-new-host/36958>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [August 6, 2022, 6:53am UTC](https://forum.ansible.com/t/migrate-to-external-database-and-new-host/36958 "2022-08-06T06:53:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![HG1](https://avatars.discourse-cdn.com/v4/letter/h/b782af/32.png) [@HG1](https://forum.ansible.com/u/HG1)\
**Post date:** [August 6, 2022, 6:53am UTC](https://forum.ansible.com/t/migrate-to-external-database-and-new-host/36958/1 "2022-08-06T06:53:57Z")

</div>

Hi,

After installing AWX on K3S with an external Postgres database everything runs fine (the web interface works).  
But it is still empty and I want the contents of my current AWX instance to be in the new environment.  
When I drop the awx database in Postgres and do a pg\_restore of the dump of the source database, the web interface does not work anymore.  
I have set all the passwords beforehand to the same as the source.

What am I missing here?

Regards Hans

---

<div class="post-metadata">

**Author:** ![HG1](https://avatars.discourse-cdn.com/v4/letter/h/b782af/32.png) [@HG1](https://forum.ansible.com/u/HG1)\
**Post date:** [August 11, 2022, 11:57am UTC](https://forum.ansible.com/t/migrate-to-external-database-and-new-host/36958/2 "2022-08-11T11:57:52Z")

</div>

Hi all,  
I discovered this thread : [https://github.com/ansible/awx-operator/issues/489](https://github.com/ansible/awx-operator/issues/489) an was able to get it done.  
Added to comments to it  
Regards Hans-Peter
