mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-30 04:15:30 +01:00
3e647c14c0
While filesystems is also not the right term (since it excludes ZVOLs), we want to stay consistent with comments & terminology used in docs. BREAK CONFIG fixes #17
34 lines
955 B
YAML
34 lines
955 B
YAML
global:
|
|
serve:
|
|
stdinserver:
|
|
sockdir: /var/run/zrepl/stdinserver
|
|
|
|
jobs:
|
|
|
|
- name: debian2_pull
|
|
# JOB DEBUGGING OPTIONS
|
|
# should be equal for all job types, but each job implements the debugging itself
|
|
# => consult job documentation for supported options
|
|
debug:
|
|
conn: # debug the io.ReadWriteCloser connection
|
|
read_dump: /tmp/connlog_read # dump results of Read() invocations to this file
|
|
write_dump: /tmp/connlog_write # dump results of Write() invocations to this file
|
|
rpc: # debug the RPC protocol implementation
|
|
log: true # log output from rpc layer to the job log
|
|
|
|
# ... just to make the unit tests pass.
|
|
# check other examples, e.g. localbackup or pullbackup for what the sutff below means
|
|
type: source
|
|
serve:
|
|
type: stdinserver
|
|
client_identity: debian2
|
|
filesystems: {
|
|
"pool1/db<": ok
|
|
}
|
|
snapshot_prefix: zrepl_
|
|
interval: 1s
|
|
prune:
|
|
policy: grid
|
|
grid: 1x10s(keep=all)
|
|
|