[Csync2] First use and first question...
gaio at sv.lnf.it
Wed Aug 26 18:44:14 CEST 2009
I've just arriver to csync2 after some search and after using by some
years unison as a syncronization tools.
I'm using it merely to syncronize file repository between LANs, in a
windows environment (samba servers).
Unison is an imparable tools for personal use, but lacks some things
and the unison output are imparsable if you have to automatically
resolve conflicts or at least track them.
Csync2 behave better, and the 'multiple host' replica is a very nice
I've some question, and a problem.
1) caming from unison i was a bit confused by the fact that the
'configuration file' have to be present on every 'server'.
As a firts start i've put the config file itself on a 'include'
statement in the main (and also unique) group, so if i modify the
config file on the 'master', they are replicated on other servers.
My first example have a master host and some slave (host), and i think
that this does not pose problem at all, but in general multimaster
evironment i ask if it is better to add a group in master/slave mode
that contain only the configuration file.
2) at the fist run my impression was that csync2 transfer *all* the
files even if exist on both end, and are the same (minus owner,
permissione, timestamp, ...).
This is true?
3) I've started my example with a master and a slave (-xr), and then added
two more slaves... (another -xr) discovering that no files was
syncronized, because on master no files was effectively changed.
I'm a bit confused on -x, -c, -I, -T options... someone can explain me,
or point me to some documentation?
The problem, that unison does not solve but even csync2 not: ACLs.
Some of my shares have ACLs (POSIX ones, with extended attributes
handled by samba), and i need to migrate them.
Apart asking to add in csync2 ACL and ATTR suport, i was thinking about
adding an action script that simply run an getfacl on remote side and a
setfacl --set-file=- on local side.
Someone have done some sort of hacks like this?
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.sv.lnf.it/
Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797
Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
More information about the Csync2