[scponly] rsync --only-write-batch with scponly

demo at itmanagement.net demo at itmanagement.net
Wed Jul 18 14:17:20 EDT 2007


Hi!

I've a strange problem when i run rsync in batch mode, but only with the
option --only-write-batch. It does not fail when I run with option
--write-batch.

Unfortunately I have to push backups from a couple of Windowsmachines and
I would like to create batchfiles and not apply them on the destination
tree before I've transferred them to the destination server. To be able to
do this I use cygwin with rsync and run the scripts from that environment.
In this situation I would be very, very happy if I could use scponly in a
chrooted environment on my backupserver.

Output from authlog:


Jul 18 17:35:32 secretserver scponly[15638]: option --only-write-batch=X
is not permitted for use with /usr/bin/scp (username: username(1021),
IP/port: 172.17.17.3 1044 53463)
Jul 18 17:35:32 secretserver scponly[15638]: requested command
(/usr/bin/rsync --server -vlogDtpr --delete --only-write-batch=X srcdir
destdir) tried to use disallowed argument (username: username(1021),
IP/port: 172.17.17.3 1044 53463))

I've seen a couple of bugreports with rsync and --partial and it seems to
me that my problem belongs to the same category as those. One example is
here:

https://lists.ccs.neu.edu/pipermail/scponly/2006-May/001365.html

/Ramses





More information about the scponly mailing list