mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-23 00:43:51 +01:00
754b253043
It's closer to the original config and we don't want users to specify 'filesystems' and similar multiple times in a single job definition.
36 lines
654 B
YAML
36 lines
654 B
YAML
jobs:
|
|
- name: pull_source
|
|
type: source
|
|
serve:
|
|
type: stdinserver
|
|
client_identity: "client1"
|
|
filesystems: {
|
|
"<": true,
|
|
"secret": false
|
|
}
|
|
snapshotting:
|
|
snapshot_prefix: zrepl_
|
|
interval: 10m
|
|
pruning:
|
|
keep:
|
|
- type: not_replicated
|
|
- type: last_n
|
|
count: 10
|
|
- type: grid
|
|
grid: 1x1h(keep=all) | 24x1h | 14x1d
|
|
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 |