zrepl/config/samples/push.yml

41 lines
878 B
YAML
Raw Normal View History

2018-08-26 16:44:34 +02:00
jobs:
- type: push
2018-08-26 23:11:50 +02:00
name: "push"
2018-08-26 16:44:34 +02:00
replication:
connect:
type: tcp
address: "backup-server.foo.bar:8888"
filesystems: {
"<": true,
"tmp": false
}
snapshotting:
snapshot_prefix: zrepl_
interval: 10m
pruning:
2018-08-26 23:11:50 +02:00
keep_sender:
2018-08-26 16:44:34 +02:00
- type: not_replicated
- type: last_n
count: 10
- type: grid
grid: 1x1h(keep=all) | 24x1h | 14x1d
keep_bookmarks: all
2018-08-26 15:17:15 +02:00
2018-08-26 23:11:50 +02:00
keep_receiver:
2018-08-26 16:44:34 +02:00
- type: grid
grid: 1x1h(keep=all) | 24x1h | 35x1d | 6x30d
keep_bookmarks: all
2018-08-26 15:17:15 +02:00
global:
logging:
2018-08-26 16:44:34 +02:00
- type: "stdout"
time: true
2018-08-26 15:17:15 +02:00
level: "warn"
format: "human"
2018-08-26 20:25:06 +02:00
monitoring:
- type: "prometheus"
2018-08-26 23:11:50 +02:00
listen: ":9091"
control:
sockpath: /var/run/zrepl/control
serve:
stdinserver:
sockdir: /var/run/zrepl/stdinserver