-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsnapraid-script.psd1.example
More file actions
39 lines (34 loc) · 1.06 KB
/
Copy pathsnapraid-script.psd1.example
File metadata and controls
39 lines (34 loc) · 1.06 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
@{
Snapraid = @{
# path to snapraid executable
Executable = ".\\snapraid.exe"
Diff = @{
# if number of deleted files since last sync exceeds this value, abort the script
# set to 0 to disable
DeleteThreshold = 50
}
Scrub = @{
# "bad" - Scrub blocks marked bad
# "new" - Scrub just synced blocks not yet scrubbed
# "full" - Scrub everything
# 0-100 - Scrub the exact percentage of blocks
Plan = 2
# minimum age in days for a block to be scrubbed
OlderThan = 7
}
}
# email settings to use when sending notifications
Email = @{
SmtpServer = "smtp.example.com"
Port = 587
UseSsl = $True
From = "from@example.com"
To = "to@example.com"
}
Notification = @{
# if $True, sends notifications when script was successfully executed
OnSuccess = $False
# if $True, sends notifications when script failed
OnFailure = $False
}
}