DriveBackupV2
DriveBackupV2
Need help? Talk to our team on Discord!
What is this?
Have you ever lost your Minecraft world before?
Maybe your hard drive died. Maybe your server hosting provider terminated the server without warning. Maybe you just accidentally deleted it.
DriveBackupV2 is a plugin that aims to provide an extra layer of security to your data by backing it up remotely.
Features
- Creates and/or uploads backups to Google Drive, OneDrive, Dropbox,
and/or a remote storage server with (S)FTP or S3 compatible api. - Can automatically create a backup out of any files or folders on your Minecraft server.
- Can make backups of remote (S)FTP file sources and MySQL databases from external servers (such as a BungeeCord one!)
- Automatically deletes backups locally and remotely if they exceed a specified amount.
- Automatically run backups at a set interval or on a custom schedule.
- And much more!
Requirements
General Requirements
- Java 8 or higher
Platform Specific Requirements
- Bukkit/Spigot/Paper/Purpur
- Minecraft 1.8 - 1.20.X
Where can I download it?
Basic Setup
First, download the plugin and copy it to the plugins
folder on your server. Then, restart your server. Finally, follow the instructions below for the backup method of your choice.
Google Drive
Simply run /drivebackup linkaccount googledrive
and follow the on-screen instructions.
OneDrive
Simply run /drivebackup linkaccount onedrive
and follow the on-screen instructions.
DropBox
Simply run /drivebackup linkaccount dropbox
and follow the on-screen instructions.
Local
Since v1.3.0
Change local-keep-count
in the config.yml
to set the number of backups to keep locally. Set to -1
to keep an unlimited number of backups locally. Once you have completed the above instructions, backups will run automatically every hour by default.
Advanced Setup
Learn how to set up and use more advanced features in the wiki.
Privacy Policy
Since we need to access your Google Drive and/or OneDrive data to back up your world, we are required to provide a Privacy Policy.
All of the data this plugin uploads and downloads or otherwise accessed from your Google Drive and/or OneDrive stays on your Minecraft server, so we never have access to it. This plugin physically cannot access any data in your Google Drive and/or OneDrive that is not related to backing up your Minecraft server.
But don't take our word for it, all of this plugin's source code is available here!
I would love for them to add a feature were you can disable global-broadcasts to all players and it should be have this feature so you can turn broadcasts off and on if you want post created July 14 2024 9:20 AM CST
[12:37:00 INFO]: [DriveBackupV2] There was an issue attempting to check for the latest DriveBackupV2 release
[12:37:00 WARN]: java.io.IOException: Unexpected response: 403 :
[12:37:00 WARN]: at DriveBackupV2.jar//ratismal.drivebackup.plugin.updater.UpdateChecker.getLatest(UpdateChecker.java:97)
[12:37:00 WARN]: at DriveBackupV2.jar//ratismal.drivebackup.plugin.updater.UpdateChecker.lambda$updateCheck$1(UpdateChecker.java:48)
[12:37:00 WARN]: at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:101)
[12:37:00 WARN]: at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
[12:37:00 WARN]: at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[12:37:00 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[12:37:00 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[12:37:00 WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)
Is anyone else having issues with chunk generation when using the plugin?
In reply to frostysslive:
The plugin does not affect chunk generation in any way. Try disabling some of your other plugins to find the issue
I was trying to make a backup of my server. Except I keep getting this error message whenever I startup the plugin. After which the plugin gets disabled,
[19:41:52 ERROR]: Error occurred while enabling DriveBackupV2 v1.6.1 (Is it up to date?)
java.lang.NullPointerException: Cannot read field "messages" because "config" is null
at ratismal.drivebackup.util.MessageUtil.mmText(MessageUtil.java:92) ~[DriveBackupV2 (1).jar:?]
at ratismal.drivebackup.config.ConfigParser.lambda$reload$0(ConfigParser.java:85) ~[DriveBackupV2 (1).jar:?]
at ratismal.drivebackup.config.configSections.BackupStorage.parse(BackupStorage.java:51) ~[DriveBackupV2 (1).jar:?]
at ratismal.drivebackup.config.ConfigParser.reload(ConfigParser.java:89) ~[DriveBackupV2 (1).jar:?]
at ratismal.drivebackup.plugin.DriveBackup.onEnable(DriveBackup.java:82) ~[DriveBackupV2 (1).jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:287) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:188) ~[paper-1.20.4.jar:git-Paper-496]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[paper-1.20.4.jar:git-Paper-496]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_20_R3.CraftServer.enablePlugin(CraftServer.java:639) ~[paper-1.20.4.jar:git-Paper-496]
at org.bukkit.craftbukkit.v1_20_R3.CraftServer.enablePlugins(CraftServer.java:550) ~[paper-1.20.4.jar:git-Paper-496]
at org.bukkit.craftbukkit.v1_20_R3.CraftServer.reload(CraftServer.java:1114) ~[paper-1.20.4.jar:git-Paper-496]
at org.bukkit.Bukkit.reload(Bukkit.java:1024) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:54) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_20_R3.CraftServer.dispatchCommand(CraftServer.java:999) ~[paper-1.20.4.jar:git-Paper-496]
at org.bukkit.craftbukkit.v1_20_R3.CraftServer.dispatchServerCommand(CraftServer.java:984) ~[paper-1.20.4.jar:git-Paper-496]
at net.minecraft.server.dedicated.DedicatedServer.handleConsoleInputs(DedicatedServer.java:501) ~[paper-1.20.4.jar:git-Paper-496]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:448) ~[paper-1.20.4.jar:git-Paper-496]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1525) ~[paper-1.20.4.jar:git-Paper-496]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1226) ~[paper-1.20.4.jar:git-Paper-496]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[paper-1.20.4.jar:git-Paper-496]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[19:41:52 INFO]: [DriveBackupV2] Disabling DriveBackupV2 v1.6.1
[19:41:52 INFO]: [DriveBackupV2] Stopping plugin!
In reply to xechasmenos_:
Fixed in latest update :D
Even works on 1.20 (Paper)
Tested it a few days and no issues so far.
<audio class="audio-for-speech"></audio>
Help pls
We play on 1.12.2 Magma last version and have last drivebackupv2 1.6.0
This bug when we try link account to google
We write in chat /drivebackup linkaccount googledrive
Hi, when I add a path ''mods'' the timer for backup is always going to the default one at 60 minutes. Why is it making that? I'm using mohistMC api.
Thx!
Is there possibly a way to change the folders that are backed up? I am finding that the auto-backup is only saving my world folder, but my server has a "world-nether" and "world-end" that don't get backed up.
Edit: Otherwise, this plugin is magic and saves me from having to manually stop/save/reboot the server every time I want to backup.
In reply to cybordemon:
See the relevant page of the wiki, or join our Discord where I would be happy to help you!
In reply to MaxTheGinus:
I'm assuming that your name is a play on Genius, which is very much suited to you. I had dug into the config files and did that originally, but I think I must have mistyped somewhere. Fortunately I was able to just copy/paste that part into my config and it works perfectly now!
Great plugin ! May l forward it to mbbs.net?I will introduce the plugin in detail, let everyone come to your bukkit page to download.
Followed project, waiting for Dropbox <3
In reply to DDzikuseQQ:
It's here!
so I just curious about how does this plugin function with multiverse core
does I need to enter other world to back up the world or auto-backup will backup both world
Love this plugin so much, but lately I'm having an issue with it. I've configured it to keep only one local backup on the server, but instead it just keeps on saving newer ones, none of them get deleted when it reaches the limit of 1 backup.
Backups on Google Drive work fine, it keeps 10 and deletes the oldest ones. It's just the local ones that get saved on the server in the 'backups' folder that don't work like they should.
I'm on the newest version (1.3.5) and using Paper 1.16.2 #186. Here's my config:
In reply to Forge_User_48222515:
Can you join our Discord? I will be able to better help you there.
Hey, is there any chance that you can add support for WebDAV? I'd like to backup my world on an external host to a NAS that I host at home.
In reply to thoughts3rased:
On my list! With school starting, unfortunately, I have had less time to work on the plugin. If you know how to program in Java, consider making a PR.