-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json.example
More file actions
70 lines (70 loc) · 1.96 KB
/
config.json.example
File metadata and controls
70 lines (70 loc) · 1.96 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
{
"sync": {
"remote_servers": [
{
"host": "myserver1",
"user": "user1",
"paths": ["/remote/path1", "/remote/path2"],
"exclude_paths": ["/remote/path1/exclude_folder", "/remote/path2/exclude_file"],
"ssh_private_key": "/app/ssh/id_rsa_myserver1",
"backup_name": "server1_backup",
"backup_name_format": "date_time",
"preserve_paths": false,
"schedule": {
"interval_hours": 0,
"interval_minutes": 30
}
},
{
"host": "myserver2",
"user": "user2",
"paths": ["/remote/path3"],
"exclude_paths": ["/remote/path3/exclude_folder"],
"ssh_private_key": "/app/ssh/id_rsa_myserver2",
"backup_name": "server2_backup",
"backup_name_format": "date",
"preserve_paths": false,
"schedule": {
"interval_hours": 1,
"interval_minutes": 0
}
},
{
"host": "myserver3",
"user": "user3",
"paths": ["/remote/path4", "/remote/path5"],
"exclude_paths": ["/remote/path5/exclude_file"],
"ssh_private_key": "/app/ssh/id_rsa_myserver3",
"backup_name": "server3_sync",
"backup_name_format": "static",
"preserve_paths": true,
"schedule": {
"interval_hours": 0,
"interval_minutes": 15
}
},
{
"host": "X.X.X.X",
"user": "root",
"paths": ["/opt/backup", "/root", "/etc/systemd"],
"exclude_paths": ["/root/exclude_this"],
"ssh_private_key": "/app/ssh/key1",
"backup_name": "backup1",
"backup_name_format": "static",
"preserve_paths": true,
"schedule": {
"interval_hours": 2,
"interval_minutes": 30
}
}
]
},
"settings": {
"sync_target": "/data/sync",
"ssh_port": 22,
"max_days": 7,
"debug_mode": true,
"ssh_connection_timeout": 10,
"rsync_max_retries": 3
}
}