- Tree functions execute piped commands (grep, awk) on master when launched on remote slave which can cause more bandwith usage
- Tree functions execute piped commands (grep, awk) on local system when launched on remote slave which can cause more bandwith usage
- SysV init script for RHEL / CentOS
FAR FUTURE IMPROVEMENTS
FAR FUTURE IMPROVEMENTS
-----------------------
-----------------------
- Rethink of .osync_workdir/state/* files with PIDs, Host and Task Names to better identify multiple instances on the same fileset
- MultiMaster support
- Improve Master / Slave schema to Multimaster schema
- Rethink of .osync_workdir/state/* files with PIDs, Host and Task Names to better identify multiple instances on the same fileset
- State files should exist per replica for Multimaster schema
- Improve Master / Slave schema to Multimaster schema
- State files should exist per replica for Multimaster schema
KNOWN ISSUES
KNOWN ISSUES
------------
------------
- None yet, need more testing on MSYS environment and MacOS X
- Still need more testing on BSD, MacOSX and Windows MSYS
RECENT CHANGES
RECENT CHANGES
--------------
--------------
- Fixed some typos (thanks to Pavel Kiryukhin)
- Added a simple RHEL / CentOS compatible init script
- Fixed a bug with double trailing slashes in certain sceanrios
- Fixed a bug with double trailing slashes in certain sceanrios
- Sync execution don't fails anymore if files vanish during execution, also vanished files get logged
- Sync execution don't fails anymore if files vanish during execution, also vanished files get logged
- Add eventual "comm -23" replacement by "grep -F -x -v -f" to enhance compatibility with other platforms (comm is still much faster than grep, so we keep it)
- Add eventual "comm -23" replacement by "grep -F -x -v -f" to enhance compatibility with other platforms (comm is still much faster than grep, so we keep it)
## If slave replica is a remote directory, you must specifiy a RSA key. Please see documentation for further information.
SSH_RSA_PRIVATE_KEY="~/.ssh/id_rsa"
## Create sync directories if they do not exist
## Create sync directories if they do not exist
CREATE_DIRS=no
CREATE_DIRS=no
@ -38,13 +41,6 @@ RSYNC_EXECUTABLE=rsync
## ---------- REMOTE SYNC OPTIONS
## ---------- REMOTE SYNC OPTIONS
## The following options allow Osync to sync a slave replica on a remote system via an SSH tunnel.
## Needs public RSA key need to be put into ~/.ssh/authorized_keys in remote users home directory. See documentation for remote sync.
REMOTE_SYNC=no
SSH_RSA_PRIVATE_KEY=~/.ssh/id_rsa
REMOTE_USER=syncuser
REMOTE_HOST=your-remote-host.tld
REMOTE_PORT=22
## ssh compression should be used unless your remote connection is good enough (LAN)
## ssh compression should be used unless your remote connection is good enough (LAN)
SSH_COMPRESSION=yes
SSH_COMPRESSION=yes
@ -54,10 +50,10 @@ REMOTE_HOST_PING=no
## Check for internet access by pinging one or more 3rd party hosts before remote sync task. Leave empty if you don't want this check to be be performed. Failing to ping will stop sync.
## Check for internet access by pinging one or more 3rd party hosts before remote sync task. Leave empty if you don't want this check to be be performed. Failing to ping will stop sync.
## If you use this function, you should set more than one 3rd party host, and be sure you can ping them.
## If you use this function, you should set more than one 3rd party host, and be sure you can ping them.
## Be aware some DNS like opendns redirect false hostnames. Also, this adds an extra execution time of a bit less than a minute.
## Be aware some DNS like opendns redirect false hostnames. Also, this adds an extra execution time of a bit less than a minute.