Prerequisites
Before installing RoadBackup, ensure you have:Discord Bot
Discord application with bot permissions
Node.js 22+
Node.js runtime environment
Download Node.js
Get the latest Node.js version from the official website
Discord Bot Setup
1
Create Discord Application
Go to Discord Developer Portal and create a new application.

2
Configure Bot Settings
Click on your application and select Bot on the sidebar.Enable these bot permissions:

3
Get Bot Token
Copy your bot token and enter it into
config.json
.Configuration
1
Configure Bot Settings
Edit the
config.json
file with your bot configuration.2
Configure Database
Edit
dbconfig.json
and enter your database connection information.3
Invite Bot to Server
Invite your bot to your Discord server with the required permissions:

Installation
1
Install Dependencies
Navigate to your downloaded folder and run in terminal:
2
Start the Bot
Start the bot with:
Usage
Installation Complete!You can now create a database backup with
/backup
command.- You need Administrator permissions to use the
/backup
command - The bot includes an automatic timer (default: 1 hour) for scheduled backups