In Rsyncd not work options exclude, exlcude from and charset

Vladislav V. Prodan universite at ukr.net
Mon Aug 9 16:19:19 MDT 2010


Daemon was started and tested on two different OS.

FreeBSD 9.0-CURRENT:

# 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, 32-bit inums, 64-bit timestamps, 64-bit long ints,
    socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
    append, ACLs, xattrs, iconv, symtimes, file-flags

rsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
are welcome to redistribute it under certain conditions.  See the GNU
General Public Licence for details.

and Arch Linux:


# 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, symtimes

rsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
are welcome to redistribute it under certain conditions.  See the GNU
General Public Licence for details.



rsyncd.conf

...
CHARSET = utf-8
##CHARSET = KOI8-R

[archive]
...
#    exclude from = /usr/local/etc/rsync/archive.exclude
    exclude /backup/second-server/archive/Musor \
    /backup/second-server/archive/Musor/ \
    /backup/second-server/archive/Musor/*
...

P.S. In /usr/local/etc/rsync/archive.exclude I recorded three different
versions of the path.




More information about the rsync mailing list