Skip to content

[DEPRECATED] This script makes MySQL Database Backup and sends it to specified Discord channel

License

Notifications You must be signed in to change notification settings

tobihdff/discord-mysql-backup-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MySQL Backup Bot [DEPRECATED]

This script can send a backup of your mysql database to your discord either on command or after fixed times.

Installation

  git clone https://github.com/chrinxcoding/discord-mysql-backup-bot.git
  cd discord-mysql-backup-bot
  npm i
  mkdir backups
  node index.js

Config

Variable Description
cronjob https://www.bennetrichter.de/tools/crontab-generator/ (default is once every hour)
delete_backups delete backups older than 7 days from server (default is true)
host ip address of your mysql server
username username of your mysql user
database name of your mysql database
password password of your mysql user
token discord bot token
command command to run backup manually (default is .gen)
channelid channel id of the channel where the backup should be send
servername name of your server
servericon icon of your server
bot_activity discord bot activity

Screenshots

Screenshot

About

[DEPRECATED] This script makes MySQL Database Backup and sends it to specified Discord channel

Topics

Resources

License

Stars

Watchers

Forks