Hi i have this
RDSCHM="--remote-schema 'ssh -i /root/.ssh/id_backup -C %s
rdiff-backup --server'"
and trying this
rdiff-backup \
$RDSCHM \
$RDRM \
"$DEST/"
with sh -x i get this
+ rdiff-backup --remote-schema ''\''ssh' -i /root/.ssh/id_backup -C %s
rdiff-backup '--server'\''' --remove-older-than '"10B"' --force
max::/backups/test/system/
Fatal Error: Bad commandline options: option -i not recognized
See the rdiff-backup manual page for more information.
the ''\''ssh' is the confusing bit it is seperate out the ssh and the
-i.
what can I do to prevent this. My reading has lead me to IFS variable
but I don't want to start playing with this yet ! I think I am just
missing something. Hopefully the ml eyes will be able to see what i
can't
oh and its using dash well sh
thank
Alex
signature.asc
Description: Digital signature

