-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathconfig.json.example
30 lines (29 loc) · 1.19 KB
/
config.json.example
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
{
"baseurl": "https://your.pbs.installation.net:8007",
"certfingerprint": "XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX",
"authid": "MY-SECRET-AUTH-ID",
"secret": "secret-uuid",
"datastore": "myDatastore",
"backupdir": "C:",
"namespace": "",
"backup-id": "",
"pxarout": "",
"smtp": {
"host": "smtp.example.com",
"port": "465",
"username": "[email protected]",
"password": "my-password",
"insecure": false,
"template": {
"subject": "{{if not .Success}}[FAILED]{{else}}[SUCCESS]{{end}} Backup report for {{.Datastore}}",
"body": "Backup {{if .Success}}completed{{else}}ended with errors{{end}} on host {{.Hostname}} (took {{.FromattedDuration}})\n{{if .Success}}Chunks New {{.NewChunks}}, Reused {{.ReusedChunks}}.{{else}}Error occurred while working, backup may be not completed.\nLast error is: {{.ErrorStr}}{{end}}"
},
"mails": [{
"from": "[email protected]",
"to": "[email protected]
}, {
"from": "[email protected]",
"to": "[email protected]
}]
}
}