WIP new config format

This commit is contained in:
Anton Schirg
2018-08-26 15:17:15 +02:00
parent 6425c26b1b
commit 38bb78b642
6 changed files with 305 additions and 1 deletions
+30
View File
@@ -0,0 +1,30 @@
type: push
replication:
connect:
type: tcp
address: "backup-server.foo.bar:8888"
filesystems: {
"<": true,
"tmp": false
}
snapshotting:
snapshot_prefix: zrepl_
interval: 10m
pruning:
keep_local:
- type: not_replicated
- type: last_n
count: 10
- type: grid
grid: 1x1h(keep=all) | 24x1h | 14x1d
keep_remote:
- type: grid
grid: 1x1h(keep=all) | 24x1h | 35x1d | 6x30d
global:
logging:
- outlet:
type: "stdout"
time: true
level: "warn"
format: "human"
+15
View File
@@ -0,0 +1,15 @@
type: sink
replication:
root_dataset: "pool2/backup_laptops"
serve:
type: tls
listen: "192.168.122.189:8888"
ca: "ca.pem"
cert: "cert.pem"
key: "key.pem"
global:
logging:
- outlet:
type: "syslog"
level: "warn"
format: "human"