# Unable to delete old scheduled backup file

**URL:** <https://forum.inductiveautomation.com/t/unable-to-delete-old-scheduled-backup-file/78330>\
**Category:** Ignition\
**Created:** [August 24, 2023, 1:24pm UTC](https://forum.inductiveautomation.com/t/unable-to-delete-old-scheduled-backup-file/78330 "2023-08-24T13:24:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Earl\_Jensen](https://avatars.discourse-cdn.com/v4/letter/e/a587f6/32.png) [@Earl\_Jensen](https://forum.inductiveautomation.com/u/Earl_Jensen)\
**Post date:** [August 24, 2023, 1:24pm UTC](https://forum.inductiveautomation.com/t/unable-to-delete-old-scheduled-backup-file/78330/1 "2023-08-24T13:24:39Z")

</div>

Hello,

I have a scheduled backup running on a server and it cannot delete old files in the backup folder. The backup write works fine, but the error log is full of failure to delete the older files.

We are requesting that files be deleted past 5 retentions. We are sitting at around 290 backups.

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

Any ideas on where to look? I assumed it revolves around permissions to the folder but not sure since the backup is written fine.

Thanks!

---

<div class="post-metadata">

**Author:** ![Hayden\_Watson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/hayden_watson/32/48792_2.png) [@Hayden\_Watson](https://forum.inductiveautomation.com/u/Hayden_Watson)\
**Post date:** [August 24, 2023, 2:14pm UTC](https://forum.inductiveautomation.com/t/unable-to-delete-old-scheduled-backup-file/78330/2 "2023-08-24T14:14:31Z")

</div>

Probably a permissions issue? Probably got permissions on the directory, so can make new files but locked out of modifying those files for some reason
