mirror of https://github.com/digint/btrbk
btrbk: transaction_log and transaction_syslog are only allowed in root context
parent
d941ecfce9
commit
909c68f164
4
btrbk
4
btrbk
|
@ -94,8 +94,8 @@ my %config_options = (
|
||||||
ssh_cipher_spec => { default => "default", accept_regexp => qr/^$ssh_cipher_match(,$ssh_cipher_match)*$/ },
|
ssh_cipher_spec => { default => "default", accept_regexp => qr/^$ssh_cipher_match(,$ssh_cipher_match)*$/ },
|
||||||
rate_limit => { default => undef, accept => [ "no" ], accept_regexp => qr/^[0-9]+[kmgtKMGT]?$/, require_bin => 'pv' },
|
rate_limit => { default => undef, accept => [ "no" ], accept_regexp => qr/^[0-9]+[kmgtKMGT]?$/, require_bin => 'pv' },
|
||||||
stream_buffer => { default => undef, accept => [ "no" ], accept_regexp => qr/^[0-9]+[kmgKMG%]?$/ }, # NOTE: requires 'mbuffer' command on target
|
stream_buffer => { default => undef, accept => [ "no" ], accept_regexp => qr/^[0-9]+[kmgKMG%]?$/ }, # NOTE: requires 'mbuffer' command on target
|
||||||
transaction_log => { default => undef, accept => [ "no" ], accept_file => { absolute => 1 } },
|
transaction_log => { default => undef, accept => [ "no" ], accept_file => { absolute => 1 }, context => [ "root" ] },
|
||||||
transaction_syslog => { default => undef, accept => [ "no", @syslog_facilities ] },
|
transaction_syslog => { default => undef, accept => [ "no", @syslog_facilities ], context => [ "root" ] },
|
||||||
lockfile => { default => undef, accept => [ "no" ], accept_file => { absolute => 1 }, context => [ "root" ] },
|
lockfile => { default => undef, accept => [ "no" ], accept_file => { absolute => 1 }, context => [ "root" ] },
|
||||||
|
|
||||||
stream_compress => { default => undef, accept => [ "no", (keys %compression) ] },
|
stream_compress => { default => undef, accept => [ "no", (keys %compression) ] },
|
||||||
|
|
Loading…
Reference in New Issue