[Csync2] Re: csync2 question
Giedrius Augys
voipas at gmail.com
Wed Jan 28 08:51:29 CET 2009
2009/1/28 Giedrius Augys <voipas at gmail.com>
> Hello,
>
> I'm newbie with csync2. So I want to ask, is it possible to that:
> 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:
>
> node1 -> node2
> /opt/etc/httpd -> /etc/httpd
> /opt/var/lib/mysql -> /var/lib/mysql
>
> And..
> node1 -> node3
> /opt/etc/httpd -> /etc/httpd
> /opt/var/lib/mysql -> /var/lib/mysql
>
> Of course I can do this, creating in node2 and node3 symbolic links:
> /etc/httpd -> /opt/etc/httpd
> /var/lib/mysql -> /opt/var/lib/mysql
>
> But maybe with csync2 I can do this without links??
> Thanks
> --
> Pagarbiai / Best Regards,
> Giedrius Augys
>
I've misssed Include/Exclude patterns with prefix declaration. So I found
solution :)
--
Pagarbiai / Best Regards,
Giedrius Augys
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linbit.com/pipermail/csync2/attachments/20090128/38d581b9/attachment.html
More information about the Csync2
mailing list