Releases: MaxMaeder/DriveBackupV2
Fixed Issue With Google Drive Backups on Windows
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.
SFTP Support and More (Biggest Release Yet)!
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 many highly requested features and fixed some small bugs.
- Added support for SFTP (SSH File Transfer Protocol)
- Supports password and/or public-key authentication
- Added support for backing up subfolders
- Can specify any file path
- Can even use
../
to specify a folder outside the Minecraft server directory
- Can even use
- Previously, only folders that were direct children of the Minecraft server directory could be backed up
- Can specify any file path
- Added support for scheduled backups
- You can specify a list of dates and a time, similar to the alarm function on your smartphone
- Previously, backups could only be set to run automatically at an interval
- Added option to run backups even when no player activity has occurred since the last one
- Previously, backups wouldn't run under this circumstance
- Added option to keep different number of backups locally
- Previously, the user could choose between keeping no backups and the amount configured to keep remotely
- Made the priority of the backup thread able to be configured
- You might want to decrease this if backups lag your server too much
- Fixed issue that caused the plugin to fail to create backups on Windows
- All backup methods are now disabled by default
- Since backup methods are now automatically enabled when accounts are linked, it doesn't make sense to have Google Drive backups on by default
- Fixed issue that caused a stack trace to appear in the console when either Google Drive or OneDrive backups were disabled
- Fixed issue that caused
application name not set
to appear in the console - Users with the
drivebackup.linkAccounts
permission now will receive a message every time they log in to the server if the plugin has an update available- If this is annoying, disable
update-check
in theconfig.yml
- If this is annoying, disable
- Added support for different FTP file separators
- Apparently, some FTP clients use a Windows file separator
- Improved the documentation for settings in the
config.yml
- Moved some settings to the "advanced" category
- Removed unused library, decreasing the file size by (~2 MB)
- Changed plugin name in chat and console messages
- Added metrics for these new features
Special thanks to the good people over at r/admincraft for suggesting most of these new features!
Fixed Visual Issue
In this patch, I've fixed an issue that caused "backup failed" messages about backup methods that were not enabled to get sent out.
I also fixed an issue causing update checking to not work.
Fixed Compatibility Issue With JRE 9+
In this patch, I've fixed an issue that prevented users from linking their account when the server was running JRE 9 or higher. This was due to the use of a library that didn't wasn't compatible with newer versions of Java.
Complete Redesign
In this release, I've redesigned major portions of the plugin to make it easier to set up, more stable, and more secure.
- Made it much easier to authenticate with Google Drive/OneDrive
- Now, instead of running a companion program and copying the outputted files to the server, users now just have to run a single command
- Now uploads backups asynchronously, previously uploading a large backup would cause players to get kicked from the server
- Fixed issue causing backups in OneDrive past the configured number to keep to not get deleted
- Now requests very limited access from Google Drive and OneDrive
- This means if there ever is a glitch in the plugin, it can't delete your sensitive Google Drive and/or OneDrive data
- Previously, the plugin had almost free reign over users' Google Drive and/or OneDrive data
- Fixed issue causing the
suppress-errors
setting to not suppress all errors - Improved help message that appears when
/drivebackup
is run - Added documentation to previously undocumented classes
- Removed companion program from Git, as it is no longer used
Initial Release (kind of)
In this release, I've fixed most of the issues that have popped up over the last four years of non-maintenance.
- Fixed issue preventing users from uploading backups to Google Drive
- Added command autocomplete
- Moved companion program into the main repository
- Added better documentation