Migrating jobs from one AWX to another AWX, but on K8s

Hi,

I’ve got plenty of jobs on AWX (19.2.2) running on Docker (20.10.9) on the 1st VM. I need to move/migrate/clone them to the AWX running on Kubernetes on the 2nd VM.

Can’t find right instructions, 99% of articles are about Tower or backup, which doesn’t help me at all. It’s a lot of stuff, so I hope it’s possible to move them faster than one-by-one.

Please, help me sort it out.

I was able to use the awx cli (https://pypi.org/project/awxkit/) to do this.
Backup/export from one system and import to another.
https://docs.ansible.com/ansible-tower/latest/html/towercli/index.html

eg.
awx --conf.host https://old_host --conf.token xxx -k export --job_templates > job_templates.json
awx --conf.host https://new_host --conf.token yyy -k import < job_templates.json

Hi,

I created an export of the DB and restored it to an “external” DB that I configured in the awx operator to use this DB and do the migration.
You can also do this in k8s (see this reddit link https://www.reddit.com/r/ansible/comments/mvcsyw/migrating_awx_from_the_old_dockerbased/)

kind regards,