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 1 2.
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 1 4.
Official backup and runtime links
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 1 2.
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 2.
Comparison of DriveBackupV2 storage targets
| Destination | Setup command or mode | Best use | Main risk |
|---|---|---|---|
| Local disk | local-keep-count in config.yml | Quick local recovery | Lost if VPS storage fails 2 |
| Google Drive / OneDrive | /drivebackup linkaccount <service> | Off-server copies; check provider limits | Storage quota fills on big maps 2 |
| External SFTP / VPS | FTP/SFTP block in config.yml | Separate storage you administer | Needs firewall/SSH key hygiene 1 |
Link a cloud provider and define backup-list
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 2 3.
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 2.
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: trueRun 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 2.
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 2 4.
/drivebackup linkaccount googledrive
/drivebackup reloadconfig
/drivebackup backup
/drivebackup statusAvoid 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 2.
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 2. - Set appropriate
keep-countandlocal-keep-countlimits, and monitor storage usage 2. - Verify
backup-listincludesworld,world_nether,world_the_end, andplugins/configs 2. - 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
Sources & evidence
- DriveBackupV2 on Modrinth (Modrinth)
- DriveBackupV2 Wiki (GitHub / DriveBackupV2)
- DriveBackupV2 Repository (GitHub)
- Getting started (PaperMC)


