DriveBackup: Automatic Cloud Backups for Minecraft Servers

Why Every Minecraft Server Needs a Backup Plugin Losing a Minecraft world feels like a punch to the gut. Maybe your hard drive gave up without warning. Perhaps a hosting service vanished overnight, taking months of builds with it. Or you accidentally clicked delete on that survival world you spen...

Download DriveBackup for Minecraft 1.8.1

Original name: DriveBackup

Minecraft: 1.8.1

FileVersionLoaderSize
DriveBackup.jar1.8.1—1.4 МБDownload

Why Every Minecraft Server Needs a Backup Plugin

Losing a Minecraft world feels like a punch to the gut. Maybe your hard drive gave up without warning. Perhaps a hosting service vanished overnight, taking months of builds with it. Or you accidentally clicked delete on that survival world you spent hundreds of hours perfecting. These nightmares happen, but they don't have to be permanent. DriveBackup is a plugin designed to add an extra layer of armor to your data, automatically shipping copies of your worlds to the cloud or a remote server so you can sleep a little easier.

What Exactly Is DriveBackup?

DriveBackup is a lightweight server plugin for Minecraft that creates scheduled backups and uploads them to trusted off-site destinations. Instead of relying on a single local copy, it spreads your data across Google Drive, OneDrive, or an FTP server. The plugin doesn't just dump files somewhere and forget them; it actively manages retention, deleting old backups both locally and remotely once they exceed a set number, keeping your storage clean without manual intervention.

Core Features at a Glance

  • Uploads backups directly to Google Drive, OneDrive, or a remote FTP server.
  • Automatically removes outdated backups locally and in the cloud when the count limit is reached.
  • Can back up any folder in your server's root directory, not just the default world folder.
  • If you already have a separate tool creating specific backups (like world saves), you can skip generating those and simply upload the existing files.

How the Backup Magic Happens

Once installed, DriveBackup reads its configuration file to understand which folders to protect, how to name the archives, and where to send them. You can pick one or more destinations. Keep in mind that OneDrive imposes a 10 GB upload limit per file and generally transfers data slower than Google Drive, so for large worlds, Google Drive or FTP might be the smoother choice. The plugin compresses your selected folders into a single archive, uploads it, and then prunes old backups based on the number you specify in the config.

Setting Up Authentication (The Tricky Part Made Easy)

Because Google Drive and OneDrive require OAuth2 authentication to let an app write files to your account, the initial setup needs a little extra care. If your server has a graphical user interface, the process is straightforward. For headless servers, you have two solid options.

Option 1: Use a Computer with a UI

For Google Drive, run the plugin on a PC that has a desktop environment, then execute the backup command. A browser window will open asking for permission to access your Drive. After you allow it, copy the generated StoredCredential file from the local plugins/DriveBackup folder to the same location on your server. For OneDrive, you visit the Microsoft authentication page, grant permission, and you'll be redirected to a URL containing a code after ?code=. Copy that code, create a file named OneDriveCredential.json with the content {"code": "your-code-here"}, and place it in the plugin folder.

Option 2: Use the Companion Program

The developer provides a small companion tool that generates the credential file without running the full plugin. You can grab it from the project's GitHub repository, extract the archive, run the .bat file, and follow the prompts. Afterwards, copy the resulting StoredCredential or OneDriveCredential.json into your server's plugins/DriveBackup folder. One important note for OneDrive: you must perform a backup within one hour of generating the credential, otherwise it expires and you'll need to repeat the process. After that first successful backup, the refresh token handles everything automatically, and you can schedule backups as infrequently as you like.

Once you have your credentials sorted, transferring the plugin to your server is straightforward. If you're also looking for a convenient way to handle client-side mods, the foxygame.net launcher offers a modern, flexible platform where you can install mods directly from its menu, saving you time on manual downloads. But for server-side protection, DriveBackup simply needs to be placed in your plugins folder and configured.

Fine-Tuning the Configuration

The plugin's config.yml is where you tell DriveBackup which folder to back up and the naming pattern your archives should follow. You can find the latest default config on the plugin's GitHub page. The file is well-commented, guiding you through settings like backup intervals, retention count, and which services to enable. Even if a feature isn't fully implemented yet in the current version, the config often includes placeholders for upcoming updates.

Commands and Permissions

DriveBackup keeps its command set minimal and easy to remember:

  • /drivebackup – displays a list of available commands (permission: drivebackup).
  • /drivebackup v – shows the plugin version (same base permission).
  • /drivebackup reloadconfig – reloads the configuration without restarting the server (requires drivebackup.reloadconfig).
  • /drivebackup backup – manually triggers an upload to your configured destinations (requires drivebackup.backup).

Metrics and Your Privacy

DriveBackup uses the Metrics system to collect anonymous usage statistics, helping the developer understand how many servers rely on the plugin and on which platforms. The collected data includes general server count, player counts, Minecraft version, Java version, operating system details, and which backup services are enabled. If you prefer not to share this information, you can opt out specifically for DriveBackup by disabling it in the plugin's config file. To turn off Metrics entirely across all plugins, edit plugins/Plugin Metrics/config.yml and set opt-out to true. The aggregated stats are publicly viewable on mcstats.org for transparency.

Troubleshooting and Support

If something goes sideways, the developer encourages bug reports through the GitHub issue tracker rather than comment sections. Since the project is open source, you can inspect every line of code to verify exactly how your data is handled. The plugin will never do anything beyond uploading files, creating a backup folder if needed, and deleting old backups according to your rules. As with any third-party tool, use it at your own risk, but the community-driven nature of the codebase adds a layer of trust.

The Bottom Line: Protect Your Blocky Legacy

No one plans for server crashes or accidental deletions, but a few minutes of setup with DriveBackup can save you from catastrophic loss. By automating cloud and FTP backups, managing retention, and working quietly in the background, this plugin turns a potential disaster into a minor inconvenience. Whether you run a small private server or a large community world, having off-site copies of your builds, redstone contraptions, and pixel art is just common sense. Don't wait until it's too late—give your Minecraft data the safety net it deserves.