Riddle DB Backup
Automatic database backups for FiveM & RedM servers, straight to Telegram or Discord.
Your database is your whole server: characters, money, vehicles, houses, inventories. One broken update, a bad script or a dead VPS and it’s gone. Riddle DB Backup exports your full MySQL / MariaDB database on a schedule, packs it into a (password-protected) ZIP and sends it to your Telegram channel, Discord channel or both.
One double-click to install, start and enable Auto Start on your Windows VPS.
Features
Complete backups: every table and row, plus views, triggers, stored procedures and events. Each database as its own .sqlthat fully recreates it.
Framework auto-detection: finds your server database by itself. Qbox, QBCore, ESX, VORP, RSG Core, ox_core, ND Core, vRP and custom frameworks.
Telegram, Discord or both: if one upload fails, the other still gets the backup.
Timed to your restarts: fixed times in your VPS’s own clock (e.g. 2 minutes after each txAdmin restart) or every X hours.
AES-256 encrypted ZIPs: player licenses, Discord/Steam IDs and IPs stay private.
Big databases: files above the upload limit are split automatically (Telegram 50 MB, Discord 10 MB).
Works in countries where Telegram/Discord is blocked: optional SOCKS5 / HTTP proxy only for the uploads. Your game server and players are not affected.
One launcher: RiddleDBBackup.batinstalls Python and all packages if missing, checks your config, starts the bot in the background and registers Auto Start (runs after every reboot, restarts itself if it crashes).
Local copies: the last 10 backups also stay on your VPS.
No extra tools needed: uses mysqldump/mariadb-dumpif installed, otherwise a built-in Python dumper.
No open ports: the bot only connects out (database + HTTPS). Nothing to forward, no conflict with 30120 / 40120.
Setup (3 steps)
- Download and extract it on your Windows VPS.
- Open
config.iniand fill in your database login and your Telegram bot token or Discord webhook URL. - Double-click
RiddleDBBackup.bat, run [5] Test connection, then [1] Start bot + Auto Start. Done.
The full guide (creating the Telegram bot, finding the channel ID, creating a Discord webhook, proxy setup, restoring a backup) is in the README on GitHub.
Download
GitHub: GitHub - DanRiddle/riddle-db-backup · GitHub
Latest release: Releases · DanRiddle/riddle-db-backup · GitHub
Restore
Stop your server, then import the .sql file with HeidiSQL (File → Run SQL file…) or:
mysql -u root -p < yourdatabase.sql
| Code is accessible | Yes |
| Subscription-based | No |
| Lines (approximately) | ~1,300 |
| Requirements & dependencies | Windows VPS, MySQL / MariaDB, Python 3.10+ (installed automatically) |
| Support | Yes |
Support & more scripts
- Discord: Riddle Coding
- Tebex Store: https://store.riddlecoding.com/
- Docs: Welcome | Riddle Coding Documentation
If this saved your server, a
on the post helps a lot!
