mirror of
https://github.com/zrepl/zrepl.git
synced 2024-12-22 15:11:16 +01:00
4e16952ad9
1. Change config format to support multiple types of snapshotting modes. 2. Implement a hacky way to support periodic or completely manual snaphots. In manual mode, the user has to trigger replication using the wakeup mechanism after they took snapshots using their own tooling. As indicated by the comment, a more general solution would be desirable, but we want to get the release out and 'manual' mode is a feature that some people requested...
18 lines
276 B
YAML
18 lines
276 B
YAML
jobs:
|
|
- name: pull_source
|
|
type: source
|
|
serve:
|
|
type: tcp
|
|
listen: "0.0.0.0:8888"
|
|
clients: {
|
|
"192.168.122.123" : "client1"
|
|
}
|
|
filesystems: {
|
|
"<": true,
|
|
"secret": false
|
|
}
|
|
snapshotting:
|
|
type: periodic
|
|
interval: 10m
|
|
prefix: zrepl_
|