zrepl/config/samples/pull.yml

24 lines
543 B
YAML
Raw Normal View History

2018-08-26 23:11:50 +02:00
jobs:
- name: pull_servers
type: pull
connect:
type: tls
address: "server1.foo.bar:8888"
ca: "/certs/ca.crt"
cert: "/certs/cert.crt"
key: "/certs/key.pem"
server_cn: "server1"
root_dataset: "pool2/backup_servers"
interval: 10m
2018-08-26 23:11:50 +02:00
pruning:
keep_sender:
- type: not_replicated
- type: last_n
count: 10
- type: grid
grid: 1x1h(keep=all) | 24x1h | 14x1d
2018-09-24 17:30:03 +02:00
regex: "zrepl_.*"
2018-08-26 23:11:50 +02:00
keep_receiver:
- type: grid
grid: 1x1h(keep=all) | 24x1h | 35x1d | 6x30d
2018-09-24 17:30:03 +02:00
regex: "zrepl_.*"