config for pull and source

This commit is contained in:
Anton Schirg
2018-08-26 23:11:50 +02:00
parent e2bf557d17
commit 48a08e4f4d
6 changed files with 161 additions and 21 deletions
+39
View File
@@ -0,0 +1,39 @@
jobs:
- name: pull_servers
type: pull
replication:
connect:
type: tls
address: "server1.foo.bar:8888"
ca: /certs/ca.crt
cert: /certs/cert.crt
key: /certs/key.pem
root_dataset: "pool2/backup_servers"
pruning:
keep_sender:
- type: not_replicated
- type: last_n
count: 10
- type: grid
grid: 1x1h(keep=all) | 24x1h | 14x1d
keep_bookmarks: all
keep_receiver:
- type: grid
grid: 1x1h(keep=all) | 24x1h | 35x1d | 6x30d
keep_bookmarks: all
global:
logging:
- type: "stdout"
time: true
level: "warn"
format: "human"
monitoring:
- type: "prometheus"
listen: ":9091"
control:
sockpath: /var/run/zrepl/control
serve:
stdinserver:
sockdir: /var/run/zrepl/stdinserver