zrepl/cmd/sampleconf/localbackup/host1.yml
2017-09-06 12:46:33 +02:00

37 lines
607 B
YAML

# mirror local pool to backup pool
local:
global:
snapshot_prefix: zrepl_
schedule:
type: auto # infer schedule from autosnap step
steps:
- type: autosnap
interval: 10m
dataset_filter: {
"zroot<": ok
}
- type: pull
mapping: {
"zroot<":"backups/local/zroot"
}
- type: prune
policy: grid
grid: 1x1h(keep=all)
dataset_filter: {
"zroot<": ok
}
- type: prune
policy: grid
grid: 1x1h(keep=all) | 24x1h | 35x1d | 6x30d
dataset_filter: {
"backups/local/zroot<": ok
}