Advertisement
Guest User

Untitled

a guest
Apr 19th, 2016
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.23 KB | None | 0 0
  1. # Configuration file
  2.  
  3. general {
  4. # Interval for backups in minutes. Useful for singleplayer.
  5. # Set this to 0 to enable backupSchedule instead. [range: 0 ~ 2147483647, default: 180]
  6. I:backupInterval=0
  7.  
  8. # The path where to store the backups. Can be a relative or absolute path. [default: ../backups]
  9. S:backupPath=../backups
  10.  
  11. # The prefix for the created Zip files. Archives will be formatted as '$prefix_[persistent_]worldname_timestamp.zip'. [default: backup]
  12. S:backupPrefix=backup
  13.  
  14. # The times for when to do backups in 24h format. Useful for servers.
  15. # If backupInterval is >0 then this setting has no effect. [default: ]
  16. S:backupSchedule < 0400
  17. >
  18.  
  19. # List of regular expressions to determine what to EXCLUDE from the backup.
  20. # By default everything in the installation directory and only the current save directory (in SP) will be included in the backup.
  21. # This blacklist will not be applied to the current save directory.
  22. # If you want to backup only the current save set the blacklist to '.*' (without the quotes). [default: [.*logs.*], [.*backups.*]]
  23. S:blacklist <
  24. .*backups.*
  25. .*archive.*
  26. .*asm.*
  27. .*crash-reports.*
  28. .*libraries.*
  29. .*logs.*
  30. .*manualBackUps.*
  31. .*mods.*
  32. >
  33.  
  34. # The Zip compression level to use to create backup archives (0 = no compression, 9 = maximum compression). [range: 0 ~ 9, default: 4]
  35. I:compressionLevel=6
  36.  
  37. # Whether FTP upload is enabled or not. [default: false]
  38. B:ftpEnabled=false
  39.  
  40. # The remote directory to upload backups to. [default: yabm2_backups]
  41. S:ftpLocation=yabm2_backups
  42.  
  43. # The password to use to authenticate with the FTP server. [default: ]
  44. S:ftpPassword=
  45.  
  46. # Whether to only upload persistent backups or everything.
  47. # If persistentBackups is set to false regular backups will be uploaded instead. [default: true]
  48. B:ftpPersistentOnly=true
  49.  
  50. # The FTP server port to use. [range: 1 ~ 2147483647, default: 21]
  51. I:ftpPort=21
  52.  
  53. # The FTP server address to upload backups to. [default: ]
  54. S:ftpServer=
  55.  
  56. # The username to use to authenticate with the FTP server. [default: ]
  57. S:ftpUsername=
  58.  
  59. # The number of normal backups to keep. If the total backup count exceeds this number the oldest backups will be deleted.
  60. # 0 = disabled. [range: 0 ~ 2147483647, default: 8]
  61. I:maxBackupCount=2
  62.  
  63. # The number of persistent backups to keep. If the total backup count exceeds this number the oldest backups will be deleted.
  64. # 0 = disabled. [range: 1 ~ 2147483647, default: 14]
  65. I:maxPersistentCount=2
  66.  
  67. # How many seconds to pause backup creation. Has no effect if pauseInterval = 0. [range: 1 ~ 100, default: 3]
  68. I:pauseDuration=3
  69.  
  70. # How many seconds to wait between pausing the backup creation.
  71. # Set to 0 to disable pauses. [range: 0 ~ 2147483647, default: 0]
  72. I:pauseInterval=0
  73.  
  74. # Enables persistent backups which are done once per day and are excluded from automatic consolidation if enabled. [default: true]
  75. B:persistentBackups=true
  76.  
  77. # Same as backupPath but for persistent backups. [default: ../backups/persistent]
  78. S:persistentPath=../backups/persistent
  79. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement