Default Maintenance Tasks in administration.md

This commit is contained in:
voipmeister
2024-08-27 20:58:38 +02:00
parent 3210822fb3
commit c8b2ef7f58
2 changed files with 5 additions and 2 deletions

View File

@@ -33,7 +33,10 @@ done
### Backup Tools
There are many backup solutions available across all platforms. Configuration of such tools is outside the scope of this documentation. With that said, the author has had great success with [Borg](https://www.borgbackup.org/).
## General Maintenance Tasks
## General Maintenance
### Default Maintenance Tasks
Several default maintenance tasks are defined as events in `core/config_default.js`, in the section `eventScheduler`. These events run at various times and perform several maintenance tasks. An example is the `trimMessageAreas` event, which is run every 24 hours and defines that the action `trimMessageAreasScheduledEvent` is run.
### Vacuuming Database Files
SQLite database files become less performant over time and waste space. It is recommended to periodically vacuum your databases. Before proceeding, you should make a backup!