User:Daemon/Sandbox/csync2


 * transfer key to other hosts.

emerge config -xd -M (list) -fr (force) -P peer

Article description::facilitates bidirectional folder synchronization amongst multiple computers.

Things to note

 * All nodes (of a group) share a common key, for example . This means it has to be copied to each node. The key can be created with the following command: csync2 -k /etc/csync2/csync2.key_mygroup.


 * The shared folder paths need to be identical for all nodes (of a group). The configuration file need not be identical.


 * Although the  parameter requires the actual hostname (or ip ) to be used, it seems to work according to the  file. The command csync2 -Tvv |& head shows what  sees as hostname.

OpenRC
To enable the service to run at system boot:

To start the daemon now:

Synchronize

 * To single peer
 * Dry run with.
 * Dry run with.


 * To all


 * Force local changes to override conflicting remote files
 * is for recursive.