# Export and Import of AWX objects from instance to instance

**URL:** <https://forum.ansible.com/t/export-and-import-of-awx-objects-from-instance-to-instance/3278>\
**Category:** Get Help\
**Tags:** awx\
**Created:** [January 11, 2024, 5:31pm UTC](https://forum.ansible.com/t/export-and-import-of-awx-objects-from-instance-to-instance/3278 "2024-01-11T17:31:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevin\_codey](https://avatars.discourse-cdn.com/v4/letter/k/e99b99/32.png) [@kevin\_codey](https://forum.ansible.com/u/kevin_codey)\
**Post date:** [January 11, 2024, 5:31pm UTC](https://forum.ansible.com/t/export-and-import-of-awx-objects-from-instance-to-instance/3278/1 "2024-01-11T17:31:09Z")

</div>

I would like to stand up a second instance of AWX, just like my first, and bring across my 50 or so templates with their surveys and the like. I don’t want to build them all by hand again.

I know the API can be used to extract this data from the first instance and to pump it back into the new instance. Has anyone already done this? I’m thinking bash with jq to pull the key data is a way to go, but I’m sure there’s a better one.

---

<div class="post-metadata">

**Author:** ![fosterseth](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/fosterseth/32/101_2.png) [@fosterseth](https://forum.ansible.com/u/fosterseth)\
**Post date:** [January 26, 2024, 6:30pm UTC](https://forum.ansible.com/t/export-and-import-of-awx-objects-from-instance-to-instance/3278/2 "2024-01-26T18:30:41Z")

</div>

You have a couple of options,

You could use awx.collection export and import modules to extract the data and import into the new instance.

[https://docs.ansible.com/ansible/latest/collections/awx/awx/export\_module.html#ansible-collections-awx-awx-export-module](https://docs.ansible.com/ansible/latest/collections/awx/awx/export_module.html#ansible-collections-awx-awx-export-module)

You might try using the awx-operator Backup and Restore roles to do this as well.

> <https://github.com/ansible/awx-operator/tree/devel/roles/backup>
>
> //github.com/ansible/awx-operator/tree/devel/roles/backup

> <https://github.com/ansible/awx-operator/tree/devel/roles/restore>
>
> //github.com/ansible/awx-operator/tree/devel/roles/restore

Seth

---

<div class="post-metadata">

**Author:** ![kevin\_codey](https://avatars.discourse-cdn.com/v4/letter/k/e99b99/32.png) [@kevin\_codey](https://forum.ansible.com/u/kevin_codey)\
**Post date:** [January 26, 2024, 6:46pm UTC](https://forum.ansible.com/t/export-and-import-of-awx-objects-from-instance-to-instance/3278/3 "2024-01-26T18:46:25Z")

</div>

Thank you for going back and finding this, Seth. I will research the export option. I have everything to learn about that process, but it might do just what I need. I built a Powershell tool that does it, while I was waiting, so I have something with which to compare. 🙂
