Default Maintenance Tasks in administration.md
This commit is contained in:
@@ -33,7 +33,10 @@ done
|
|||||||
### Backup Tools
|
### 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/).
|
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
|
### 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!
|
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!
|
||||||
|
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ Message Areas are topic specific containers for messages that live within a part
|
|||||||
| `autoSignatures` | :-1: | Set to `false` to disable auto-signatures in this area. |
|
| `autoSignatures` | :-1: | Set to `false` to disable auto-signatures in this area. |
|
||||||
| `realNames` | :-1: | Set to `true` to use real names in this area. |
|
| `realNames` | :-1: | Set to `true` to use real names in this area. |
|
||||||
|
|
||||||
The default values for `maxMessages` and `maxAgeDays` can be changed globally in `core/config_default.js`, they're located in the section `messageAreaDefaults`.
|
The default values for `maxMessages` and `maxAgeDays` can be changed globally in `core/config_default.js`, they're located in the section `messageAreaDefaults`. The same file also defines several default events to be scheduled, which are located under `eventScheduler`. For example, the `trimMessageAreas` event is run every 24 hours and defines that the action `trimMessageAreasScheduledEvent` is run.
|
||||||
|
|
||||||
### ACS
|
### ACS
|
||||||
An optional standard [ACS](../configuration/acs.md) block can be supplied with the following rules:
|
An optional standard [ACS](../configuration/acs.md) block can be supplied with the following rules:
|
||||||
|
|||||||
Reference in New Issue
Block a user