# Recurring auto-backup of internal database, why?

**URL:** <https://forum.inductiveautomation.com/t/recurring-auto-backup-of-internal-database-why/56629>\
**Category:** Ignition\
**Created:** [February 28, 2022, 4:52pm UTC](https://forum.inductiveautomation.com/t/recurring-auto-backup-of-internal-database-why/56629 "2022-02-28T16:52:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cody.abbott](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cody.abbott/32/17533_2.png) [@cody.abbott](https://forum.inductiveautomation.com/u/cody.abbott)\
**Post date:** [February 28, 2022, 4:52pm UTC](https://forum.inductiveautomation.com/t/recurring-auto-backup-of-internal-database-why/56629/1 "2022-02-28T16:52:32Z")

</div>

![recurring autobackup](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/4/b448a4ab9e3d30c4f5de03d526560f08bc96e3d0.png)  
What is this and why is it happening so often?  
I’m also getting ‘exception occurred during async write operation’ on my clients intermittently, which I think tells me the gateway is running slow. My RAM was running at 75%, so I’m giving the VM more. Going from 4 to 8. This doesn’t look like its related though.  
Running 8.1.2; 20 or so clients, lots of DB stuff going on. The server reboots every Sunday night.

---

<div class="post-metadata">

**Author:** ![SamDonche](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@SamDonche](https://forum.inductiveautomation.com/u/SamDonche)\
**Post date:** [March 28, 2023, 9:48am UTC](https://forum.inductiveautomation.com/t/recurring-auto-backup-of-internal-database-why/56629/2 "2023-03-28T09:48:42Z")

</div>

You can turn off of change the frequency at which these auto-backups are created by editing: localdb.autobackup.count in the file gateway.xml.

See also this post:

> [@Turn off auto backup of config.idb](https://forum.inductiveautomation.com/t/turn-off-auto-backup-of-config-idb/47610/10):
>
> Looks like I was wrong back in 2021. You need to set the autobackup count (localdb.autobackup.count) to 0 to prevent the creation of autobackups; the context.startup.useautobackups setting only tells the system not to use autobackups. [https://files.inductiveautomation.com/sdk/javadoc/ignition81/8.1.24/com/inductiveautomation/ignition/gateway/localdb/sqlite/SQLiteDBManager.html#autoBackupsEnabled](https://files.inductiveautomation.com/sdk/javadoc/ignition81/8.1.24/com/inductiveautomation/ignition/gateway/localdb/sqlite/SQLiteDBManager.html#autoBackupsEnabled)
