mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-24 17:35:01 +01:00
28 lines
608 B
YAML
28 lines
608 B
YAML
|
jobs:
|
||
|
- name: prod_to_backups
|
||
|
type: push
|
||
|
connect:
|
||
|
type: tls
|
||
|
address: "backups.example.com:8888"
|
||
|
ca: /etc/zrepl/backups.crt
|
||
|
cert: /etc/zrepl/prod.crt
|
||
|
key: /etc/zrepl/prod.key
|
||
|
server_cn: "backups"
|
||
|
filesystems: {
|
||
|
"zroot/var/db": true,
|
||
|
"zroot/usr/home<": true,
|
||
|
"zroot/usr/home/paranoid": false
|
||
|
}
|
||
|
snapshotting:
|
||
|
type: periodic
|
||
|
prefix: zrepl_
|
||
|
interval: 10m
|
||
|
pruning:
|
||
|
keep_sender:
|
||
|
- type: not_replicated
|
||
|
- type: last_n
|
||
|
count: 10
|
||
|
keep_receiver:
|
||
|
- type: grid
|
||
|
grid: 1x1h(keep=all) | 24x1h | 30x1d | 6x30d
|
||
|
regex: "^zrepl_"
|