[FREE] [STANDALONE] Riddle DB Backup - Automatic Database Backups to Telegram & Discord (FiveM / RedM)

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.

:sparkles: Features

  • :file_cabinet: Complete backups: every table and row, plus views, triggers, stored procedures and events. Each database as its own .sql that fully recreates it.
  • :magnifying_glass_tilted_left: Framework auto-detection: finds your server database by itself. Qbox, QBCore, ESX, VORP, RSG Core, ox_core, ND Core, vRP and custom frameworks.
  • :outbox_tray: Telegram, Discord or both: if one upload fails, the other still gets the backup.
  • :alarm_clock: Timed to your restarts: fixed times in your VPS’s own clock (e.g. 2 minutes after each txAdmin restart) or every X hours.
  • :locked_with_key: AES-256 encrypted ZIPs: player licenses, Discord/Steam IDs and IPs stay private.
  • :puzzle_piece: Big databases: files above the upload limit are split automatically (Telegram 50 MB, Discord 10 MB).
  • :globe_showing_europe_africa: Works in countries where Telegram/Discord is blocked: optional SOCKS5 / HTTP proxy only for the uploads. Your game server and players are not affected.
  • :computer_mouse: One launcher: RiddleDBBackup.bat installs 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).
  • :floppy_disk: Local copies: the last 10 backups also stay on your VPS.
  • :high_voltage: No extra tools needed: uses mysqldump / mariadb-dump if installed, otherwise a built-in Python dumper.
  • :prohibited: No open ports: the bot only connects out (database + HTTPS). Nothing to forward, no conflict with 30120 / 40120.

:gear: Setup (3 steps)

  1. Download and extract it on your Windows VPS.
  2. Open config.ini and fill in your database login and your Telegram bot token or Discord webhook URL.
  3. 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.

:inbox_tray: Download

GitHub: GitHub - DanRiddle/riddle-db-backup · GitHub
Latest release: Releases · DanRiddle/riddle-db-backup · GitHub

:recycling_symbol: 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

:speech_balloon: Support & more scripts

If this saved your server, a :heart: on the post helps a lot!

2 Likes