will trillich
2011-Mar-11 14:44 UTC
rsync: on remote machine: --drop-cache: unknown option
We've been using RSYNC to back things up and it's sick nasty wicked awesome. Recently we migrated our receiving server to a different machine (Debian lenny) and now we're running into this DROP-CACHE: UNKNOWN OPTION error: sender-machine$ *rsync -Cvaz -e ssh --delete --exclude blah/ --exclude yadda/ . user at receiver:/path/for/drop* rsync: on remote machine: --drop-cache: unknown option rsync error: syntax or usage error (code 1) at main.c(1441) [server=3.0.3] rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(601) [sender=3.0.7] sender-machine$ *rsync --version* rsync version 3.0.7 protocol version 30 Copyright (C) 1996-2009 by Andrew Tridgell, Wayne Davison, and others. Web site: http://rsync.samba.org/ Capabilities: 64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints, socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace, append, ACLs, xattrs, iconv, no symtimes, A2 receiver-machine$ *rsync --version* rsync version 3.0.3 protocol version 30 Copyright (C) 1996-2008 by Andrew Tridgell, Wayne Davison, and others. Web site: http://rsync.samba.org/ Capabilities: 64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints, socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace, append, ACLs, xattrs, iconv, symtimes The manpage for 3.0.7 (sender) talks about --drop-cache, but for 3.0.3 (receiver) it does not. Is there a way to tell rsync to not use the 3.0.7-version-specific setting? Or, is there an /etc/apt/sources.list entry that would get us a more modern rsync? -- will trillich -- http://faq.serensoft.com/ "The truth is that many people set rules to keep from making decisions." -- Mike Krzyzewski -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20110311/1dbb09c0/attachment.html>
Wayne Davison
2011-Mar-11 15:07 UTC
rsync: on remote machine: --drop-cache: unknown option
On Fri, Mar 11, 2011 at 6:44 AM, will trillich <will at serensoft.com> wrote:> rsync: on remote machine: --drop-cache: unknown option >That is not an official rsync option, so check the patches that were applied. It shouldn't send the option to the other rsync without you using --drop-cache, so either the patch is bogus, or you have a script and/or popt macro that is turning it on. ..wayne.. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20110311/7d8a8c34/attachment.html>
Seemingly Similar Threads
- In Rsyncd not work options exclude, exlcude from and charset
- Extended attributes fail mactomac
- [Bug 11161] New: rare crash in hlink.c:536
- [Bug 10226] New: fatal_unsafe_io_error and the version it reports
- [Bug 12132] New: Error on attributes when directory read-only