PrivateDonut
Content Creator

Mythical
LEVEL 21
240 XP
- Thread Author
- #1
Introduction:
The Database Management Discord Bot, developed in Python, offers a robust solution for managing MySQL database backups directly within Discord. Users can initiate manual backups, set up automated routines, and handle both the export and import of backups through an intuitive interface. This seamless integration ensures efficient database management and enhances data portability, all from the convenience of your Discord server.Commands:
Manual Commands:- database_list {database name}
- List the last two backups available for the selected database
- Example: /database_list website
- database_backup {database name}
- Select the database you wish to backup.
- Example: /database_backup website
- database_restore {databasename} {backup_name}
- Restore a local backed up database.
- The backup name has to include the full name from the backup folder + the .sql extension
- Example: /database_restore website website_20231020112604.sql
- backup_auto_start
- Enable automated backups for your MySQL Databases.
- backup_auto_stop
- Disable automated backups for your MySQL Databases.
- backup_auto_list_db
- Lists all databases that are setup that backs up automatically.
- backup_auto_add_db {database name}
- Add a database you wish to be backed up automatically(default every 12 hours)
- Example: /backup_auto_add_db website
- backup_auto_remove_db {database name}
- Remove a database you wish to no longer take automatic backups from.
- Example: /backup_auto_remove_db website
Screenshots:

Download:
GitHub RepositoryHow To Setup:
- Setup Discord Bot Application- Windows Setup Guide
- Linux tutorial coming soon...
Future Enhancements:
I am actively considering adding a remote backup option to provide more flexibility in data management. Stay tuned for updates!
Feedback and Support:
Your feedback on how I can enhance the bot is greatly appreciated. If you have any questions or need assistance, please don't hesitate to reach out.
Thank you for choosing my Discord bot, and I hope you find it invaluable!
Last edited:
Reactions:
Liked by 3 members: