Skip to content

Backup Storage

LRMtheBoss edited this page Apr 14, 2024 · 7 revisions

You can specify where backups are stored, how many to store, and more.

Settings

backup-thread-priority

The priority of the backup thread, relative to the minimum priority. This is set to one by default, so backups cause the least amount of server lag possible. If backups are taking too long, You can increase this value up to a maximum of ten.

Default: 1

Valid values: 1 to 10 (inclusive)

keep-count

How many backups to keep remotely before deleting the oldest one. You can set this to -1 to disable automatic deletes.

Default: 20

local-keep-count

How many backups to keep locally before deleting the oldest one. You can set this to -1 to disable automatic deletes.

If set to 0, a local backup will still be made and kept till it is uploaded to the remote storage(s).

Default: 0

zip-compression

Since v1.3.6

The compression level of the backup ZIP files. Typically, a higher compression level means a smaller file but longer to compress. You can set this between one and nine, with nine being the highest compression level.

Default: 1

Valid values: 1 to 9 (inclusive)

disable-saving-during-backups

Since v1.3.8

If this is set to false, saving will not be disabled during backups. Apparently turning back on auto-saving after a backup lags some servers.

Default: true

local-save-directory

The path to the folder to save backups in locally. This should be relative to the folder containing the Minecraft server jar.

Default: backups

remote-save-directory

The path to the folder to save backups in on the remote server. This should be relative to the remote root folder.

Default: backups