zrepl/internal/config/samples/pull_ssh.yml

29 lines
643 B
YAML
Raw Normal View History

2018-08-26 23:46:59 +02:00
jobs:
- name: pull_servers
type: pull
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=yes"
root_fs: "pool2/backup_servers"
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:
- type: regex
regex: keep_
2018-08-26 23:46:59 +02:00
- type: grid
grid: 1x1h(keep=all) | 24x1h | 35x1d | 6x30d
regex: "^zrepl_.*"