Skip to content

SFTP Support and More (Biggest Release Yet)!

Compare
Choose a tag to compare
@MaxMaeder MaxMaeder released this 26 May 05:46
· 762 commits to master since this release

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
    • Previously, only folders that were direct children of the Minecraft server directory could be backed up
  • 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 the config.yml
  • 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!