- Tested Minecraft Versions:
- Dropbox | for their API, which is licensed under the MIT license.
A plugin created for easy and safe backups.
Please Note: due to dropbox limitations, it is no longer possible to add new users with my dropbox API key. You can still use this plugin if you have your own web server, though.
This plugin was originally created for a server called GerardCraft, because they wanted some hacker-protection. That's why this plugin doesn't just save the backups locally, it also uploads them to an external place. So if a hacker/abusive staff member deletes your server, you still have a backup! In fact, this plugin already saved the server GerardCraft, where a staff member deleted all the servers!
- Backups worlds and plugin folder.
- Automatic Backups.
- Zips them into one file.
- Zip file can be uploaded to server or dropbox.
- Place the plugin in your plugin folder
- (Re)start your server.
Web server installation: Download + instructions available here: github
/exbackup: generates a back-up and upload it the server/dropbox when configured. Permission: externalbackups.backup
/exdropbox: starts the dropbox setup, can't be executed by players with OP. Permission: externalbackups.dropbox.configure
Code (Text):serverName: ServerName #Name used in back-up files
maxAmountOfLocalBackups: 3 #Amount of local backups before the oldest gets deleted
backupTimeOutInMinutes: 60 #Time-out for the /exbackup command, so people cant delete old backups on purpose.
automaticBackups: true #Should the plugin create automatic backups
interval: 12H #Interval of automatic back-ups, Use M for minutes, H for hours and D for days. NOTE: the minimum interval is 30 minutes
#Web server support
useServer: false #Should the plugin use an external server
url: http://example.com/backup/ #Link to the folder of the php scripts
useDropbox: false #Should the plugin use dropbox, do not touch this before dropbox is configured!
dropboxAuthKey: generatedByPlugin #This will be generated during setup, only change this if the plugins tell you to do so!
dropboxAccessToken: generatedByPlugin #This will be generated by the plugin, DO NOT touch this, unless you know what you're doing!
Q: I get error 413, what does it mean and how do I fix it?
A: Error 413 (Http error) means the zip file is too big to be accepted by the server. You can fix this by editing php.ini. Not all hosting companies allow you to do this.
This plugin has been made with security in mind, thats why there are certain limitations like the timeout.
The dropbox API used in this project is licensed under the MIT license: https://opensource.org/licenses/MIT
ExternalBackups [DISCONTINUED] 1.2.0
Back-ups the server and uploads it to dropbox/external server.