AWX backup

,

I'm running AWX using the docker images on an ec2 instance in AWS.

Is there a method to backup and restore the settings/changes done inside AWX. I looked at the tower documentation but it seems my docker containers are missing some of the tools needed to do the backup/restore.

I thought about just saving the postgresql container and restoring in the event of a failure, but it seems the task container does a database initial setup task when it boots ild have to stop happening.

Just after some advice on what's best here. I'm assuming the ec2 instance could fail at any point and I don't want to lose the setup.

Hi Paul,

what i´ve done is to backup the directory where the postgresql DB is stored.
You´ll define it in…/gitrepository/installert/inventory File.

postgres_data_dir=/opt/XXX/pgdocker

It is possible to copy (cp -a) this directory wherever you want and load it using postgresql container.

Christian

Have you attempted a test restore of the database?

Yes, i´ve restored it successfull to another server.

Christian