<br><br><div class="gmail_quote">2009/1/28 Giedrius Augys <span dir="ltr">&lt;<a href="mailto:voipas@gmail.com">voipas@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br><br>&nbsp; I&#39;m newbie with csync2. So I want to ask, is it possible to that:<br>I have three nodes: node1, node2, node3. node1 is master, others are slave. Now I want that files and directories would be synced like this:<br>

<br>node1 -&gt; node2<br>&nbsp;&nbsp;&nbsp; /opt/etc/httpd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&gt; /etc/httpd<br>&nbsp;&nbsp;&nbsp; /opt/var/lib/mysql -&gt; /var/lib/mysql<br><br>And..<br>node1 -&gt; node3<br>
&nbsp;&nbsp;&nbsp; /opt/etc/httpd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&gt; /etc/httpd<br>
&nbsp;&nbsp;&nbsp; /opt/var/lib/mysql -&gt; /var/lib/mysql<br><br>Of course I can do this, creating in node2 and node3 symbolic links:<br>&nbsp;&nbsp;&nbsp; /etc/httpd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&gt; /opt/etc/httpd<br clear="all">&nbsp;&nbsp;&nbsp; /var/lib/mysql&nbsp; -&gt;  /opt/var/lib/mysql <br>

<br>But maybe with csync2 I can do this without links?? <br>Thanks<br>-- <br>Pagarbiai &nbsp;/ Best Regards,<br><font color="#888888">Giedrius Augys<br>
</font></blockquote></div><br>I&#39;ve misssed Include/Exclude patterns with prefix declaration. So I found solution :)<br clear="all"><br>-- <br>Pagarbiai &nbsp;/ Best Regards,<br>Giedrius Augys<br>