mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-10 04:42:31 +01:00
rdiff: incorporate sshoptions into options via remote-schema if not there
This commit is contained in:
parent
c0140aea97
commit
18f6031a72
@ -4,6 +4,8 @@ version 0.9.6 -- unreleased
|
||||
handler changes
|
||||
rdiff:
|
||||
. Fixed ignore_version default value missing
|
||||
. Add patch from Matthew Palmer to rdiff handler to incorporate sshoptions
|
||||
into options via remote-schema not already specified (Closes: #424639)
|
||||
wget:
|
||||
. New handler from rhatto designed to incrementally pull content from
|
||||
a website to a local folder, based on the rsync handler
|
||||
|
@ -101,6 +101,10 @@ getconf host; desthost=$host
|
||||
getconf sshoptions
|
||||
check_consistency "destination" "$type" "$user" "$host"
|
||||
|
||||
if [ -n "$sshoptions" ] && echo $options | grep -qv "remote-schema"; then
|
||||
options="$options --remote-schema 'ssh -C $sshoptions %s rdiff-backup --server'"
|
||||
fi
|
||||
|
||||
### CHECK CONFIG ###
|
||||
|
||||
# If vservers are configured, check that the ones listed in $vsnames do exist.
|
||||
|
Loading…
Reference in New Issue
Block a user