Skip to content
Seblii edited this page Jun 17, 2023 · 5 revisions

1. How to get hourly backups?

Simply copy the following and paste it into the correct section of your config.yml:

BackupTimer:
  Days:
  - MONDAY
  - TUESDAY
  - WEDNESDAY
  - THURSDAY
  - FRIDAY
  - SATURDAY
  - SUNDAY
  Times:
  - 00-00
  - 01-00
  - 02-00
  - 03-00
  - 04-00
  - 05-00
  - 06-00
  - 07-00
  - 08-00
  - 09-00
  - 10-00
  - 11-00
  - 12-00
  - 13-00
  - 14-00
  - 15-00
  - 16-00
  - 17-00
  - 18-00
  - 19-00
  - 20-00
  - 21-00
  - 22-00
  - 23-00

2. Upload to Dropbox did not worked. What should I do?

There are 2 main problems that can be encountered with the Dropbox feature:

  1. Dropbox authentication did not worked. If this is the case you will get an error code like:
java.lang.RuntimeException: com.dropbox.core.BadRequestException: {"error": "invalid_grant", "error_description": "code doesn't exist or has expired"}

Try setting up Dropbox again by following the tutorial video (https://www.youtube.com/watch?v=k-0aIohxRUA) step by step. Even if you think you've done everything right, small mistakes seem to happen very often at this point.


  1. Upload size too big. If this is the case you will get an error code like:
java.lang.RuntimeExceptioncom.dropbox.core.v2.files.UploadErrorException: Exception in 2/files/upload: "payload_too_large"

Unfortunately, Dropbox API officially only supports uploading files up to 150 MB in size (per upload). Nevertheless, ServerBackup is working on a workaround to enable larger uploads in the future.

3. How to backup all server files?

You can use "/backup create @server" to manually back up all server files except blacklisted ones (config.yml >> "Blacklist").

To automate this, put " '@server' " to "BackupWorlds" in your config:

BackupWorlds:
- '@server'

You need to put "@server" into these symbols ' ' or it won't work.