What is this?

csync is a file synchronizer especially designed for you, the normal user.

To be more precise csync is a client only bidirectional file synchronizer. You can use csync for different things. The intention is to provide Roaming Home Directories for Linux but you can use it to synchronize your music collection or create a backup of a directory.

csync is a library and ships commandline client by default.

News

Changes and new license

Klaas and I are working on new features and refactored some code in csync. We are working on getting a new release ready soon but it isn’t easy. As we change a lot of stuff we also need to write tests for this and make sure the new code design is robust and we don’t forget any corner cases. Writing a file synchronizer isn’t easy. If you have bigger mistakes you can loose your data which should never happen.

Here is a list of changes so far:

  • Added New logging system to get rid of the dead log4c library
  • Added Capabilities support for modules
  • Added Windows support
  • Addded iconv support for non-UTF8 filesystems
  • Added ownlcoud support
  • Changed from check to cmocka unit testing framework

TODO:

  • Add Better return codes and information for the user
  • Add possibility to pass more variables to modules
  • Add put()/get() method support to modules
  • Add an abort callback to stop the synchronization

After that the plan is to relicense the library from GPL to LGPL.

flattr this!

Next version of csync

We are still working on getting a new version of csync out with a lot of new features, improvements and bugfixes. Currently we are porting back patches from ownCloud to have a clean codebase. Stay tuned!

flattr this!

csync 0.44.0 STABLE

Version 0.43.0 of csync with enhanced SFTP support is ready for download! csync is a bidirectional file synchronizer for Linux and allows to keep two copies of files and directories in sync. It uses widely adopted protocols like smb or sftp so that there is no need for a server component of csync. It is a user-level program which means there is no need to be a superuser. With pam_csync it is possible to provide roaming home directories in Linux and Active Directory environments.

The userguide is a good place to start with csync.

Packages are available in the download section. Please report bugs to the bugtracker.

ChangeLog

  • Migrated sftp module to libssh 0.4.
  • Added more cache entries to the default config.
  • Added missing requirements.
  • Fixed build warnings.
  • Fixed some memory leaks using sftp attributes.
  • Some code cleanups.

flattr this!

pam_csync 0.42.0 STABLE

This is the stable release of pam_csync 0.42.0. pam_csync is a PAM (Pluggable
Authentication Modules) module to provide roaming home directories for a
user session. This module is aimed at environments with central file servers a
user wishes to store his home directory. The Authentication Module verifies the
identity of a user and triggers a synchronization with the server on the first
login and the last logout.

You can find packages here.

ChangeLog

  • Added support to sync with the Windows Home Directory

flattr this!

csync 0.43.0 STABLE

Version 0.43.0 of csync with SFTP support is ready for download! csync is a bidirectional file synchronizer for Linux and allows to keep two copies of files and directories in sync. It uses widely adopted protocols like smb or sftp so that there is no need for a server component of csync. It is a user-level program which means there is no need to be a superuser. With pam_csync it is possible to provide roaming home directories in Linux and Active Directory environments.

The userguide is a good place to start with csync.

Packages are available in the download section. Please report bugs to the bugtracker.

ChangeLog

  • Added SFTP support with libssh 0.3.
  • Added possibility to pass userdata to the auth function.
  • Added a better version function.
  • Fixed CMake build.
  • Fixed CMake find modules.
  • Documented all public functions.

flattr this!

Slides of SambaXP 2009

As some people already asked you can find the slides of my talk at SambaXP 2009 here.

flattr this!

csync 0.42.0 STABLE

This is it, the first stable release of csync! csync is a bidirectional file synchronizer for Linux and allows to keep two copies of files and directories in sync. It uses widely adopted protocols like smb or sftp so that there is no need for a server component of csync. It is a user-level program which means there is no need to be a superuser. With pam_csync it is possible to provide roaming home directories in Linux and Active Directory environments.

The userguide is a good place to start with csync.

Packages are available in the download section. Please report bugs to the bugtracker.

NOTE: If you want to use csync with sftp. Compile the latest libssh version from svn and apply this patch to the csync source.

flattr this!

csync for Maemo

Thanks to Jan-Simon Möller, csync is available for the Meamo plattform to. You find all information at:

http://www.csync.org/maemo/

flattr this!

csync 0.42.0 rc3

This is the third and hopefully the last release candidate of csync 0.42.0.
csync is a bidirectional file synchronizer for Linux and allows to keep two
copies of files and directories in sync. It uses uses widly adopted protocols
like smb or sftp so that there is no need for a server component of csync. It
is a user-level program which means there is no need to be a superuser. With
pam_csync it is possible to create roaming home directories.

The userguide is a good place to start with csync.

Packages are available in the download section. Please report bugs to the bugtracker.

ChangeLog

  • Added checks for unix extensions.
  • Added more documentation to the userguide.
  • Fixed loading of plugins.
  • Fixed call for deletion functions.
  • Normalize the path to <hostname>/<path> for the statedb filename.
  • More change name of client options to be more descriptive.

The change to normalize path for the statedb filename means that it do a full sync. It could happen that deleted files will reappear.

NOTE: sftp is still really slow. This will be fixed with the next libssh version and I will release a new csync version which works with libssh 0.2.1.

flattr this!

csync 0.42.0 rc2

This is the second and hopefully the last release candidate of csync 0.42.0.
csync is a bidirectional file synchronizer for Linux and allows to keep two
copies of files and directories in sync. It uses uses widly adopted protocols
like smb or sftp so that there is no need for a server component of csync. It
is a user-level program which means there is no need to be a superuser. With
pam_csync it is possible to create roaming home directories.

The first release candidate hasn’t been released to the public cause of a bug
in the state database. This has been fixed now. The userguide is available too.

Packages are available in the download section. Please report bugs to the bugtracker.

ChangeLog

  • Reduced syscalls
  • Fixed a bug in the state database
  • Fixed libsmbclient support
  • Completed userguide

NOTE: sftp is still really slow. This will be fixed with the next libssh version and I will release a new csync version which works with libssh 0.2.1.

flattr this!