mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-23 17:04:05 +01:00
21 lines
525 B
YAML
21 lines
525 B
YAML
jobs:
|
|
- name: fullbackup_prod1
|
|
|
|
# expect remote to connect via ssh+stdinserver with fullbackup_prod1 as client_identity
|
|
type: push-sink
|
|
serve:
|
|
type: stdinserver
|
|
client_identity: fullbackup_prod1
|
|
|
|
# map all pushed datasets to storage/backups/zrepl/sink/prod1.example.com
|
|
mapping: {
|
|
"<":"storage/backups/zrepl/sink/prod1.example.com"
|
|
}
|
|
|
|
# follow a grandfathering scheme for filesystems on the right-hand-side of the mapping
|
|
prune:
|
|
policy: grid
|
|
grid: 1x1h(keep=all) | 24x1h | 35x1d | 6x30d
|
|
|
|
|