Skip to content

Reset or edit the databases

Daniel Tischner edited this page Sep 15, 2021 · 8 revisions

Overview

In order to reset of edit the databases used by the bot, one has to login to the VPS and navigate to the corresponding directory. Only members of the Moderator-Team can do the following steps.

See Access the VPS for details of the login process.

Guide

  1. ssh togetherjava to login to the VPS
  2. Consider temporarilly shutting down the bot during the database edits (see Shutdown or restart of the bot)
  3. Either cd /var/lib/docker/volumes/tj-bot-master-database/_data or cd /var/lib/docker/volumes/tj-bot-develop-database/_data to go to the directory of the corresponding database
  4. Edit the database manually, it is a SQLite 3 database.
Clone this wiki locally