# awx migration script

**URL:** <https://forum.ansible.com/t/awx-migration-script/28853>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [October 23, 2018, 1:29pm UTC](https://forum.ansible.com/t/awx-migration-script/28853 "2018-10-23T13:29:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Serge\_van\_Ginderacht](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@Serge\_van\_Ginderacht](https://forum.ansible.com/u/Serge_van_Ginderacht)\
**Post date:** [October 23, 2018, 1:29pm UTC](https://forum.ansible.com/t/awx-migration-script/28853/1 "2018-10-23T13:29:57Z")

</div>

Hi,

given we were stuck with a production setup on 1.8.7, we needed a way to upgrade without having all our users need to recreate a bunch of stuff like credentials, so i wrote a script that also migrates those, and as a bonus LDAP and other config settings.

… introducing awx-migrate:

[https://github.com/autops/awx-migrate](https://github.com/autops/awx-migrate)

Beware, this is an early version, works more or less for us now. Check README for current issues. HBD!

HTH,

Met vriendelijke groet,  
Serge van Ginderachter

---

<div class="post-metadata">

**Author:** ![Michael\_T\_Wiley](https://avatars.discourse-cdn.com/v4/letter/m/4bbf92/32.png) [@Michael\_T\_Wiley](https://forum.ansible.com/u/Michael_T_Wiley)\
**Post date:** [October 23, 2018, 2:56pm UTC](https://forum.ansible.com/t/awx-migration-script/28853/2 "2018-10-23T14:56:43Z")

</div>

Thank you, I ran through a migration earlier this week using tower-cli only to find out half the data wasn’t actually migrated and was wondering how to solve this process.

---

<div class="post-metadata">

**Author:** ![Serge\_van\_Ginderacht](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@Serge\_van\_Ginderacht](https://forum.ansible.com/u/Serge_van_Ginderacht)\
**Post date:** [October 23, 2018, 6:00pm UTC](https://forum.ansible.com/t/awx-migration-script/28853/3 "2018-10-23T18:00:43Z")

</div>

It seems there are quite some issues to restore certain objects that depend on others.

E.g. exporting users from 1.8.7 doesn’t work, hence certain objects that depend on ownership of said user won’t restore, e.g. credentials where said user is the sole to have access to. And that in turn blocks projects to git clone, which blocks installing job templates that configures e.g. a specific playbook in such a project…

So it’s definitely not a magic unicorn script 🙂

Serge
