Basculer le menu
Changer de menu des préférences
Basculer le menu personnel
Non connecté(e)
Votre adresse IP sera visible au public si vous faites des modifications.


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> <syntaxhighlight lang="Yaml">

Interval between map saves in hours, 0.25 is 15 minutes, 1.0 is 1 hour and so on. (1 hour is default).
  1. backup-interval-hours: 1.0
  2. #
  3. List of worlds to backup, leave it empty to backup all worlds
  4. backup-worlds:
  5. #
  6. List of additional folders to backup (relative paths only). The 'plugins' folder can contain open or locked files!
  7. Depending on what plugins you have installed, it may not be a good idea to try to backup that folder.
  8. Usually plugins that write a large amounts of data frequently (like some loggers) are risky.
  9. backup-folders:
  10. - plugins
  11. #
  12. The folder where backups are stored. Can be absolute path or relative to the working directory.
  13. backup-file: backups/
  14. #
  15. The backup file name. See Java's SimpleDateFormat for formatting help.
  16. backup-date-format: yyyy-MM-dd-HH-mm-ss
  17. #
  18. Should a backup be created if no one was online since the last backup?
  19. backup-empty-server: false
  20. #
  21. If zipping is disabled, the world files will be copied to a folder.
  22. If zipping is enabled, the world files will be compressed in a zip file.
  23. disable-zipping: false
  24. #
  25. Backup delete schedule
  26. For each interval a desired backup frequency is specified, for example:
  27. delete-schedule:
  28. intervals:
  29. - 3d
  30. - 4w
  31. - 6m
  32. interval-frequencies:
  33. - 1d
  34. - 1w
  35. - 0
  36. Translates to:
  37. for backups older than 3 days, leave only 1 backup per day;
  38. for backups older than 4 weeks + 3 days, leave only 1 backup per week;
  39. for backups older than 6 months + 4 weeks + 3 days, do not keep any;
  40. Supported symbols are ('h' = hour, 'd' = day, 'w' = week, 'm' = month, 'y' = year).
  41. Fractional numbers are not supported.
  42. #
  43. true if a message should be broadcast when backup starts or ends
  44. broadcast-message: true
  45. #
  46. Message tag shown in the chat when the server is backing up.
  47. Example: if the message was set to '[Bukkit is awesome]' you
  48. would see "[Bukkit is awesome] Starting Backup" when the
  49. plugin backs up
  50. backup-message: '[SimpleBackup]'
  51. #
  52. The 'backup starting' message that is broadcast when backup starts
  53. custom-backup-message: Backup starting
  54. #
  55. The 'backup completed' message that is broadcast when backup ends
  56. custom-backup-message-end: Backup completed
  57. #
  58. 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 </syntaxhighlight> </spoiler>