-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjob-config.json
More file actions
43 lines (43 loc) · 917 Bytes
/
job-config.json
File metadata and controls
43 lines (43 loc) · 917 Bytes
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
{
"name": "backup",
"log": "/path/to/log_folder",
"compression": false,
"command": [
"rsync",
"-avvHAX",
"--delete",
"--delete-after",
"--password-file=/path/to/.rsync_pass",
"--info=progress2",
"--prune-empty-dirs",
"--exclude-from=/path/to/exclude-file",
"--numeric-ids",
"SRC",
"rsync://user@remote-host:873/DST"
],
"notification": [
{
"id": 1,
"type": "email",
"from": "user.email@domain",
"to": [
"receiver1.email@domain"
],
"password": "user-password",
"server": "stmp-server.domain",
"port": 587,
"ssl": true
},
{
"id": 2,
"type" : "webhook",
"webhook_type": "discord",
"name": "discord-on-failure",
"url": "https://endpoint/api/webhook",
"events": [ "failure" ],
"timeout": 12.3,
"headers": null,
"max_retries": 2
}
]
}