-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappsettings.example.json
More file actions
79 lines (72 loc) · 3 KB
/
Copy pathappsettings.example.json
File metadata and controls
79 lines (72 loc) · 3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"Settings": {
// Root directory where backups are stored.
// Backups go to {BackupBaseDir}\{UserName}\{MachineName}\BackupFiles
// Environment variables like %USERPROFILE% are expanded in all paths below.
"BackupBaseDir": "D:\\FileHistoryClone",
// Do not create a new backup within this many seconds of the last one.
"DefaultBackupInterval": 3600,
// Directories to watch and crawl. "BackupInterval" (seconds) can override
// DefaultBackupInterval per directory; the longest matching path wins.
"IncludeDirs": [
{
"Dir": "%USERPROFILE%\\Documents"
},
{
"Dir": "%USERPROFILE%\\Pictures",
"BackupInterval": 86400
}
],
// Exclusion patterns. Supported forms:
// - Absolute path: "C:\\Users\\YourName\\AppData"
// - Environment variables: "%USERPROFILE%\\AppData"
// - Name matched at any depth: ".git", "node_modules"
// - Glob wildcards: "*.tmp", "NTUSER.DAT*", "bin/Debug"
// - Re-include (exception): "!important.log" keeps files that an
// exclude pattern would otherwise drop
// - Entries starting with "#" are treated as comments.
"ExcludeDirs": [
"%USERPROFILE%\\AppData",
".git",
"node_modules",
"*.tmp",
"*.log",
"!important.log",
"$RECYCLE.BIN"
],
"CrawlingInterval": 86400, // [sec] full-crawl cycle: time from the start of one crawl to the start of the next
"CrawlingIdleTimer": 60, // [sec] user idle time required before crawling runs
// UI language ("ja", "en", ...). Empty = follow the OS language.
"Language": "",
// Retention policy (automatic cleanup of old backups).
// The latest generation of each file is always kept.
// MaxGenerations is applied immediately when a new backup is saved;
// the periodic scan handles RetentionDays and files that no longer change.
"MaxGenerations": 0, // max backup generations per file. 0 = unlimited
"RetentionDays": 0, // delete backups older than N days. 0 = unlimited
"RetentionScanInterval": 86400, // [sec] interval of the retention policy scan
"RetentionStartupDelay": 300, // [sec] delay after startup before the first retention scan
// Advanced tuning (rarely needed).
"MaxLowPrioritySchedules": 100, // max queued crawler (low-priority) backups
"MaxCopyWorkers": 10 // max concurrent backup copies
},
"Logging": {
"LogLevel": {
"Default": "Information",
"System": "Information",
"Microsoft": "Error"
},
"Debug": {
"LogLevel": {
"Default": "Information"
}
},
"File": {
"Path": "D:\\FileHistoryClone\\Log\\app.log",
"Append": "True",
"MinLevel": "Information", // min level for the file logger
"FileSizeLimitBytes": 10000000, // use to activate rolling file behaviour
"MaxRollingFiles": 10 // use to specify max number of log files
}
}
}