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

Kaleb Pederson kibab at icehouse.net
Wed Jul 18 20:47:52 EDT 2007


Hi Ramses,

BTW, this has been fixed in CVS for a little while now.  It now has proper 
getopt_long processing support.

If you could, please try it out and let us know.

Thanks.

--Kaleb

On Wednesday 18 July 2007, demo at itmanagement.net wrote:
> I did come upp with a quick-fix just to get it running I did first patch
> the 4.6 source tree with a patch from
> ftp://shammash.homelinux.org/debian/scponly/
>
>
> --- scponly-4.6_2.orig/helper.c 2007-07-18 23:06:30.000000000 +0200
> +++ scponly-4.6_2/helper.c  2007-07-18 23:07:09.000000000 +0200
> @@ -159,6 +159,7 @@
>             "--delete_after",
>             "--partial",
>             "--progress",
> +           "--only-write-batch=X",
>             NULL    /* last element must be NULL */
>         };
>
>
> /Ramses
>
> > 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
> >
> >
> >
> > _______________________________________________
> > scponly mailing list
> > scponly at lists.ccs.neu.edu
> > https://lists.ccs.neu.edu/bin/listinfo/scponly
>
> _______________________________________________
> scponly mailing list
> scponly at lists.ccs.neu.edu
> https://lists.ccs.neu.edu/bin/listinfo/scponly


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : https://lists.ccs.neu.edu/pipermail/scponly/attachments/20070718/a3ee6a5c/attachment.bin 


More information about the scponly mailing list