User:Daemon/Sandbox/csync2

Article description::is a tool for asynchronous file synchronization in clusters.

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 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 following command shows what sees as hostname:

OpenRC
To enable the service to run at system boot:

To start the daemon now:

Sample parameters
-x [-d] [[-r] file..]  Run checks for all given files and update                                remote hosts.        -d      Dry-run on all remote update operations        -P peer1,peer1,...                Only update these peers (still mark all as dirty).                Only show files for these peers in -o (compare) mode.        -f [-r] file..          Force files to win next conflict resolution.        -r      Recursive operation over subdirectories.        -M      List all dirty files from status db.

Invocation

 * Update all with this one:
 * Dry-run an update towards hostname3 :
 * Increased verbosity:
 * Force local files onto others:
 * Increased verbosity:
 * Force local files onto others:
 * Force local files onto others:

External resources

 * Quickstart guide
 * Documentation.

_Category:Software