Updated documentation

This commit is contained in:
deajan 2014-11-25 00:38:03 +01:00
parent 0ff3c4ed42
commit 6462f87457
2 changed files with 9 additions and 6 deletions

View File

@ -20,14 +20,17 @@ KNOWN ISSUES
UNDER WORK UNDER WORK
---------- ----------
- Check for big files never being synced if max execution time is reached (--partial and --partial-dir ?)
- sync test automation - sync test automation
- See if find command could use -delete instead of exec rm (must check compat for BSD and MacOS) - See if find command could use -delete instead of exec rm (must check compat for BSD and MacOS)
- Partial download is still experimental and needs more testing. Also, need to test if .osync_workdir_partial directory is excluded from file propagations
RECENT CHANGES RECENT CHANGES
-------------- --------------
- Added a sequential run batch script
- Fixed an issue where a failed task never gets resumed after a successfull file replication phase
- Added experimental partial downloads support for rsync so big files can be resumed on slow links
- Added the ability to keep partial downloads that can be resumed on next run (usefull for big files on slow links that reach max execution time)
- Moved msys specific code to Init(Local|Remote)OSSettings - Moved msys specific code to Init(Local|Remote)OSSettings
- Added a patch by igngvs to fix some issues with Rsync Exclude files - Added a patch by igngvs to fix some issues with Rsync Exclude files
- Added a patch by Gary Clark to fix some issues with remote deletion - Added a patch by Gary Clark to fix some issues with remote deletion

View File

@ -4,7 +4,7 @@ PROGRAM="Osync" # Rsync based two way sync engine with fault tolerance
AUTHOR="(L) 2013-2014 by Orsiris \"Ozy\" de Jong" AUTHOR="(L) 2013-2014 by Orsiris \"Ozy\" de Jong"
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr" CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
PROGRAM_VERSION=0.99RC3+ PROGRAM_VERSION=0.99RC3+
PROGRAM_BUILD=2411201402 PROGRAM_BUILD=2411201403
## type doesn't work on platforms other than linux (bash). If if doesn't work, always assume output is not a zero exitcode ## type doesn't work on platforms other than linux (bash). If if doesn't work, always assume output is not a zero exitcode
if ! type -p "$BASH" > /dev/null if ! type -p "$BASH" > /dev/null
@ -1364,7 +1364,7 @@ function Sync
fi fi
resume_sync="resumed" resume_sync="resumed"
fi fi
if [ "$resume_sync" == "resumed" ] || [ "$resume_sync" == "${SYNC_ACTION[3]}.success" ] || [ "$resume_sync" == "${SYNC_ACTION[4]}.fail" ] || [ "$resume_sync" == "${SYNC_ACTION[5]}.fail" ] if [ "$resume_sync" == "resumed" ] || [ "$resume_sync" == "${SYNC_ACTION[3]}.success" ] || [ "$resume_sync" == "${SYNC_ACTION[4]}.fail" ] || [ "$resume_sync" == "${SYNC_ACTION[5]}.fail" ] || [ "$resume_sync" == "${SYNC_ACTION[4]}.success" ] || [ "$resume_sync" == "${SYNC_ACTION[5]}.success" ]
then then
if [ "$CONFLICT_PREVALANCE" != "master" ] if [ "$CONFLICT_PREVALANCE" != "master" ]
then then
@ -1705,7 +1705,7 @@ function Init
SLAVE_DELETE_DIR="$OSYNC_DIR/deleted" SLAVE_DELETE_DIR="$OSYNC_DIR/deleted"
## Partial downloads dirs ## Partial downloads dirs
PARTIAL_DIR="$OSYNC_DIR/partial" PARTIAL_DIR=$OSYNC_DIR"_partial"
## SSH compression ## SSH compression
if [ "$SSH_COMPRESSION" != "no" ] if [ "$SSH_COMPRESSION" != "no" ]
@ -1947,7 +1947,7 @@ function Usage
echo "--silent Will run osync without any output to stdout, used for cron jobs" echo "--silent Will run osync without any output to stdout, used for cron jobs"
echo "--verbose Increases output" echo "--verbose Increases output"
echo "--stats Adds rsync transfer statistics to verbose output" echo "--stats Adds rsync transfer statistics to verbose output"
echo "--partial Allows rsync to keep partial downloads that can be resumed later" echo "--partial Allows rsync to keep partial downloads that can be resumed later (experimental)"
echo "--no-maxtime Disables any soft and hard execution time checks" echo "--no-maxtime Disables any soft and hard execution time checks"
echo "--force-unlock Will override any existing active or dead locks on master and slave replica" echo "--force-unlock Will override any existing active or dead locks on master and slave replica"
echo "--on-changes Will launch a sync task after a short wait period if there is some file activity on master replica. You should try daemon mode instead" echo "--on-changes Will launch a sync task after a short wait period if there is some file activity on master replica. You should try daemon mode instead"