2018-08-26 23:46:59 +02:00
|
|
|
jobs:
|
|
|
|
|
|
|
|
- name: pull_servers
|
|
|
|
type: pull
|
2018-09-04 23:44:45 +02:00
|
|
|
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"
|
2018-10-11 18:00:23 +02:00
|
|
|
root_fs: "pool2/backup_servers"
|
2018-09-04 23:44:45 +02:00
|
|
|
interval: 10m
|
2018-08-26 23:46:59 +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:46:59 +02:00
|
|
|
keep_receiver:
|
2018-10-11 13:07:52 +02:00
|
|
|
- type: regex
|
|
|
|
regex: keep_
|
2018-08-26 23:46:59 +02:00
|
|
|
- type: grid
|
|
|
|
grid: 1x1h(keep=all) | 24x1h | 35x1d | 6x30d
|
2018-10-11 13:07:52 +02:00
|
|
|
regex: "^zrepl_.*"
|