Skip to content

BackupService

jsh edited this page Sep 27, 2020 · 1 revision

The backup service is in charge of creating backups of the bot's database every day. It is currently hardcoded to initiate a backup at 2 AM UTC. In the configuration file, the maximum number of rotating backups can be changed (defaulting to 14), as well as the backup location and database location.

Two scripts (one for Linux and one for Windows) are provided that should be sufficient for backing up the sqlite file-based database, located here. These scripts are called by the bot automatically.

Clone this wiki locally