DriveBackup

Discussion in 'Plugin Requests' started by Rift_Blade, Aug 25, 2018.

Thread Status:
Not open for further replies.
  1. Offline

    Rift_Blade

    Plugin category: Admin Tools

    Minecraft version: 1.13

    Suggested name: GoogleBackup

    What I want: A simple plugin to compress all worlds to .zip file and upload zip file to google drive.
    I would like for the zip file name to be the date and time, and for it to be one zip file containing all worlds.

    I want it to backup onDisable

    I would also like for the file to not be saved to disk and just be uploaded straight to google drive. (if its not possible then save to disk first.)
    I know that there are already some plugins for this be either there not updated or there are glitchy

    Ideas for commands: No commands needed for this plugin.

    Ideas for permissions: None

    When I'd like it by: As soon as possible.
     
  2. Offline

    timtower Administrator Administrator Moderator

    @Rift_Blade Backup in the onDisable is tricky.
    Sending it to the cloud can take a long time. Not good for a quick restart.
     
  3. Offline

    Rift_Blade

    If you think onDisable is a bad idea, then I should also be okay with it onEnable or with command
     
  4. Offline

    timtower Administrator Administrator Moderator

    I already have BackupLikeMe.
    Could check if I can add google drive support to it.
     
  5. Offline

    Rift_Blade

    Google drive support on that would be exactly what I'm looking for
     
  6. Offline

    timtower Administrator Administrator Moderator

    Looking at it now, it is not easy though. The required libraries were 2.3 MB already.
     
  7. Offline

    Rift_Blade

    It would be so helpful if you could, I think more than just me would find it useful
     
  8. Offline

    timtower Administrator Administrator Moderator

    Still gonna try, also just for trying and learning.
    Need to make sure that it is solid off course so it will take time (and I also do other stuff in between)
     
  9. Offline

    timtower Administrator Administrator Moderator

    Update: not working, can't get it to properly authenticate and save that information.
     
  10. Offline

    KoalaOnCaffeine

    Im not sure this would be at all possible or doable with anyone's ability, because you will have to authenticate your login through google drive in a config, and then get the google drive upload method (if i am correct), zip the files and then upload them. As @timtower said, that would also crate a really long reload time and probably eat up alot of ram at the same time.
     
  11. Offline

    timtower Administrator Administrator Moderator

    That is indeed the difficult part.
    That is something I have already.
    Easy when authenticated.
    Reload time: yes, unless you run it on commands / timers.
    Ram: not really.
     
    KoalaOnCaffeine likes this.
  12. @Rift_Blade I already have a pretty nice idea for a plugin that is able to do a full server backup (or just customizable folders/files) and I wanted to work with the Google Drive API for months, but there was no use case. I'm gonna give it a try and tell you when it's done.
     
Thread Status:
Not open for further replies.

Share This Page