PluginConfigs/SimpleBackup/config.yml
NorbiPeti dc29f1f25a
Keep backups for a longer time
* Keep backups for the last 2 days (as before)
* In addition, keep 2 for the last 2 weeks
2018-11-27 21:14:36 +01:00

85 lines
2.8 KiB
YAML
Executable file

# Interval between map saves in hours, 0.25 is 15 minutes, 1.0 is 1 hour and so on. (1 hour is default).
# backup-interval-hours: 1.0
# #
# List of worlds to backup, leave it empty to backup all worlds
# backup-worlds:
# #
# List of additional folders to backup (relative paths only). The 'plugins' folder can contain open or locked files!
# Depending on what plugins you have installed, it may not be a good idea to try to backup that folder.
# Usually plugins that write a large amounts of data frequently (like some loggers) are risky.
# backup-folders:
# - plugins
# #
# The folder where backups are stored. Can be absolute path or relative to the working directory.
# backup-file: backups/
# #
# The backup file name. See Java's SimpleDateFormat for formatting help.
# backup-date-format: yyyy-MM-dd-HH-mm-ss
# #
# Should a backup be created if no one was online since the last backup?
# backup-empty-server: false
# #
# If zipping is disabled, the world files will be copied to a folder.
# If zipping is enabled, the world files will be compressed in a zip file.
# disable-zipping: false
# #
# Backup delete schedule
# For each interval a desired backup frequency is specified, for example:
# delete-schedule:
# intervals:
# - 3d
# - 4w
# - 6m
# interval-frequencies:
# - 1d
# - 1w
# - 0
# Translates to:
# for backups older than 3 days, leave only 1 backup per day;
# for backups older than 4 weeks + 3 days, leave only 1 backup per week;
# for backups older than 6 months + 4 weeks + 3 days, do not keep any;
# Supported symbols are ('h' = hour, 'd' = day, 'w' = week, 'm' = month, 'y' = year).
# Fractional numbers are not supported.
# #
# true if a message should be broadcast when backup starts or ends
# broadcast-message: true
# #
# Message tag shown in the chat when the server is backing up.
# Example: if the message was set to '[Bukkit is awesome]' you
# would see "[Bukkit is awesome] Starting Backup" when the
# plugin backs up
# backup-message: '[SimpleBackup]'
# #
# The 'backup starting' message that is broadcast when backup starts
# custom-backup-message: Backup starting
# #
# The 'backup completed' message that is broadcast when backup ends
# custom-backup-message-end: Backup completed
# #
# The time of day to make backups (makes sense with daily backups)
# start-time: '03:00'
# #
backup-interval-hours: 24.0
backup-file: backups/
backup-date-format: yyyy-MM-dd-HH-mm-ss
backup-empty-server: false
disable-zipping: false
delete-schedule:
intervals:
- 2d
- 2w
interval-frequencies:
- 1w
- 0
broadcast-message: true
backup-message: '[SimpleBackup]'
custom-backup-message: Backup starting
custom-backup-message-end: Backup completed
backup-folders:
- TBMC
- plugins/Towny/data
- plugins/Towny/settings
- plugins/WorldGuard/worlds
- plugins/ButtonPresents
start-time: 03:00