Requirements
- Node.js v22+ - Download here
- Discord Bot Token
- Server with sufficient permissions
Installation Guide
The controller is only accessible via localhost.Windows Installation
Start the bot withnode index.js. For 24/7 operation:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Installation guide for RoadBackup Discord Bot
node index.js. For 24/7 operation:
npm install -g pm2
pm2 start index.js --name "roadbackup"
pm2 startup
pm2 save
ssh -L 3030:localhost:3030 youruser@yourip
sudo npm install -g pm2
pm2 start index.js --name "roadbackup"
pm2 startup systemd
sudo env PATH=$PATH:/usr/bin pm2 startup systemd -u $USER --hp $HOME
pm2 save
sudo systemctl enable pm2-$USER
sudo systemctl start pm2-$USER
sudo nano /etc/systemd/system/roadbackup.service
[Unit]
Description=RoadBackup
After=network.target
[Service]
ExecStart=/usr/bin/node /yourpath/mysqlbackuperv2
WorkingDirectory=/yourpath/mysqlbackuperv2
Restart=always
User=yourusername
Environment=NODE_ENV=production
[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl enable roadbackup
sudo systemctl start roadbackup