# Set backup Retention Count on Controller for Collect Backup Agent Task

**URL:** <https://forum.inductiveautomation.com/t/set-backup-retention-count-on-controller-for-collect-backup-agent-task/68800>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [January 19, 2023, 4:53pm UTC](https://forum.inductiveautomation.com/t/set-backup-retention-count-on-controller-for-collect-backup-agent-task/68800 "2023-01-19T16:53:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![etknorr](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/etknorr/32/33184_2.png) [@etknorr](https://forum.inductiveautomation.com/u/etknorr)\
**Post date:** [January 19, 2023, 4:53pm UTC](https://forum.inductiveautomation.com/t/set-backup-retention-count-on-controller-for-collect-backup-agent-task/68800/1 "2023-01-19T16:53:59Z")

</div>

I am using Ignition 8.1.15 for a project with multiple gateways controlled by the Enterprise Administration Module. Is there a way to set a retention count for how many backups of each agent will be saved similar to the way a local gateway can be set in the Schedule Backup Settings?

I'm looking for this

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/6/a6163ecf9e32f11464b4b412a02263b6495c6f28.png)

to exist somewhere here

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/2/b2a9d5d93b5ef97acb745cf719b6bafc94231074.png)

---

<div class="post-metadata">

**Author:** ![kcollins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kcollins/32/19646_2.png) [@kcollins](https://forum.inductiveautomation.com/u/kcollins)\
**Post date:** [January 19, 2023, 10:44pm UTC](https://forum.inductiveautomation.com/t/set-backup-retention-count-on-controller-for-collect-backup-agent-task/68800/2 "2023-01-19T22:44:26Z")

</div>

It looks like retention policy for EAM backup tasks was introduced with Ignition **8.1.19** :

> EAM Controller now implements an optional maximum retention policy for agent gateway backups. Older gateway backups will be automatically deleted when the max retention age is exceeded. A maximum number of retained gateway backups can also be specified.
