1+ {
2+ // Allow the creation of backups automatically
3+ "enabled" : true ,
4+ // Permission level to use the /backup command
5+ "command_permission_level" : 3 ,
6+ // Only send backup status to server ops
7+ "notify_op_only" : true ,
8+ // Don't send backup status at all
9+ "do_not_notify" : true ,
10+ /* Backup retention mode. Valid Modes: MAX_BACKUPS, TIERED
11+ Note: TIERED mode is an experimental feature, Use at your own risk.
12+ */
13+ "retention_mode" : " MAX_BACKUPS" ,
14+ // Applies to retention_mode:MAX_BACKUPS, Sets the maximum number of backups to keep
15+ "max_backups" : 3 ,
16+ // Applies to retention_mode:TIERED, The latest x number of backups will be retained
17+ "keep_latest" : 3 ,
18+ // Applies to retention_mode:TIERED, Sets number of hourly backups to keep
19+ "keep_hourly" : 1 ,
20+ // Applies to retention_mode:TIERED, Sets number of daily backups to keep
21+ "keep_daily" : 1 ,
22+ // Applies to retention_mode:TIERED, Sets number of weekly backups to keep
23+ "keep_weekly" : 1 ,
24+ // Applies to retention_mode:TIERED, Sets number of monthly backups to keep
25+ "keep_monthly" : 1 ,
26+ /* This is done with an implementation of cron from the Quartz java library.
27+ More info here
28+ (http://www.cronmaker.com)
29+ */
30+ "backup_cron" : " 0 15 10 * * ? *" ,
31+ // Time between manual backups using the command
32+ "manual_backups_time" : 0 ,
33+ // Only run a backup if a player has been online since the last backup
34+ "only_if_players_been_online" : true ,
35+ // Additional directories to include in backup
36+ "additional_directories" : [],
37+ /* Additional files and directories to include in backup.
38+ Can specify a file name, path relative to server directory or wildcard file path
39+ Examples: (All file paths are relative to server root)
40+ fileName.txt Any/all file named "fileName.txt"
41+ folder/file.txt Exact file path
42+ folder/ Everything in this folder
43+ path/starts/with* Any files who's path starts with
44+ *path/ends/with.txt Any files who's path ends with
45+ *path/contains* Any files who's path contains
46+ */
47+ "additional_files" : [],
48+ // Display file size in backup message
49+ "display_file_size" : false ,
50+ // backup location
51+ "backup_location" : " ." ,
52+ // Specify the backup format. Valid options are ZIP and DIRECTORY
53+ "backup_format" : " ZIP" ,
54+ // Minimum free disk space in MB. If a backup's creation would leave less than this amount of disk space remaining, the backup will be aborted.
55+ "minimum_free_space" : 51200 ,
56+ // If the previous backup failed due to lack of space, the oldest backup will be deleted to free space.
57+ "free_space_if_needed" : true ,
58+ /* Specify files or folders to be excluded.
59+ Can specify a file name, path relative to server directory or wildcard file path
60+ Examples: (All file paths are relative to server root)
61+ fileName.txt Any/all file named "fileName.txt"
62+ folder/file.txt Exact file path
63+ folder/ Everything in this folder
64+ path/starts/with* Any files who's path starts with
65+ *path/ends/with.txt Any files who's path ends with
66+ *path/contains* Any files who's path contains
67+ */
68+ "excluded" : [
69+ " DistantHorizons.sqlite"
70+ ],
71+ // The dimension used when creating backup preview image, specify "all" to enable automatic detection of primary dimension (can be very slow)
72+ "preview_dimension" : " minecraft:overworld"
73+ }
0 commit comments