Still loading

SBlock and a villager store backup chests in a Minecraft workshop.

INFIRALS · AI-assisted illustration

Minecraft · Guide

Automate Minecraft backups with DriveBackupV2

Set up local and cloud backups of your Minecraft worlds and plugin files with DriveBackupV2, then test that you can restore them.

On this page

Download DriveBackupV2 and core dependencies

A backup gives you a way to recover after a bad edit, a failed update, or damaged data. Keep a copy away from the server and test the restore before relying on it. An active server or database can still change while files are copied, so plan a consistent backup for your setup .

Download a DriveBackupV2 version compatible with your Paper server from its Modrinth listing. Stop the server, place the JAR in plugins/, and start it again to generate the plugin configuration .

Official backup and runtime links

DriveBackupV2 official plugin iconDriveBackupV2Automated local and cloud backups to Google Drive, OneDrive, Dropbox, or SFTP.ModrinthPaperMC official project iconPaperMCServer runtime hosting world folders and plugin configuration directories.Docs

Choose local vs remote backup destinations

A copy on the same disk is useful for quick recovery, but it will not protect you if that disk fails. Keep a second copy on a separate storage service or machine. DriveBackupV2 supports local retention and several remote destinations .

Set keep-count and local-keep-count according to your storage capacity and recovery needs. Check available space and confirm older backups are removed as intended; retention limits alone cannot guarantee that a disk will never fill .

Data table

Comparison of DriveBackupV2 storage targets

Comparison of DriveBackupV2 storage targets
DestinationSetup command or modeBest useMain risk
Local disklocal-keep-count in config.ymlQuick local recoveryLost if VPS storage fails
Google Drive / OneDrive/drivebackup linkaccount <service>Off-server copies; check provider limitsStorage quota fills on big maps
External SFTP / VPSFTP/SFTP block in config.ymlSeparate storage you administerNeeds firewall/SSH key hygiene

Place the compatible DriveBackupV2 JAR in plugins/, restart Paper, then run /drivebackup linkaccount googledrive from the console or as an authorized player. Follow the provider’s linking instructions and keep any authorization code private. Use dropbox or onedrive instead if you chose that provider .

In plugins/DriveBackupV2/config.yml, edit the existing backup-list. The example below uses separate entries for the three default world directories and plugins/. Your folder names can differ; check them on your server. Keep the timestamp in each archive name and retain the rest of the generated configuration .

Example backup-list entries in plugins/DriveBackupV2/config.yml
backup-list:
  - path: "world"
    format: "Backup-world-%FORMAT.zip"
    create: true
  - path: "world_nether"
    format: "Backup-world_nether-%FORMAT.zip"
    create: true
  - path: "world_the_end"
    format: "Backup-world_the_end-%FORMAT.zip"
    create: true
  - path: "plugins"
    format: "Backup-plugins-%FORMAT.zip"
    create: true

Run a manual backup and test restore locally

Run /drivebackup reloadconfig after editing, then /drivebackup backup from the server console. Wait for completion and confirm that every expected archive is present on the remote destination. Check the logs for upload errors .

To test recovery, stop a separate test server and restore the matching world and plugin archives into their original paths in an isolated test directory. Use the same compatible Paper and plugin versions, review plugin settings and credentials, and prevent the test server from reaching production services. Start it locally, inspect the logs, and check representative builds, inventories and plugin data. Never overwrite the live server during this test. The archives may contain private player data; protect access to them .

Console commands to link accounts, reload edits, and verify DriveBackupV2
/drivebackup linkaccount googledrive
/drivebackup reloadconfig
/drivebackup backup
/drivebackup status

Avoid backup lag during peak player hours

Backups use disk and CPU, so schedule them around quieter periods and avoid running a large backup at the same time as Chunky pre-generation. Monitor performance and storage use on your own host.

DriveBackupV2 supports interval-based and scheduled backups. In the generated config.yml, set scheduled-backups to true and configure backup-schedule-list with days: ["everyday"] and a 24-hour time, such as "04:30". Check date-timezone in the advanced settings; enabling a schedule disables the interval-based setting. After saving, run /drivebackup reloadconfig and /drivebackup nextbackup to check the next run. Confirm that it actually completes .

For a live restore, stop the server first and retain a protected copy of its existing data. Restore all matching archives to the correct paths and test the result before reopening to players. Do not delete the fallback copy until you are satisfied with the recovery.

Pre-survival backup verification checklist

Before launch and major changes, keep a separate, tested copy of your world and plugin data. If you use an allowlist, keep it enabled for a private server and add the players you trust.

Backup verification checklist

  • Link your chosen provider with /drivebackup linkaccount <service> and test the connection .
  • Set appropriate keep-count and local-keep-count limits, and monitor storage usage .
  • Verify backup-list includes world, world_nether, world_the_end, and plugins/ configs .
  • Only exclude files you can safely regenerate, and keep a consistent backup of any databases.
  • Test-restore one downloaded backup inside an isolated folder before public launch.

Frequently asked questions

Does DriveBackupV2 require stopping the Paper server to run backups?

The plugin can run while Paper is online, but a live copy does not guarantee consistency for every plugin or database. Follow each database’s backup guidance and test restores. A stopped-server backup is a useful additional safeguard.

What happens if keep-count is set to -1 in DriveBackupV2?

A value of -1 disables automatic deletion of older remote backups. Monitor your provider’s storage quota and remove old archives deliberately when needed.

Should I include CoreProtect's SQLite database.db in every hourly zip?

Keep a consistent backup of CoreProtect data. Copying a database that is actively being written may not give you a usable restore. Follow CoreProtect and your database vendor’s backup guidance, then test recovery.

Can I switch storage providers cleanly later without wiping old local backups?

You can link another provider, but first preserve and verify your existing local and remote archives. Check retention settings and test a new backup before removing the old provider.

Continue with Paper survival configuration

Java SMP server setup guidePaper plugin troubleshooting

Sources & evidence

Was this article helpful?

Share this post