Emudevs - MMORPG Development

Immerse yourself in a world of limitless possibilities and open the gateway to mmo emulation.

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

PrivateDonut pepeD

Content Creator
Mythical

1

100%

Status

Posts

542

Likes

261

Rep

4

11

Months of Service

Early Supporter

LEVEL 21
240 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
 

splicho

キューティー ( ✿ •̀ ‸ •́ ✿ )
Administrator

1

100%

Status

Offline

Posts

813

Likes

535

Rep

6

Bits

5,038

1

Years of Service

LEVEL 31
565 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 pepeD

Content Creator
Mythical

1

100%

Status

Posts

542

Likes

261

Rep

4

11

Months of Service

Early Supporter

LEVEL 21
240 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.
 
Reactions:
Liked by 1 member:

PrivateDonut pepeD

Content Creator
Mythical

1

100%

Status

Posts

542

Likes

261

Rep

4

11

Months of Service

Early Supporter

LEVEL 21
240 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
Automated Backup Commands:
1697819354135

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

.env file to handle a lot of the configuration
1697819566816

Some more images:
1697819406149
1697819418528
1697819431072
1697819440701


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:
Reactions:
Liked by 2 members:

JadaDev Tunisia

reaper-wow.com
Divine

0

0%

Status

Offline

Posts

510

Likes

215

Rep

4

Bits

4,323

11

Months of Service

Early Supporter

LEVEL 4
51 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!
 

Allelujah Ghost V2

Azayaka
Administrator

0

0%

Status

Offline

Posts

241

Likes

95

Rep

4

Bits

8,905

8

Months of Service

LEVEL 21
535 XP
Looks nice, a lot of research and time went into this one. Great job
 

PrivateDonut pepeD

Content Creator
Mythical

1

100%

Status

Posts

542

Likes

261

Rep

4

11

Months of Service

Early Supporter

LEVEL 21
240 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
contributor

0

0%

Status

Posts

611

Likes

98

Rep

2

Bits

6,578

11

Months of Service

Early Supporter

LEVEL 14
15 XP
Great contribution, thanks for release!! :)
 

1,814

Members

1,014

Threads

8,446

Posts
Newest Member
Top