[Csync2] [gaio at sv.lnf.it: First use and first question...]

Marco Gaiarin gaio at sv.lnf.it
Wed Sep 2 10:01:30 CEST 2009


I've sent some days ago... no answer... too many questions? ;-)

----- Forwarded message from Marco Gaiarin <gaio at sv.lnf.it> -----
From: Marco Gaiarin <gaio at sv.lnf.it>
Date: Wed, 26 Aug 2009 18:44:14 +0200
To: csync2 at lists.linbit.com
Subject: [Csync2] First use and first question...
Organization: La Nostra Famiglia - Polo FVG
X-Spam-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,GREYLIST_ISWHITE,
	SARE_SPEC_REPLICA_OBFU autolearn=no version=3.2.3


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
feature.

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?


many thanks.

-- 
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!
	   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
_______________________________________________
Csync2 mailing list
Csync2 at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/csync2

----- End forwarded message -----

-- 
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!
	   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)


More information about the Csync2 mailing list