-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig_example.yml
84 lines (84 loc) · 2.2 KB
/
config_example.yml
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
80
81
82
83
84
starter:
sshkey: id_rsa
log:
path: log
pidpath: pids
# disableOutput: 'true'
monitoring: 'true'
hosttemplate: 'backup-host'
srvtemplate: 'backup-service'
monserver: '192.168.42.41'
monport: '5665'
monapiuser: 'root'
monapipass: 'PASS'
hostgroup: 'adito'
servicegroup: 'adito'
backupserver:
backup2:
passphrase: PASSPHRASE-FOR-DUPLICITY
HOST: backup2.example.com
USER: admin2
PORT: '22'
prerun: '["echo prerun1", "echo prerun2", "echo prerun3"]'
prerun: '["echo prerun1"]'
postrun: '["echo postrun1","echo postrun2","echo postrun3"]'
postrun: '["sudo rsync -ae folder1 folder2"]'
backuppath: /backup
duplicityarchiv: /backup/duplicityarchiv
backuppartsize: 2048
tmpdir: /backup/backuptemp
backupfor: '["server1", "server2", "dockerhost1", "k8s-node"]'
#for borg backup
provider: borg
borgcache: /backup/borg
borgcompression: zlib
clientserver:
backup2:
HOST: backup2.example.com
USER: admin2
PORT: '22'
sftpServer:
sudo: true
path: /usr/lib/sftp-server
server1:
HOST: "freepbx.example.com"
USER: root
PORT: '22'
nextfullbackup: 1M
noffullbackup: 2
backup: /var/spool/asterisk/backup/taeglich
prerun: '["mv /var/spool/asterisk/backup/taeglich/*.tgz /var/spool/asterisk/backup/taeglich/backup.tgz"]'
postrun: '["rm -Rf /var/spool/asterisk/backup/taeglich/backup.tgz"]'
##duplicity
confprefixes: '["asynchronous-upload"]'
server2:
HOST: "windows.example.com"
SMB:
SET: "true"
PATH: "d$"
PASS: "w!elepop!n06"
DOMAIN: "example.com"
USER: "backupservice"
PORT: 22
backup: /cygdrive/d
include: '["usershare", "publicshare"]'
exclude: '["publicshare/Softwarepool", "**"]'
#duplicity
confprefixes: '["asynchronous-upload", "allow-source-mismatch"]'
dockerhost1:
HOST: dockerHostN010912m.example.local
USER: docker
PORT: 22
nextfullbackup: 1M
noffullbackup: 2
docker: 'true'
confprefixes: '["asynchronous-upload"]'
sftpServer:
sudo: true
path: /usr/lib/sftp-server
k8s-node:
HOST: k8s-node1.example.com
USER: root
PORT: 122
kube: true
namespaces: '["fortesting"]'