mirror of
https://github.com/zrepl/zrepl.git
synced 2024-12-22 23:20:51 +01:00
c69ebd3806
cmd subdir does not build on purpose, it's only left in tree to grab old code and move it to github.com/zrepl/zrepl/daemon
44 lines
950 B
YAML
44 lines
950 B
YAML
jobs:
|
|
|
|
- name: pull_servers
|
|
type: pull
|
|
replication:
|
|
connect:
|
|
type: ssh+stdinserver
|
|
host: app-srv.example.com
|
|
user: root
|
|
port: 22
|
|
identity_file: /etc/zrepl/ssh/identity
|
|
options: # optional, default [], `-o` arguments passed to ssh
|
|
- "Compression=on"
|
|
root_dataset: "pool2/backup_servers"
|
|
interval: 10m
|
|
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: prefix
|
|
prefix: keep_
|
|
- 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 |