2
0
mirror of https://github.com/deajan/osync synced 2024-11-03 15:40:14 +00:00
Commit Graph

375 Commits

Author SHA1 Message Date
deajan
433a72938f Reverted using eval in SendAlert 2016-03-31 12:01:10 +02:00
deajan
0a43c1a120 Fixed bogus SSH_OPTS 2016-03-31 10:17:50 +02:00
deajan
2d2d06278d Bumped osync.sh to stable state 2016-03-29 23:05:32 +02:00
deajan
fb53664877 Added systemd file, installer stats and ssh known host ignore option 2016-03-29 22:55:57 +02:00
deajan
b4f4a122c8 Added pfSense mail support and fixed FreeBSD install.sh 2016-03-22 12:43:01 +01:00
deajan
3a988bbfb7 Minor enhancement in os detection log 2016-03-20 16:53:18 +01:00
deajan
e41ddca8f7 Added cygwin to the list of supported OS 2016-03-20 16:47:51 +01:00
deajan
8428662d61 Added option to ignore unknown OS 2016-03-19 10:48:46 +01:00
deajan
d11bd61473 Some sanity code cleanup 2016-03-14 21:51:29 +01:00
deajan
dc0cc3561c Some more typo fixes 2016-03-10 22:16:59 +01:00
deajan
f652eb1fc1 Also fixed the typo in the other builds :) 2016-03-10 19:27:09 +01:00
deajan
b2b8539dff Reduced log level for 3rdparty pings 2016-03-10 10:27:03 +01:00
deajan
7a485bd784 Bug fix for in tree_list error log failing for WaitForCompletion 2016-03-08 23:54:25 +01:00
deajan
d0da1398d2 Fixed rsync option placement 2016-03-01 20:13:48 +01:00
deajan
efd3a4f8b3 Fixed daemon mode exiting when child execution gives warnings 2016-02-21 11:11:28 +01:00
deajan
3626c4d049 Bug fixing last code cleanup 2016-02-19 21:44:52 +01:00
deajan
5cdc840fab Added execution flag SYNC_ATTR=yes 2016-02-19 09:34:43 +01:00
deajan
a81d4eada0 Setting sync_attrs as experimental function 2016-02-19 09:28:57 +01:00
deajan
d7731b6a88 First working sync_attrs push 2016-02-19 01:13:17 +01:00
deajan
f061004f0b sleeping... commiting for sync_attrs too 2016-02-19 00:30:02 +01:00
deajan
8c95802fd7 More work on sync_attrs function 2016-02-19 00:13:22 +01:00
deajan
bb0562d3f0 More typo fixing here 2016-02-18 23:28:57 +01:00
deajan
d8513f545b More sanity fixing 2016-02-18 21:00:23 +01:00
deajan
5b15b19031 Fixed more typos 2016-02-18 20:54:07 +01:00
deajan
4ecddccde7 Environment check bugfix 2016-02-18 16:21:17 +01:00
deajan
5dd6f1d367 Close to sync_attr feature 2016-02-17 23:00:45 +01:00
deajan
48fcda968a Some code cleanup 2016-02-17 13:51:42 +01:00
deajan
5fc500afc9 Preparing sync_attrs function 2016-02-16 22:15:44 +01:00
deajan
47fbcfd817 WIP on attr sync function 2016-02-16 20:52:53 +01:00
deajan
39fef7ba50 Fixed typo 2016-02-08 13:00:57 +01:00
deajan
4a3d18b54f Reverted wrong permission check 2016-02-08 12:51:39 +01:00
deajan
b3969feb4d Fixed wrong permission check with remote deletion 2016-02-08 12:36:40 +01:00
deajan
0c0b86ab60 Fixed using return in non function on remote deletion 2016-02-08 11:41:03 +01:00
deajan
c8637adc38 Fixed rsync pattern functionload when quicksync mode enabled 2016-02-02 10:37:08 +01:00
deajan
cafa1347a4 Fixed quicksync trying to check config file 2016-02-02 10:32:13 +01:00
deajan
c2377fc2a5 Fixed wrong log function call in debug mode 2015-12-21 14:09:17 +01:00
deajan
93793ed7b4 Fixed more typos in cmdline options 2015-12-16 12:05:56 +01:00
deajan
3c6c115a4b Another typo bites the dust :( 2015-12-15 13:45:11 +01:00
deajan
7e0de0e5c0 Fixed more typos :( 2015-12-15 13:40:50 +01:00
deajan
03719ecb94 Upgrade script adds missing config file values 2015-12-15 13:18:46 +01:00
deajan
9fda36adb7 More fixes for GNU / non-GNU versions of mail command 2015-12-15 13:03:05 +01:00
deajan
941bf5bf08 Fixed subject in sendmail 2015-11-30 14:49:46 +01:00
deajan
0cc9667d64 Fixed some typos in include exclude functions 2015-11-28 12:57:23 +01:00
deajan
da37a9a4ac Fixed partial dir exclude order 2015-11-28 12:29:13 +01:00
deajan
1e71371c31 Added preflight checks for config file. 2015-11-28 12:03:28 +01:00
deajan
f7d22fc549 Fixed string typo. 2015-11-28 11:43:27 +01:00
deajan
b4159c1b02 Finished work on include / exclude lists 2015-11-28 11:39:10 +01:00
deajan
4398c02f9d Added rsync include patterns 2015-11-27 14:12:44 +01:00
deajan
9c2df9990f Merge script should take relative path for ofunctions 2015-11-19 23:07:02 +01:00
deajan
1677f1dd84 Error mismatch update 2015-11-16 10:07:41 +01:00
deajan
7875469a94 Initial upload of function merge 2015-11-13 20:16:20 +01:00
deajan
7dd48aa44e typo fixing 2015-09-28 14:10:53 +02:00
deajan
65b1f6d2d9 Fixed typo in stderr redirect 2015-09-25 11:40:31 +02:00
deajan
b34e53da71 Added WaitForTaskCompletion to remote connectivity checks 2015-09-24 20:37:40 +02:00
deajan
5bca46e3cf Decided to make upgrade script more manual. Leaves time for other dev 2015-09-23 22:27:08 +02:00
deajan
1e8216f2ba Fixed multiple typos 2015-09-23 16:51:30 +02:00
deajan
e4765d4b75 Typo fixind and improving code compliance 2015-09-23 16:10:11 +02:00
deajan
036e600d2c More debugging code compliance 2015-09-23 15:02:28 +02:00
deajan
7d69160979 Minor updates 2015-09-21 12:41:31 +02:00
deajan
ec274f18e5 Minor code compliance updates 2015-09-21 11:22:01 +02:00
deajan
76014dc749 Quick fix for paranoia debug messages in debug mode 2015-09-19 18:46:30 +02:00
deajan
9959b693ca Simple code compliance 2015-09-19 18:40:26 +02:00
deajan
2415a25626 New Killchilds function 2015-09-18 09:41:18 +02:00
Jody
5076bf2a93 Fix two typos in osync.sh 2015-09-14 23:57:32 -07:00
deajan
8337a8150c Initial TrapQuit rework 2015-09-14 09:23:24 +02:00
deajan
a918d89752 Latest typos fixed... works again. 2015-09-13 10:40:54 +02:00
deajan
6ba32c0e08 Fixing typo... again and again :) 2015-09-12 22:29:51 +02:00
deajan
7cb267d000 Fixing typos... again 2015-09-12 22:22:38 +02:00
deajan
4f799bf2e7 More debug functionnality 2015-09-12 22:09:05 +02:00
deajan
78814c11bc Other typos 2015-09-12 20:49:24 +02:00
deajan
a9ae4f50ad Fixed typos 2015-09-12 20:34:16 +02:00
deajan
c1235d2a55 More paranoia debugging 2015-09-12 19:33:53 +02:00
deajan
e534a7f537 Minor fixes 2015-09-12 19:02:12 +02:00
deajan
c44ebd094a Finishing refactor 2015-09-12 12:57:27 +02:00
deajan
fd98af1391 Cleanup before last refactor part 2015-09-11 19:39:57 +02:00
deajan
69226a75db Refactoring going on 2015-09-11 15:34:23 +02:00
deajan
8f373258ad More and more refactoring 2015-09-10 21:42:11 +02:00
deajan
5370f203b8 Some code refactoring 2015-09-10 17:48:57 +02:00
deajan
c81b2293e8 Some more code compliance 2015-09-10 09:13:02 +02:00
deajan
78f7fe3b9c Various coding style compliance changes 2015-09-09 18:59:23 +02:00
deajan
4a8b0131b1 Added some automatic code checks 2015-09-09 14:50:21 +02:00
deajan
d65eea5c73 More and more code compliance 2015-09-09 13:31:42 +02:00
deajan
1f4a6a2b11 Various coding style compliance changes 2015-09-09 11:23:47 +02:00
deajan
d3a43d825a Some more coding style changes 2015-09-09 09:38:05 +02:00
deajan
2e12882ade Still doing code compliance 2015-09-08 19:17:26 +02:00
deajan
c4388c242b Coding style compliance 2015-09-08 16:08:14 +02:00
deajan
4bfe74de59 function coding style compliance 2015-09-08 14:11:08 +02:00
deajan
ae8dd18fed Initial compliance with coding standards 2015-09-08 14:04:48 +02:00
deajan
2175468174 Added realpath emulation 2015-07-31 15:21:34 +02:00
deajan
cb970eba90 Release v1.00 2015-07-20 14:13:14 +02:00
deajan
5658b54249 Release v1.00 2015-07-20 14:12:30 +02:00
deajan
a3246d785c Improved error logging 2015-07-17 09:47:55 +02:00
deajan
a4c35ab806 Merged hotfix for #22 2015-06-27 22:39:21 +02:00
deajan
c472b47a73 Improved ssh uri recognition 2015-06-26 17:54:49 +02:00
deajan
7b7b31fbb0 Merge #19 and unuglify 2015-06-26 17:23:05 +02:00
deajan
dd37cf062e Merge branch 'ssh_user_opt_fix' of https://github.com/onovy/osync into onovy-ssh_user_opt_fix
Conflicts:
	osync.sh
2015-06-26 16:44:24 +02:00
deajan
54c13b85ef Hotfix #22 - Missing full path in soft deletion 2015-06-26 16:31:11 +02:00
Orsiris de Jong
9aa2e1166e Added missing slash 2015-06-24 21:50:46 +02:00
Orsiris de Jong
eb9625bddc Hotfix #22 added rm -rf if file already exists
Fix is only useful if deleted directories already exist and are not empty
2015-06-24 21:43:00 +02:00
Orsiris de Jong
adad3257b3 Hotfix #22 added -f to mv command 2015-06-24 14:07:00 +02:00
deajan
9815a7bff3 Fixed #21 for missing readlink on MacOS X & BSD 2015-05-18 10:53:11 +02:00
onovy
6830127f95 PR #16 fix. 2015-04-21 12:18:38 +02:00
deajan
0ea1a3e5de Fixed multiple log messages since lower sleep time 2015-04-20 14:11:09 +02:00
deajan
2f827f9246 Fixed typo in soft deletion and added paranoia checksum 2015-04-13 21:33:43 +02:00
deajan
737e13ddb9 Fixed #16 where remote user didn't work for elder config files 2015-04-01 15:37:41 +02:00
deajan
f870e9b1e6 Merge branch 'master' of github.com:deajan/osync
Merged v1.00pre into master
2015-04-01 11:02:26 +02:00
deajan
864894431c Merged v1.00pre into master after successfull testing 2015-04-01 11:02:03 +02:00
deajan
bf39522b23 Removed extra slash for soft deletion 2015-04-01 10:34:40 +02:00
deajan
f45086dad3 Refactored soft deletion code 2015-03-31 01:46:07 +02:00
onovy
b992f4277d Remote user is optional now in remote slaves. 2015-03-30 20:13:39 +02:00
deajan
41781aa0da Some more work on soft deletion 2015-03-30 19:51:31 +02:00
deajan
764b3f2914 Merged #11 with new build number 2015-03-30 18:24:31 +02:00
Orsiris de Jong
f2b4dbf75f Merge pull request #11 from onovy/lock-fix
Locking fix in SyncOnChanges mode.
2015-03-30 18:21:54 +02:00
deajan
2507a08b3c Fixed onovy's PR for same dir check 2015-03-30 18:18:05 +02:00
deajan
76f1fe4fa1 Changed build dates 2015-03-30 18:12:01 +02:00
Orsiris de Jong
9c02b4f38e Merge pull request #15 from onovy/param-check
Check scripts params.
2015-03-30 18:04:01 +02:00
Orsiris de Jong
a7820c083e Merge pull request #13 from onovy/lower_sleep
Lower sleep time per cycle.
2015-03-30 17:55:00 +02:00
onovy
0722b25c03 Check scripts params. 2015-03-29 17:57:06 +02:00
onovy
67f9e8b77d Check if master and slave dirs is not same. 2015-03-29 17:30:09 +02:00
onovy
a1fb4bc7de Lower sleep time per cycle. 2015-03-29 16:35:58 +02:00
Orsiris de Jong
60f242e2ae Fixing program build date.
Need to know which osync is run on servers. This is a good way to track version.
2015-03-29 13:41:37 +02:00
onovy
52f63f2e12 Run sync after timeout in inotify mode even when no changes detected. 2015-03-29 12:40:39 +02:00
onovy
906cd15436 Locking fix in SyncOnChanges mode. 2015-03-28 22:50:37 +01:00
deajan
e7af81de98 Reworked softdeletion code (WIP). Some other fixes too 2015-03-28 19:06:17 +00:00
deajan
f134ed35a3 Fixed infamous exclude bug introduced with no globbing 2015-03-20 20:40:57 +01:00
deajan
a1c29f62d5 Fixed some low severity bugs 2015-02-18 15:03:45 +01:00
deajan
46cf6a8b36 Updated serial 2015-02-12 10:38:31 +01:00
deajan
5ba7608af0 Prevent exclude pattern globbing 2015-02-12 10:34:42 +01:00
senorsmile
260311623f fix typo in trapquit logerror 2015-01-16 22:40:58 -08:00
senorsmile
802e87fab6 fix missing test bracket on if type -p sendemail 2015-01-16 22:40:17 -08:00
deajan
ec16450c05 Fixed some other missing child pids 2015-01-16 10:55:01 +01:00
senorsmile
5c0024bb24 Update osync.sh
update osync.sh to fix "function GetRemoteOS silently failing"
2015-01-15 18:03:10 -08:00
deajan
04cc1e9211 Minor fixes 2014-11-29 15:07:09 +01:00
deajan
47886c439d Minor fixes 2014-11-28 12:10:00 +01:00
deajan
3bf66be267 Final partial-dl upload 2014-11-26 11:25:58 +01:00
deajan
6462f87457 Updated documentation 2014-11-25 00:38:03 +01:00
deajan
2733c72fdc Fixed typo 2014-11-24 19:28:35 +01:00
deajan
13f055090f Fix process test command gets expanded too soon 2014-11-24 19:26:17 +01:00
deajan
727ae303c2 Moved msys specific code 2014-11-24 10:12:48 +01:00
deajan
f882af77ff Fixed typo 2014-09-22 21:41:52 +02:00
deajan
e6379240f5 Obackup code merge 2014-09-22 21:21:37 +02:00
deajan
930d9e594f Minor fix for ssh banners 2014-09-09 10:39:31 +02:00
deajan
b7123eb335 Added inline log for warning email. 2014-07-08 02:14:03 +02:00
deajan
d783df70f4 Improved deletion dealing with permission issues 2014-07-08 02:00:23 +02:00
deajan
abe0a1c954 Typo 2014-05-27 20:08:07 +02:00
deajan
5a2fb4f286 Added keep dir symlinks parameter 2014-05-27 19:58:59 +02:00
deajan
d0510d6c67 Minor enhancements 2014-05-27 14:18:48 +02:00
deajan
eeb0ef3722 Fixes for RC3 2014-05-27 12:47:50 +02:00
deajan
fa19036de6 Added follow symlink option + other minor fixes 2014-05-27 11:35:45 +02:00
deajan
d8ff286b32 Code cleanup 2014-05-27 00:50:46 +02:00
deajan
ab4ed13d8b Improved remote deletion 2014-05-25 19:09:30 +02:00
deajan
8214f151db Revert typos 2014-05-25 17:51:05 +02:00
deajan
c3f5534c64 Various fixes 2014-05-22 18:48:40 +02:00
deajan
2e56a880cb Fix typos 2014-05-21 18:44:25 +02:00
deajan
a47ce7f3dd Fix MacOSX rsync -E parameter 2014-05-21 18:33:16 +02:00
deajan
b9a5e5add2 Fixing sync-id is twice in tree-list name 2014-05-09 11:19:54 +02:00
deajan
a4edfb0207 Added multislave async task support 2014-05-08 22:08:15 +02:00
deajan
b65c5a22ff Patch merges plus bug fixes 2014-05-08 12:36:36 +02:00
deajan
deb0058b6e Improved status messages 2014-03-31 23:03:51 +02:00
deajan
c10c62415d Minor stuff 2014-03-31 17:51:21 +02:00
deajan
6d677e26a2 Bugfixing... 2014-03-23 21:57:57 +01:00
deajan
f2a74537ba Minor fix 2014-03-23 17:52:45 +01:00
deajan
223efdb78a Some minor fixes 2014-03-09 17:54:45 +01:00
deajan
922560212b Bug bugfixing before RC3. 2014-01-19 20:31:14 +01:00
deajan
54aa421306 Fixed deleted subdirectories files not propagated 2014-01-17 15:57:31 +01:00
deajan
1e9cc8b6e4 Minor merges before final bug fixing. 2014-01-17 14:05:20 +01:00
deajan
7329b81c31 Merge branch 'master' of github.com:deajan/osync 2013-11-25 13:45:41 +01:00
deajan
e18dfd1822 Improved file monitor mode 2013-11-25 13:20:53 +01:00
Orsiris de Jong
f28baa0a46 Update osync.sh 2013-11-25 12:34:42 +01:00
Orsiris de Jong
e3f5b2f85b Fixed typo 2013-11-25 09:36:49 +01:00
deajan
9dfd3e32ac Improved daemon for file monitor mode 2013-11-18 23:50:39 +01:00
deajan
486fcf7831 Added daemon option to file monitor mode 2013-11-18 23:36:52 +01:00
deajan
bb7e4642d5 Added file monitor mode 2013-11-18 22:50:07 +01:00
deajan
8a16a2233e Added monitor mode 2013-11-18 22:44:20 +01:00
deajan
13420e6d83 Added ssh uri support 2013-11-18 21:16:31 +01:00
deajan
941f8bb749 mino bugfixes 2013-11-16 13:12:25 +01:00
deajan
79818e2457 Various bugfixes 2013-11-14 21:20:13 +01:00
Orsiris de Jong
43779c8ff3 Update osync.sh 2013-11-14 13:33:22 +01:00
Orsiris de Jong
d3742a59e1 Still adding (very) initial MacOSX support 2013-11-13 17:16:51 +01:00
Orsiris de Jong
65c587899a Added (very) initial MacOSX support 2013-11-13 17:11:54 +01:00
deajan
0eb30e94a9 Merged tree functions. 2013-11-04 22:49:44 +01:00
deajan
4535b48012 Merged all tree functions. 2013-11-04 22:17:06 +01:00
deajan
194e458d16 Merged 4 tree functions into one 2013-11-04 22:11:43 +01:00
deajan
2d5546e4cd Add quicksync functionnality 2013-11-03 20:29:17 +01:00
deajan
abcee91c37 Added cleanup bypass 2013-11-02 23:33:54 +01:00
deajan
86b05d1c65 Osync v0.99 Release candidate 2 2013-11-02 21:57:15 +01:00
deajan
5f51a1fb2d Improved portability 2013-10-11 22:27:33 +02:00
deajan
1c408b3009 Added OS detection 2013-10-11 21:35:20 +02:00
deajan
017a6f1f12 Still adding MSYS compat 2013-10-10 20:28:40 +02:00
deajan
fb7544cf20 Merged MSYS compat changes from Obackup 2013-10-10 20:17:40 +02:00
Orsiris de Jong
8b5e7b6b24 Fixed an issue with CheckConnectivity3rdPartyHosts 2013-09-13 13:30:39 +02:00
Orsiris de Jong
696e41dcb8 Added STOP_ON_CMD_ERROR function 2013-09-11 16:23:57 +02:00
Orsiris de Jong
750c43ed1a Fixed typo $PRESERVE_ACL 2013-09-10 11:55:34 +02:00
deajan
706e6a531b Improved forced quit 2013-09-03 21:22:38 +02:00
deajan
0db693bbe6 Minor fixes 2013-08-25 12:37:37 +02:00
deajan
50c4fe50e1 Fixed various glitches 2013-08-24 19:51:39 +02:00
deajan
d6ebcbd55f Osync v0.99 RC1 2013-08-18 13:15:40 +02:00
deajan
0c90d772db removing leading * introduced with nano 2013-08-04 15:27:31 +02:00
deajan
faff1f6e3c Lot of bugfixes... Time for the last beta before going release candidate. 2013-08-04 15:20:26 +02:00
deajan
c0c13b19d3 Update README.md file, also added --stats option in rsync execution. 2013-08-04 10:20:08 +02:00