1
0
mirror of https://github.com/deajan/obackup.git synced 2024-11-12 19:03:42 +01:00

Fix for symlinks to directories on target can't get updated

This commit is contained in:
deajan 2014-11-18 14:43:04 +01:00
parent e18a4ad816
commit 7bdf7e0939
2 changed files with 20 additions and 1 deletions

View File

@ -3,6 +3,8 @@ SHORT FUTURE IMPROVEMENTS
- Rewrite rsync exclude patterns using \"pattern\" instead of escaped chars
- Clean most of recursive task creation code
- dry option shoudln't create local dirs
- Add symlink support (-L) and edit find -xtype d instead of -type d
FAR FUTURE IMPROVEMENTS
-----------------------
@ -21,6 +23,20 @@ KNOWN ISSUES
CHANGELOG
---------
- Fixed an issue with existing symlinks to directories on target
- Prevent changed IFS to make ping commands fail
- Added RotateCopies execution time (spinner support)
- redirect stderr for mysqldump to catch problems
!-and other commands (cp ?) + verify is not telling success if table damaged
!- Moved msys specific code to Init(Local|Remote)OSSettings (halfway done, still need the WaitForTaskCompletion code to moove)
- Added support for multithreaded gzip (if pigz is installed)
- Merged back changes from osync codebase
- Enhanced debugging
- Added language agnostic system command output
- Enhanced log sending
- Better handling of OS specific commands
- Improved WaitForTaskCompletion when DEBUG enabled or SILENT enabled
- Enhanced OS detection
- More correct error message on remote connection failure
- Gzipped logs are now deleted once sent
- Fixed some typos (thanks to Pavel Kiryukhin)

View File

@ -5,7 +5,7 @@
AUTHOR="(L) 2013-2014 by Orsiris \"Ozy\" de Jong"
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
PROGRAM_VERSION=1.84preRC4
PROGRAM_BUILD=2209201402
PROGRAM_BUILD=1811201401
## 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
@ -1247,6 +1247,9 @@ function Init
RSYNC_ARGS=$RSYNC_ARGS" --bwlimit=$BANDWIDTH"
fi
## Fix for symlink to directories on target can't get updated
RSYNC_ARGS=$RSYNC_ARGS" --force"
## Set compression executable and extension
COMPRESSION_LEVEL=9
if type -p xz > /dev/null 2>&1