Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2019
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.84 KB | None | 0 0
  1. #
  2. # _/_/_/_/ _/_/_/ _/
  3. # _/ _/_/_/ _/_/_/ _/ _/ _/ _/ _/_/_/ _/_/_/ _/ _/ _/ _/ _/_/_/
  4. # _/_/_/ _/ _/ _/_/ _/ _/ _/_/_/ _/ _/ _/ _/_/ _/ _/ _/ _/
  5. # _/ _/ _/ _/_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
  6. # _/_/_/_/ _/_/_/ _/_/_/ _/_/_/ _/_/_/ _/_/_/ _/_/_/ _/ _/ _/_/_/ _/_/_/
  7. # _/ _/
  8. # _/_/ _/
  9. # Main Configuration
  10. #
  11. # Thank you very much for purchasing my plugin <3
  12. # If you have any questions / problems, please use my online service desk:
  13. # https://prodigysupport.team/tickets/servicedesk/customer/portal/1
  14. # ~ JarFiles
  15.  
  16. # Enables / Disables Debug mode
  17. debug: false
  18. # Enables / Disables Passwords config encryption
  19. password-encryption: false
  20. # Enables / Disables Ingame Commands
  21. ingame-commands: true
  22. backup:
  23. # You can change the backups master folder here
  24. # Do not change is unless you know what you are doing
  25. master-folder: .
  26. # You can change the save location of the backups here
  27. # Do not change is unless you know what you are doing
  28. #
  29. # Placeholders:
  30. # {pluginname} - name of the plugin
  31. # {plugindir} - home directory of the plugin (Something like plugins/EasyBackup/)
  32. save-location: '{plugindir}/backups'
  33. # You can change the name of the backup here
  34. #
  35. # Placeholders
  36. # {time} - will be replaced with the backup time
  37. file-name: backup_{time}
  38. # Compression Level of the backup. Available are:
  39. # HIGHEST
  40. # HIGH
  41. # NORMAL
  42. # LOW
  43. # LOWEST
  44. # A higher level means that the backup will be smaller,
  45. # however it'll take longer to create the backup
  46. compression-level: NORMAL
  47. password:
  48. # Enables / Disables password and file encryption
  49. enabled: false
  50. # Set your backup password.
  51. # NOTE IT SOMEWHERE. THERE IS NOT WAY TO RESTORE IT
  52. password: ''
  53. # You can define how the {time} placeholder will be handled
  54. # For more information see:
  55. # https://docs.oracle.com/javase/8/docs/api/java/text/SimpleDateFormat.html
  56. time-format: dd_MM_yyyy-hh_mm_ss_aa
  57. # You can set the max amount of backups you want in your dropbox here
  58. # Set it to '-1' to disable it
  59. max-backups-before-erase: 7
  60. anti-lag:
  61. # Enables / Disables Anti Lag Feature which will slow down the backup to prevent lags
  62. enabled: true
  63. # Set the threshold for the anti lag feature. Default is 1.5 which means if the tps drops about 1.5 after the backup started the backup will slow down
  64. threshold: 1.5
  65. schedule:
  66. # Controls when backups are automatically made
  67. #
  68. # Normal Schedule:
  69. # For daily backups, just enter the time.
  70. # If you do not include AM or PM, it will be in military time.
  71. # To backup on specific days, write the day before the time on the same line
  72. # To be safe, put single quotes around your backup schedule: '17:30'
  73. # Example:
  74. # DAY HOUR:MINUTE PM
  75. # HOUR:MINUTE AM (Exclude day for daily)
  76. # HOUR:MINUTE (24 hour time)
  77. # Mon Wed Fri 7:00
  78. # 4:00 AM
  79. #
  80. # Cron Schedule:
  81. # If you want to use cron expressions instead of the normal schedule, clear the list below and enter
  82. # your expressions. Do NOT forget to enable cron expressions support below
  83. # Example: '0 0 0 ? * * *' to create a backup every day at 00:00:00
  84. # If you need help with creating your own cron expressions, check out https://www.freeformatter.com/cron-expression-generator-quartz.html
  85. list:
  86. - 12:00 AM
  87. - 12:00 PM
  88. # Enables / Disables Cron Expressions support for the backup schedule
  89. cron-enabled: false
  90. # Set the interval between each check if it's time to create a backup
  91. # Value is in seconds
  92. check-interval: 1
  93. # Enables / Disables the usage of the exempt patterns below
  94. use-exempt: true
  95. # You can specify which files you don't want to be backed up
  96. # HOW IT WORKS:
  97. # A new File instance will be created for each string below
  98. # This means: If you set it to 'logs' for example,
  99. # the plugin will search for a directory named 'logs' in the main server directory
  100. # The Directory and all sub files and directory will be excluded.
  101. # If you only want to exlude a single file, you have to set it to the full file name
  102. # Like: 'logs/latest.log'
  103. #
  104. # THE BACKUP DIRECTORY IS EXCLUDED BY DEFAULT
  105. exempt-files:
  106. - logs
  107. disk-protection:
  108. # Enables / Disables Disk protection
  109. enabled: true
  110. # Sets the disk protection threshold (in mb)
  111. threshold: 500
  112. # Commands which will be executed once a backup starts
  113. #
  114. # Prefixes:
  115. # system - executes the command on the system
  116. # server - executes the command on the server the plugin is running on
  117. #
  118. # Example:
  119. # system:sh -c this is my test command
  120. # server:say I just found out how the command feature works
  121. start-commands: []
  122. # Commands which will be executed once a backup starts
  123. #
  124. # Prefixes:
  125. # system - executes the command on the finish
  126. # server - executes the command on the server the plugin is running on
  127. #
  128. # Example:
  129. # system:sh -c this is my test command
  130. # server:say I just found out how the command feature works
  131. finish-commands: []
  132. # Commands which will be executed once a backup fails
  133. #
  134. # Prefixes:
  135. # system - executes the command on the system
  136. # server - executes the command on the server the plugin is running on
  137. #
  138. # Example:
  139. # system:sh -c this is my test command
  140. # server:say I just found out how the command feature works
  141. fail-commands: []
  142. cleaner:
  143. # Enables / Disables the cleaner
  144. enabled: false
  145. # Set the amount of days after the files should be deleted
  146. days-old: 4
  147. # Set the directories in which the cleaner checks for files to be deleted
  148. directories:
  149. - logs
  150. # Enables / Disables the usage of the pattern list below
  151. # If you disabled this all files which are old enough will be deleted
  152. use-patterns: false
  153. # You can specify which files you want to be checked by the cleaner
  154. # Each filename will be checked against the specified patterns below
  155. # If a match is found and the file is old enough, the file will be deleted
  156. # You can test your expressions here: https://regex101.com
  157. file-pattern: []
  158. # Enables / Disables recursive checking of directories
  159. recursive: false
  160. mysql:
  161. # You can change the save location of the sql backups here
  162. # Do not change is unless you know what you are doing
  163. #
  164. # Placeholders:
  165. # {pluginname} - name of the plugin
  166. # {plugindir} - home directory of the plugin (Something like plugins/EasyBackup/)
  167. save-location: '{plugindir}/sqlbackups'
  168. direct-access:
  169. # Enables / Disables Mysql Dumping by accessing the database directly (Does not require ssh access or something)
  170. enabled: true
  171. # Specify your JDBC Url here.
  172. # Only change it if you know what you are doing.
  173. # Make sure it contains the {database} placeholder which will be replaced with the database later
  174. command: jdbc:mysql://192.168.20.206:3306/{database}?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC&useSSL=false
  175. # Specify which tables you want to be backed up here
  176. # You must use the following format:
  177. # DATABASE:USERNAME:PASSWORD[:TABLES]
  178. # The Table argument is optional. If you don't specify it, all tables will be backed up
  179. # For more details view the examples below
  180. #
  181. # Example:
  182. # thisismydb:testuser
  183. # thisismydb:testuser:thisismypassword
  184. # thisismydb2:testuser2:thisismypassword2[:iwantthistable:andthisonetoo]
  185. databases: stellystest:stellystest:XXXXXXXXXX
  186. dump-command:
  187. # Enables / Disables Mysql Dumping using the mysqldump command
  188. enabled: false
  189. # Specify your MysqlDump command here.
  190. # You must use the following placeholders:
  191. # - {database} will be replaced with the database name
  192. # - {tables} will be relpaced with the tables name
  193. # - {password} will be replaced with the users password
  194. # - {username} will be replaced with the users name
  195. # - {output_file} will be replaced with the path + name of the backup
  196. #
  197. # IMPORTANT:
  198. # The command must start with the application you are using:
  199. # For Windows, it's 'cmd.exe /c <command>'
  200. # For Linux, it usually is 'sh -c <command>'
  201. # The command below is made for linux users. if you use windows, make sure to set it to 'cmd.exe /c <the command>'
  202. command: sh -c mysqldump -u {username} -p{password} {database} {tables} > {output_file}
  203. # Enables / Disables using the mysql auth file
  204. # You don't have to use the {password} and {user} placeholder in the dump command if you enable this
  205. use-auth-file: false
  206. # Specify which tables you want to be backed up here
  207. # You must use the following format:
  208. # DATABASE:USERNAME:PASSWORD[:TABLES]
  209. # If you are using the auth file to authenticate
  210. # set both, username and password to 'authfile'
  211. # The Table argument is optional. For more details view the examples below
  212. #
  213. # Example:
  214. # thisismydb:testuser
  215. # thisismydb:testuser:thisismypassword
  216. # thisismydb2:testuser2:thisismypassword2[:iwantthistable:andthisonetoo]
  217. #
  218. # If you are using the authentication with the auth file, make sure to use:
  219. # thisismydb:authfile:authfile
  220. # thisismydb2:authfile:authfile[:iwantthistable:andthisonetoo]
  221. databases: []
  222. upload-services:
  223. # Enables / Disables Local Backup Deletion after all uploads have been completed
  224. delete-local: false
  225. dropbox:
  226. # Enables / Disables Dropbox Upload
  227. enabled: false
  228. # Paste your dropbox access token here
  229. #
  230. # Instructions on how to get your token:
  231. # https://prodigysupport.team/wiki/eb/how-tos/how-to-get-your-dropbox-token
  232. access-token: ''
  233. # Set the DropBox path you want your files to be uploaded to
  234. upload-path: /backups/
  235. # You can set the max amount of backups you want in your dropbox here
  236. # Set it to '-1' to disable it
  237. max-backups-before-erase: -1
  238. ftp:
  239. # Enables / Disables FTP Upload
  240. enabled: false
  241. ssh:
  242. # If you are using ssh keys to authenticate with your ftp server
  243. # You can enable or disable it here
  244. use: false
  245. # Set the path to your ssh private key here
  246. private-key: ''
  247. # Set your ssh private key passphrase here
  248. passphrase: ''
  249. # Select which ftp protocol you want to use.
  250. # Available are:
  251. # - SFTP
  252. # - FTP
  253. # - FTPS
  254. protocol: ftp
  255. # Set your ftp host address here
  256. host: example.com
  257. # Set your ftp username here
  258. username: root
  259. # Set your ftp password here
  260. password: ''
  261. # Set your ftp port here
  262. port: 21
  263. # Set the FTP path you want your files to be uploaded to
  264. upload-path: /root/backups/
  265. # You can set the max amount of backups you want on your ftp server
  266. # Set it to '-1' to disable it
  267. max-backups-before-erase: -1
  268. developer:
  269. events:
  270. # Enables / Disables Event sending
  271. enabled: false
  272. # Enables / Disables sending of the OnCreate Event
  273. on-create: false
  274. # Enables / Disables sending of the OnFail Event
  275. on-fail: false
  276. # Enables / Disables sending of the OnSuccess Event
  277. on-success: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement