DriveBackupV2 provides an extra layer of security to your data by backing it up remotely. It can creates backups to Google Drive, OneDrive or a remote (S)FTP server.
First, you need to download the latest version of DriveBackupV2.
Import the downloaded DriveBackupV2.jar
file in the plugins
folder in the server and restart your server.
When the server restarts, it will load the plugin and generate files in the new folder called DriveBackupV2
.
In the generated plugins folder DriveBackupV2
there is a file called config.yml
which allows configuring the plugin. To apply any changes done here, you need to save the file and run the command /drivebackup reloadconfig
in the server to reload the config.
delay
How often to run a backup, in minutes. By default, this is set to 60 minutes.
If you want to make a backup every 2 hours, you will set this to 120 minutes.
backups-require-players
Whether automatic backups should be disabled if there hasn't been any new player activity since the last backup. This is on by default.
zip-compression
The compression level of the backup .zip
files.
A higher compression level means a smaller file. You can set this between 0 and 9, with nine being the highest compression level. Set this to -1
to use the default.
keep-count
How many backups to keep remotely before deleting the oldest one.
By default it is set to 20. Setting it to -1
will disable the automatic delete.
destination
The path to the folder to save backups in on the remote server. This should be relative to the remote root folder. This is set to backups
by default.
local-keep-count
How many backups to keep locally before deleting the oldest one.
By default, it is set to 0. Setting it to -1
will disable the automatic delete.