DriveBackupV2 Versions Save

Uploads Minecraft backups to Google Drive/OneDrive or by (S)FTP

v1.6.3

1 month ago

HotFix to stop sending the player the no perms message every time it checks if they have a specific permission node.

Full Changelog: https://github.com/MaxMaeder/DriveBackupV2/compare/v1.6.2...v1.6.3

v1.6.2

1 month ago

With this update, we have introduced S3 support and squashed several bugs.

Changelog

New Features

  • Added S3 support

Enhancements

  • Files added to zips will now retain timestamps
  • Handle OneDrive return status codes better
  • Updated several dependencies
  • Improved error handling when attempting to get the latest version
  • Switched update system to use GitHub instead of Bukkit

Bug Fixes

  • Fixed Dropbox thinking it was never authenticated
  • Fixed default config not using %NAME in glob backup entire
  • Fixed backup format not recognizing %NAME variable as a valid format

Full Changelog: https://github.com/MaxMaeder/DriveBackupV2/compare/v1.6.1...v1.6.2

v1.6.1

1 year ago

In this patch, we've fixed the DriveBackupV2 Authenticator, and made some other small changes.

Changelog

Bug fixes

  • Handle unreadable files when generating file list
  • Added error msg for zip SecurityException
  • Fix typo in socket-addr (Fixes #102)
  • Correctly use default-color and bump deps
  • Fix setup fail on shared drives
  • Use new auth domain

v1.6.0

2 years ago

In this update, we've added a new uploader, NextCloud (thanks to @oddstr13 for the PR) and a new /unlink command as well as many, many bugfixes.

If you'd like to help us continue developing this plugin, consider donating on PayPal or even sponsor us on Patreon

Changelog

New Features

  • Added new NextCloud uploader (wiki page coming soon) (thanks @oddstr13!)
  • Plugin now automatically corrects for schedule backup drift due to low TPS
  • Added a new /unlink command to easily unlink cloud services

Improvements

  • Plugin now only disables auto-save while creating the backup and ensures it is re-enabled before uploading
  • Plugin now falls back to using the file creation date if the file name doesn't match the current file format
  • Updated MiniMessage to 4.10.0

Bug Fixes

  • Fixed issue causing large MySQL tables to cause an Out Of Memory error
  • Fixed incorrect message being sent if new update is available
  • Fixed OneDrive and FTP uploaders from timing out while uploading large files
  • Plugin now correctly keeps FTP connection open until all backup files have been uploaded
  • Plugin now correctly closes uploaders after upload tests
  • Plugin now ensures config values are set before migrating config to a newer version

Developers

  • Deprecated DriveBackupV2-Credentials, allowing for the plugin to be built without error

v1.5.4

2 years ago

In this update, we're adding support for WebDAV as well as implementing Dropbox chunked uploads which should allow for more stable uploads. This update also includes many bugfixes.

Changelog:

  • Added support for WebDAV uploading. Read more on how to configure here: WebDAV Setup | DriveBackupV2 Wiki
  • Implemented Dropbox chunked uploading which should improve connection stability for larger uploads (>150MB)
  • Added debug mode which can be enabled by setting: debug: true
  • Added an update prompt to the player join update message
  • Reduced okhttp clients to one to lower overhead
  • Prevented slow upload from timing out Google access token
  • Fixed issue with update checker when server cannot fetch latest version info
  • Fixed issue with Windows path splitting
  • Fixed problem with external sftp backups failing
  • Fixed MySQL zero dates causing errors

v1.5.3

2 years ago

In this patch, we've fixed an issue that prevented the FTP/SFTP backup method from working properly.

v1.5.2

2 years ago

In this patch, we've fixed multiple issues related to the 1.5.0 major refactor.

Changelog:

  • Fixed issue with Google Drive backups not working in some cases when not using a Shared Drive
  • Fixed issue with OneDrive authentication not working with some accounts
  • Fixed some issues related to Google Shared Drives
  • Added a detailed error message for if remote backup deletion fails
  • Fixed some issues with localization
  • Removed buggy debug command for now

v1.5.1

2 years ago

In this patch, we've fixed an issue that prevented users from backing up to non-shared drives.

v1.5.0

2 years ago

Our biggest release ever! We've been working on this non stop since the beginning of June.

Changelog:

  • Create the DriveBackupV2 Authenticator, an all-new authentication system
    • Simplifies Dropbox account linking and allows us to use Google Shared Drives
    • Much simpler account linking system than even some PAID backup plugins
  • Added support for Google Shared Drives
    • To backup to a Shared Drive, simply re-run the Google Drive account linking process and select the desired drive

    Thank you Just for guiding us through the approval process to use this feature

  • Plugin can now be fully translated into your language! Instead of the ~8 translatable messages in the config.yml, now every single string/message can be fully customized and translated in the new intl.yml
    • If you translate the plugin into your language, please add your intl.yml file to the DriveBackup GitHub, so that other users can use your translation - detailed instructions
  • Added remaining backup methods to the /drivebackup test command, an easy way to troubleshoot backup issues
  • Added the /drivebackup debug command, which generates & uploads a file which containing the necessary information for our support staff to help diagnose an issue
  • Added the /drivebackup update command, which will automatically update the plugin
  • Date pattern characters in the backup format can now be replaced with %FORMAT, this is also now the default
    • For example: format: '''Backup-world-''yyyy-M-d--HH-mm''.zip''' becomes format: "Backup-world-%FORMAT.zip"
  • Plugin now backs up all worlds by default
  • Much better error handling and error messages throughout the plugin
  • FTP uploading is much faster!
  • Fixed an issue with the MySQL uploader that prevented databases from being backed up
    • This was the 'TYPE_FORWARD_ONLY' bug
  • Fixed issue causing local backups to not be deleted when a backup method fails
  • Fixed wrong timezone being read from config
  • Improved time parsing, now you don't need to add a leading zero if the hour <10
  • Better Windows file system support, and all paths in the config must now be unix ones
  • Improved the handling of network connection issues
  • Now the plugin won't send "checking for updates"/"backup skipped" messages >1 time
  • Reduced the size of the plugin from about 17MB all the way down to 7MB, even with all the new features

Technical changes:

  • Rewrote a good part of the plugin in the process of adding these new features
  • Created a new, more stable/type-safe config parser
  • Added a migration path from the old config to version 2
  • New Message Builder to simplify sending messages
  • Fixed an issue with canceling Bukkit Scheduler tasks

v1.5.0.BETA_3

2 years ago

DriveBackupV2 v1.5 beta 3 has been released!

Our biggest release ever! We've been working on this non stop since the beginning of June.

Changelog since beta 2:

  • Fixed an issue causing Google Shared Drive selection to not work via the console on older Minecraft version
  • Improved client-side Authentication error messages
  • Fixed an issue causing delay: -1 to be marked as invalid
  • Fixed an issue with parsing the backup list (UnsupportedOperationException)
  • Fixed an issue causing some Google Drive Uploader operations to not work in Shared Drives
  • Fixed an issue with canceling Bukkit Scheduler tasks
  • Now the plugin won't send "checking for updates"/"backup skipped" messages >1 time
  • Fixed some issues with the localization
  • Improved time parsing, now you don't need to add a leading zero if the hour <10

Changelog:

  • Create the DriveBackupV2 Authenticator, an all-new authentication system
    • Simplifies Dropbox account linking and allows us to use Google Shared Drives
    • Much simpler account linking system than even some PAID backup plugins
  • Added support for Google Shared Drives
    • To backup to a Shared Drive, simply re-run the Google Drive account linking process and select the desired drive

    Thank you Just for guiding us through the approval process to use this feature

  • Plugin can now be fully translated into your language! Instead of the ~8 translatable messages in the config.yml, now every single string/message can be fully customized and translated in the new intl.yml
    • If you translate the plugin into your language, please add your intl.yml file to the DriveBackup GitHub, so that other users can use your translation - detailed instructions
  • Added remaining backup methods to the /drivebackup test command, an easy way to troubleshoot backup issues
  • Added the /drivebackup debug command, which generates & uploads a file which containing the necessary information for our support staff to help diagnose an issue
  • Added the /drivebackup update command, which will automatically update the plugin
  • Date pattern characters in the backup format can now be replaced with %FORMAT, this is also now the default
    • For example: format: '''Backup-world-''yyyy-M-d--HH-mm''.zip''' becomes format: "Backup-world-%FORMAT.zip"
  • Plugin now backs up all worlds by default
  • Much better error handling and error messages throughout the plugin
  • FTP uploading is much faster!
  • Fixed an issue with the MySQL uploader that prevented databases from being backed up
    • This was the 'TYPE_FORWARD_ONLY' bug
  • Fixed wrong timezone being read from config
  • Better Windows file system support, and all paths in the config must now be unix ones
  • Improved the handling of network connection issues
  • Reduced the size of the plugin from about 17MB all the way down to 7MB, even with all the new features Technical changes:
  • Rewrote a good part of the plugin in the process of adding these new features
  • Created a new, more stable/type-safe config parser
  • Added a migration path from the old config to version 2
  • New Message Builder to simplify sending messages

Known issues:

(These will be fixed by the stable release of this plugin version)

  • /drivebackup debug doesn't currently work

Still to come:

(These will be added by the stable release of this plugin version)

  • Fix for the time drift of scheduled backups