Simple Backup

De Nefald Wiki
Version datée du 27 octobre 2015 à 09:19 par Hiob (discussion | contributions)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à la navigation Aller à la recherche


Simple Backup
Simple Backup
Plugin
Catégorie Administration [edit]
Développeur(s) ltguide
Bukkit simplebackup
Nefald
Status installé [edit]
Grade requis Intendant
Article
Dernière révision 27/10/2015


Simple Backup est le plugin nous permettant de réaliser de façon automatisée, des backups de notre serveur. Sur Nefald il remplace Minebackup.

Utilisation

Une seule commande
  • /sbackup - Forcer le backup sur le monde où vous êtes. Seuls les OPs peuvent l'utiliser.

Configuration

<spoiler>

 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 plugin now has a permissions node as well, it defaults to OP's but you can grant other users access with 'simplebackup.use'

backup-interval-hours: 1.0
backup-worlds:
backup-folders:
backup-file: backups/
backup-date-format: yyyy-MM-dd-HH-mm-ss
backup-empty-server: false
disable-zipping: false
delete-schedule:
    intervals:
        - 1d
        - 3d
        - 4w
        - 30w
    interval-frequencies:
        - 4h
        - 1d
        - 5d
        - 30d

broadcast-message: true
backup-message: '[SimpleBackup]'
custom-backup-message: Backup starting
custom-backup-message-end: Backup completed

</spoiler>