DriveBackupV2 icon

DriveBackupV2 -----

Uploads backups to Google Drive/OneDrive or by (S)FTP, now a lot easier to set up!




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

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
----------, May 15, 2024

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
  • Correctly use default-color and bump deps
  • Fix setup fail on shared drives
  • Use new auth domain
----------, May 28, 2023

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
----------, Mar 12, 2022

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
----------, Nov 16, 2021

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
Since 1.5.0:

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
----------, Aug 29, 2021

In this update, the DriveBackupV2 community has added many features and fixed some bugs.
  • Added DropBox support, see the docs to learn how to set this up
  • No longer crashes if an incorrect timezone is provided
  • No longer crashes if an incorrect backup format string is provided
  • Fixed API-Version warning
  • Uses new Adventure API interface library
Thanks to Rhodri for all the changes!
----------, Jun 4, 2021

In this minor release, I've fixed a few small bugs and added some small features.
  • Added /drivebackup status command that displays the status of the currently running backup
  • Added /drivebackup test ftp command that tests the plugin's connection to the specified (S)FTP server
    • The plugin will connect to the server and attempt to upload a small file
    • The file will be removed from the server immediately after the test is completed
  • Added support for custom message prefixes and default message colors
    • Custom message prefixes effectively replace the prefix-chat-messages setting, however, the setting will continue to function for backward compatibility
  • Fixed issue causing some backups to be corrupted
  • Hopefully fixed /drivebackup nextbackup command that didn't know when scheduled-based backups were enabled
  • Fixed issue with RPGMoney plugin
----------, Sep 3, 2020

In this patch, I've fixed two issues:
  • Fixed an issue that caused large backups to fail
    • If you encountered this issue, you would have seen java.net.SocketTimeoutException: Read timed out in the server console
  • Fixed conflicts with some other plugins
----------, Aug 28, 2020

In this minor release, I've fixed a few small bugs and added a simple API.
  • Added an API to control and respond to events made by the plugin
    • For a complete guide to getting started, click here
  • Fixed issue causing the /drivebackup nextbackup command to not display the correct amount of time until the next interval-based backup
  • Fixed issue preventing the plugin from working with the TRMenu plugin
  • Fixed issue that sometimes prevented the plugin from using a setting's default value when the setting was not specified by the user in the config.yml
  • Fixed spelling of the ftp-file-separator setting in the config.yml
    • The old spelling will continue to work as well
----------, Aug 8, 2020

In this patch, I've fixed three issues:
  • Fixed issue causing large amounts of logs to be generated when a large number of files were blacklisted
  • Fixed issue preventing the backup ZIP from being uncompressed by most tools when the entire Minecraft server folder was specified to be backed up
  • Reduced number of logs generated when a local backup is deleted
----------, Jul 28, 2020

Although this release is fully backward compatible with DriveBackupV2 v1.0.0 and higher*, to use the new features you must remove the config.yml from your server and restart it, so it can generate a new config.yml with the new settings. You can copy your old settings over manually.

* This release changes how the blacklist works, so you may have to rewrite parts of it in order to achieve the same behavior.

In this release, I've added many highly requested features and fixed a few bugs.
  • Fixed issues with creating backups from external sources, like FTP or MySQL servers when the Minecraft server was running on Windows or the plugin was set to upload to OneDrive
  • Added support for enabling only local backups, previously the user was told "no backup method is enabled"
  • Made it much easier to back up the entire Minecraft server folder, now simply set the path to .
  • Plugin commands can now be sent from the console once again (thanks RalphORama)
  • Added /drivebackup nextbackup command that displays the date/time of the next automatic backup
  • Added support for blacklisting files/folders using globbing
  • Added support for blacklisting tables when creating backups from external MySQL databases
  • Added support for putting the folder used to contain local backups anywhere on the computer hosting the Minecraft server
  • Added support for putting backups in folders inside of other folders in Google Drive and OneDrive, for example, folder1/folder2/folder3
  • Added option to use a secure connection when connecting to and backing up from external MySQL databases
  • Added option to change the timezone of the backup name format
  • Fixed conflicts with other plugins
  • Fixed an issue causing the plugin to display the wrong time/date of the next scheduled backup.
  • Rewrote a large part of the Google Drive, OneDrive and local backup code, fixing some bugs along the way
  • Now doesn't say "Google Drive/OneDrive backups enabled" after linking the user's account if backups are already enabled
  • Now commands the player doesn't have permissions to use will not be suggested
  • Commands in the help sheet can now be clicked to be run
  • Simplified update checker code
  • Removed unnecessary logging
  • Removed usage of deprecated methods from other libraries in the code
----------, Jul 24, 2020

In this patch, I've fixed multiple issues.
  • Fixed issue that caused the plugin to crash when ran on server JARs like Mohist and even some versions of Paper
  • Fixed issue that caused the plugin to crash when the plugin sent links to chat when certain other plugins were installed on the Minecraft server
  • Fixed issue that caused backups to fail if other plugins were modifying the files the plugin was backing up
  • Fixed issue that caused backups to fail if any of the files the plugin was backing up were locked
  • Fixed issue that prevented the plugin from deleting local backups past the number to keep if OneDrive backups were enabled
  • Fixed issue that caused the suppress-errors setting to suppress errors if set to false, and vice-versa
A side effect of these fixes was decreasing the size of the plugin JAR by ~50%, which is great.
----------, Jun 30, 2020

In this patch, I've fixed an issue causing "failed to backup to the (S)FTP server, please check the server credentials in the config.yml" to get sent to server admins when a backup is run. This issue usually appeared when the user had (S)FTP backups turned off.
----------, Jun 19, 2020

Although this release is fully backward compatible with DriveBackupV2 v1.0.0 and higher, to use the new features you must remove the config.yml from your server and restart it, so it can generate a new config.yml with the new settings. You can copy your old settings over manually.

In this release, I've added support for including data from external servers in backups and some other small features and fixed some bugs.
  • Added support for including data from external servers in backups, you can include:
    • Files from FTP(S) Servers
    • Files from SFTP Servers
    • Databases from MySQL servers
  • Moved documentation into a GitHub Wiki
    • Much easier to follow than documentation previously in config.yml
  • Added support for removing the "DriveBackupV2" prefix from messages sent to all players in the chat
  • Added support for disabling messages sent to all players in the chat
  • Added support for changing the language of date/time pattern letters
  • Fixed issue preventing backups past the number to keep from getting deleted from an SFTP server
  • Fixed issue that caused the plugin to crash when the /drivebackup linkaccount command was run
  • Fixed issue supposed to have been fixed in a previous release that printed a stack trace to the console when Google Drive or OneDrive backups were disabled
  • Added /drivebackup help command which displays links to the DriveBackupV2 Discord and wiki
  • Links sent in chat are now clickable
  • Command suggestions sent in chat can now be clicked to be executed
  • Account linking codes sent in chat can now be clicked to be copied
  • The priority of the upload thread is now set to a much lower value by default
  • Added error message for when no backup methods are enabled
  • Added error message for when account linking times out
  • Added error message for when a user attempts to run a command via the Minecraft server console
  • Improved plugin metrics
----------, Jun 9, 2020

In this patch, I've fixed an issue preventing Google Drive backups from working on Minecraft servers running on Windows.

For anyone wondering, the issue was that the backslashes in Windows file paths were not being escaped in Regexes.
----------, Jun 7, 2020

Resource Information
Author:
----------
Total Downloads: 29,661
First Release: Jun 1, 2020
Last Update: May 15, 2024
Category: ---------------
All-Time Rating:
42 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings