# Ansible Automation Platform schedule backup

**URL:** <https://forum.ansible.com/t/ansible-automation-platform-schedule-backup/45585>\
**Category:** Get Help\
**Tags:** aap, awx\
**Created:** [March 23, 2026, 8:09pm UTC](https://forum.ansible.com/t/ansible-automation-platform-schedule-backup/45585 "2026-03-23T20:09:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fritz0011](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/fritz0011/32/1667_2.png) [@fritz0011](https://forum.ansible.com/u/fritz0011)\
**Post date:** [March 23, 2026, 8:09pm UTC](https://forum.ansible.com/t/ansible-automation-platform-schedule-backup/45585/1 "2026-03-23T20:09:05Z")

</div>

AAP 2.6  
is it possible to implement a scheduled backup of automationplatform ( no EDA nor hub) via ansible playbooks ,  
something like: [awx-on-k3s/backup/ansible at main · kurokobo/awx-on-k3s · GitHub](https://github.com/kurokobo/awx-on-k3s/tree/main/backup/ansible)

or:  
[awx-on-k3s/backup/ansible at main · kurokobo/awx-on-k3s · GitHub](https://github.com/kurokobo/awx-on-k3s/tree/main/backup/ansible#use-with-awx)

---

<div class="post-metadata">

**Author:** ![taylorbrooks](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/taylorbrooks/32/10499_2.png) [@taylorbrooks](https://forum.ansible.com/u/taylorbrooks)\
**Post date:** [March 24, 2026, 9:45am UTC](https://forum.ansible.com/t/ansible-automation-platform-schedule-backup/45585/2 "2026-03-24T09:45:22Z")

</div>

Yes, you can set up scheduled backups for AAP 2.6 using the installer’s built-in backup playbook. The approach depends on whether you’re running on VMs or Kubernetes.

**For VM-based AAP 2.6:**

Run the installer with the backup flag:

```auto
./setup.sh -b

```

This creates a backup tarball of the AAP database and config. You can wrap this in a cron job or schedule it as an AAP job template that runs on the controller node itself.

**For K8s/OpenShift deployments:**

The `awx-on-k3s` repo you linked is AWX-specific (the upstream project). For the supported AAP operator on OpenShift, backups are handled through the `AnsibleAutomationPlatformBackup` custom resource. You create a CR and the operator handles the rest:

```yaml
apiVersion: aap.ansible.com/v1alpha1
kind: AnsibleAutomationPlatformBackup
metadata:
  name: aap-backup
spec:
  deployment_name: your-aap-instance

```

To schedule it, you’d use a Kubernetes CronJob that creates the backup CR on a schedule.

**Quick test first:** Run `./setup.sh -b` manually on your controller to confirm the backup works, then automate it from there. Since you mentioned no EDA or Hub, you just need to back up the controller database and `/etc/tower/` config.

What’s your deployment type (VM or K8s)?

---

<div class="post-metadata">

**Author:** ![fritz0011](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/fritz0011/32/1667_2.png) [@fritz0011](https://forum.ansible.com/u/fritz0011)\
**Post date:** [March 24, 2026, 10:03am UTC](https://forum.ansible.com/t/ansible-automation-platform-schedule-backup/45585/3 "2026-03-24T10:03:41Z")

</div>

> [@taylorbrooks](#):
>
> ` name: aap-backup`

AAP 2.6 running on OKD 4.20

---

<div class="post-metadata">

**Author:** ![fritz0011](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/fritz0011/32/1667_2.png) [@fritz0011](https://forum.ansible.com/u/fritz0011)\
**Post date:** [March 24, 2026, 9:42pm UTC](https://forum.ansible.com/t/ansible-automation-platform-schedule-backup/45585/4 "2026-03-24T21:42:37Z")

</div>

I think I just have managed to backport to AAP 🙂

 ![image](https://us1.discourse-cdn.com/ansible/original/2X/c/c09cd3e78e7602e95ab9eb442bdff72522e6a67e.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [April 23, 2026, 9:43pm UTC](https://forum.ansible.com/t/ansible-automation-platform-schedule-backup/45585/5 "2026-04-23T21:43:25Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
