[Discussion] Database Backups: Manaual or Automated Backups Directly From Discord

PrivateDonut

Account Closed
banned
Rep
3
0
0
Rep
3
Vouches
0
0
0
Vouches
0
Posts
533
Likes
448
Bits
3 YEARS
3 YEARS OF SERVICE
LEVEL 31 71 XP
I am developing a Database Manager bot for Discord that enables users to oversee their database backups, offering both manual and automated options. I'm keen to gauge the interest of users in such a tool. Designed with user-friendliness in mind and built using Python, the bot is nearing its completion.

This Discord bot will work on any MySQL database, even outside of WoW Emulation.

Image of backup command:

Screenshot 2023-10-20 032336.png
 

splicho

I see humans, but no humanity.
Administrator
splicho Rep
6
0
0
Rep
6
splicho Vouches
3
0
0
Vouches
3
Posts
1,014
Likes
1,576
Bits
3 YEARS
3 YEARS OF SERVICE
LEVEL 263 20 XP
Not bad, adds some level of convenience! However, what do you think about the feature, that the bot uploads the file directly to discord so you can download it directly from the chat?

Or add some kind of file hosting api (google drive etc, dropbox etc..) if files are bigger than the allowed file size on discord, and the bot posts the link to the file to download upon uploading.

Aside from that, nice work Donut.
 

PrivateDonut

Account Closed
banned
Rep
3
0
0
Rep
3
Vouches
0
0
0
Vouches
0
Posts
533
Likes
448
Bits
3 YEARS
3 YEARS OF SERVICE
LEVEL 31 71 XP
Not bad, adds some level of convenience! However, what do you think about the feature, that the bot uploads the file directly to discord so you can download it directly from the chat?

Or add some kind of file hosting api (google drive etc, dropbox etc..) if files are bigger than the allowed file size on discord, and the bot posts the link to the file to download upon uploading.

Aside from that, nice work Donut.

That is a great idea, I didn't think about using third-party API to allow remote backups. It shouldn't be hard to add the option for users, I just have to look around at some file hosting companies that offer an API.

While uploading backups directly to Discord might seem convenient, I am personally against it, due to potential security risks. But It could be an option for those who might prefer that.
 
Liked By 1 member :

PrivateDonut

Account Closed
banned
Rep
3
0
0
Rep
3
Vouches
0
0
0
Vouches
0
Posts
533
Likes
448
Bits
3 YEARS
3 YEARS OF SERVICE
LEVEL 31 71 XP
The Database Management bot for Discord, designed for local backups, is now fully operational. A remote backup option will be integrated by tomorrow. This is still a work in progress and is planned to be a free release for anyone interested.

Some pictures:
Manaual Backup Commands:


1697819341169.png
Automated Backup Commands:
1697819354135.png

Database to store automated backup options:
This feature enables users to automate backups specific to the individual who initiated the command, ensuring that only they have management rights.
1697819366319.png

.env file to handle a lot of the configuration
1697819566816.png

Some more images:
1697819406149.png
1697819418528.png
1697819431072.png
1697819440701.png


TODO:
  1. Add option to remove after X amount of backups
  2. Add remove backup option (google cloud, etc)
  3. Fix /database_restore (erroring out currently after some chanegs)
  4. More ideas to come.
 

Attachments

  • 1697819545809.png
    1697819545809.png
    27.1 KB · Views: 1
Last edited:
Liked By 2 members :

JadaDev

reaper-wow.com
Legend
JadaDev Rep
5
0
0
Rep
5
JadaDev Vouches
0
0
0
Vouches
0
Posts
514
Likes
530
Bits
3 YEARS
3 YEARS OF SERVICE
LEVEL 11 50 XP
Great Job bro, it's really amazing to finally have such cool Discord Bot!

You really should consider my suggestion, it'll be really great to have it!
 

Azayaka

Allelujah
Administrator
Azayaka Rep
3
0
0
Rep
9
Azayaka Vouches
0
0
0
Vouches
0
Posts
329
Likes
225
2 YEARS
2 YEARS OF SERVICE
LEVEL 55 16 XP
Looks nice, a lot of research and time went into this one. Great job
 

PrivateDonut

Account Closed
banned
Rep
3
0
0
Rep
3
Vouches
0
0
0
Vouches
0
Posts
533
Likes
448
Bits
3 YEARS
3 YEARS OF SERVICE
LEVEL 31 71 XP
Looks nice, a lot of research and time went into this one. Great job

Thank you!


I'll be releasing this soon, it's already done just needs some touch ups then I'll post it on Git Hub and post the link here. I'll provide some basic docs on how to set it up so people can self host it if they would like.
 

Rogue Rogue

Developer
Divine
Rogue Rep
2
0
0
Rep
2
Rogue Vouches
0
0
0
Vouches
0
Posts
609
Likes
131
Bits
3 YEARS
3 YEARS OF SERVICE
LEVEL 11 215 XP
Great contribution, thanks for release!! :)
 

3,568

1,285

9,619

433

Top