Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2016
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 3.70 KB | None | 0 0
  1. # Config File
  2.  
  3. # The automatic backup system.
  4. # Players with permission PerfectBackup.warning will be warned on automatic backup.
  5. interval: 2 h
  6.  
  7. # Interval format:
  8. # <amount> <t/s/m/h/d>
  9. # t = Ticks, s = Seconds, m = Minutes, h = Hours, d = Days
  10.  
  11. crontask: '0 0 * * * *'
  12.  
  13. # CronTask format:
  14. # * * * * * *
  15. # | | | | | |
  16. # | | | | | +–––– Day of the Week   (1-7)
  17. # | | | | +–––––– Month             (1-12)
  18. # | | | +–––––––– Day of the Month  (1-31)
  19. # | | +–––––––––– Hour              (0-23)
  20. # | +–––––––––––– Minute            (0-59)
  21. # +–––––––––––––– Second            (0-59)
  22.  
  23. # A few more examples...
  24. # crontask: '0 0 * * * *' This would make it every hour
  25. # crontask: '0 0 4 * * 7' This would make it every sunday at 4 AM
  26. # crontask: '0 0 4 1 * *' This would make it every first of the month at 4 AM
  27.  
  28. # The plugin's prefix for messages.
  29. prefix: '&9[&bBackup&9] &f'
  30.  
  31. # The format for backup names
  32. # If two backups have the same name, it will append " (1)", " (2)" etc.
  33. backupformat: 'PerfectBackup {DATE}'
  34.  
  35. # The format for dates.
  36. # MM = month, DD = Day, YYYY = Year, HH = 12h Hours, hh = 24h Hours, mm = Minutes, ss = Seconds, ms = Milliseconds, AM = AM/PM
  37. dateformat: 'DD-MM-YYYY hhh mmm sss' # e.g. 03-10-2016 11h 47m 24s
  38.  
  39. # Whether the backups should be in a zip file or in a folder.
  40. zipbackups: true
  41.  
  42. # The folder where to store the backups locally.
  43. localpath: '/home/minecraft/Backup'
  44.  
  45. # The maximum backups stored. Will delete older backups when reached. (≤ 0 to disable)
  46. # Note: this will only work with local backups (fallbacks included).
  47. maxbackups: 10
  48.  
  49. # Whether or not you should see detailed information while creating a backup.
  50. debug: false
  51.  
  52. # Whether or not the server should be restarted when a backup is restored.
  53. # This will run the command line "cd dirname" and "java -server -jar jarfile"
  54. # dirname being the directory to the server and jarfile the first .JAR file found in the server directory
  55. restorerestart: false
  56.  
  57. # The reason of the kick when a backup is restored.
  58. kickreason: '&9[&bPerfectBackup&9]\n&cA backup is being restored.\nServer is shut down for security.'
  59.  
  60. # FTP settings and configuration.
  61. # Different modes (when to use FTP):
  62. # - NEVER (disable)
  63. # - FALLBACK (when an error occurs)
  64. # - LIMIT (move files when maxbackups is reached)
  65. # - FIRST (use ftp unless an error occurs)
  66. # - ALWAYS (only save to ftp, never use local)
  67. # - BOTH (save to both ftp and local)
  68. ftp:
  69.  mode: NEVER
  70.  host: 'localhost'
  71.  port: 21
  72.  user: 'PerfectUser'
  73.  pass: 'P3rf3c7P455w0rd'
  74.  path: '~/PerfectBackups/'
  75.  
  76. # What you want in the backup.
  77. backup:
  78.  jarfile: false # The .jar file of your server (e.g. craftbukkit.jar)
  79.  properties: false # The server.properties file
  80.  ops: false # The ops.json file
  81.  whitelist: false # The whitelist.json file
  82.  spigotyml: false # If on spigot, the spigot.yml file
  83.  bukkityml: false # The bukkit.yml file
  84.  aliases: false # The commands.yml file
  85.  eula: false # The eula.txt file
  86.  metrics: false # The PluginMetrics folder
  87.  logs: false # The logs folder, with all the zips (WARNING! This can make your backups way slower and very heavy!)
  88.  pluginjars: false # The .jar files for the plugins
  89.  pluginconfs: false # The data folder of each plugin
  90.  worlds: # Use [] for no world, and - '*' for all the worlds.
  91.   - 'Kieselkiste'
  92.   - 'Freiesbauen'
  93.   - 'Wild'
  94.   - 'Modern'
  95.  other: # Any other file you want to backup, using "!" before will prevent it from backupping (IMPORTANT! Use / for directories!)
  96.   - '!plugins/PluginMetrics'
  97.   - '!plugins/Essentials'
  98.   - '!plugins/WorldEdit'
  99.   - '!plugins/PerfectBackup/backups'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement