hi,

i have two servers configured to replicate some dirs.

this is csync2.cfg:

# please see the REAMDE file how to configure csync2
nossl * *;


group sitenotok
{
        host (w3.sync);
        host adm;
        key /etc/csync2/proc.key;
        include /var/www2/login.pg;
        include /var/www2/system.pg;
}

group siteok
{
        host (w1.sync);
        host (w2.sync);
        host adm;
        key /etc/csync2/proc.key;
        include /var/www/login.pg;
        include /var/www/system.pg;
}


the siteok is working fine,

the problem is the sitenotok group, when i create a file in one of the
directories, and then run the syncronization script, it replicates the file
to w3.sync. but then i delete that file and run again the syncronization
script, and nothing happens...

my sincronization script is like this:

#!/bin/sh
# sitio viejo: w1 y w2 en /var/www
/usr/sbin/csync2 -xv -N adm -G siteok

# sitio nuevo: w3 y w4 en /var/www2
/usr/sbin/csync2 -xv -N adm -G sitenotok


thanks in advance



-- 
Roberto Scattini
_______________________________________________
Csync2 mailing list
Csync2@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/csync2

Reply via email to