Daniel Poelzleithner
66b038e394
Finish full sync cron trigger
2022-03-31 03:54:21 +02:00
Daniel Poelzleithner
5b42d69193
Only check Tunnels if there is at least one tunnel defined
2022-03-30 23:07:45 +02:00
Daniel Poelzleithner
8607a84cc1
Log source of next alarm as well
2022-03-30 23:03:12 +02:00
Daniel Poelzleithner
1f79032c28
Add debug functions and timestamp2string helpers
2022-03-30 23:02:03 +02:00
Daniel Poelzleithner
4a03dab872
[WIP] implement crontab full sync
2022-03-25 19:01:19 +01:00
Daniel Poelzleithner
bfc604a591
Implement tunnel pool mode.
...
In this mode, multiple tunnel processes are started and connection a load
balanced on the pool of connections.
Example config:
...
sync {
default.rsync,
tunnel = tunnel {
command = {"ssh", "-N", "-L", "localhost:${localport}:localhost:873", "user@testmachine"},
mode = "pool",
parallel = 2,
},
target = "rsync://localhost:${localport}/test",
...
}
2022-03-23 23:44:19 +01:00
Daniel Poelzleithner
07ec98174a
Call runner cleanup method when exiting through error codes
2022-03-23 23:41:02 +01:00
Daniel Poelzleithner
b712aea0c7
rename traceback function
2022-03-17 02:29:23 +01:00
Daniel Poelzleithner
d708dca0f2
Call user provideable check function
2022-03-17 02:27:02 +01:00
Daniel Poelzleithner
f722ec14f8
Report tunnel status in status file
2022-03-17 02:25:27 +01:00
Daniel Poelzleithner
60e6505473
Add function to substitude commands with placeholders
2022-03-16 17:38:03 +01:00
Daniel Poelzleithner
cce6e5423b
Updates to tunnel logic.
...
Delay before tunnel is considered up.
Working delay if restart fails.
Disabled state.
Kill all tunnel processes on graceful exit
2022-03-16 01:16:33 +01:00
Daniel Poelzleithner
dcf611d4f8
bump version
2022-03-16 01:16:33 +01:00
Daniel Poelzleithner
acff33211c
[WIP] Add tunnel support
2022-03-16 01:16:33 +01:00
Daniel Poelzleithner
e2a27af6e7
use relative sh path
2022-01-12 20:46:41 +01:00
Daniel Poelzleithner
39f2f3a373
Finish -onepass option to exit when all syncs ran sucessfully once
2021-12-10 15:05:30 +01:00
Daniel Poelzleithner
d737c03c03
Merge remote-tracking branch 'origin/pr/541'
2021-12-10 12:51:01 +01:00
Daniel Poelzleithner
3e8aad3b2e
Use sshopts for rsyncssh tests
2021-12-08 18:26:11 +01:00
Daniel Poelzleithner
5b0d266669
add cmd option to pass ssh options
2021-12-08 18:24:13 +01:00
Bernard Gray
a57b80f9c8
make indenting consistent
2018-12-06 08:41:53 +11:00
Bernard Gray
188b691bea
add onepass option to exit after initial sync
2018-12-05 17:05:18 +11:00
Axel Kittenberger
99b6b18ac2
fixing loadstring() Lua5.3 issue
2018-03-09 10:42:10 +01:00
Axel Kittenberger
4bc456b544
preparing 2.2.3
2018-03-09 10:13:29 +01:00
Axel Kittenberger
faa582e259
cleanups
2018-03-01 15:19:30 +01:00
Axel Kittenberger
ba52ee1a6f
cleanups
2018-03-01 15:08:26 +01:00
Axel Kittenberger
a78f239fa2
apply filters before inotify watching dirs, actually filter events
2018-03-01 14:14:28 +01:00
Axel Kittenberger
465e173983
cleanups
2018-03-01 11:26:12 +01:00
Axel Kittenberger
1e0d867f80
adding inclusion filters
2018-02-27 17:14:36 +01:00
Axel Kittenberger
d72a59e70f
do not append a '/' to targets when there it ends with a ':'
2018-02-27 10:09:28 +01:00
Axel Kittenberger
ea068b4014
reverting to rsync filter useage, until rysnc bug is fixed
2017-02-16 12:17:37 +01:00
Axel Kittenberger
785a7dd503
fixing again setting with new delay objects, cleanups
2017-02-06 17:00:39 +01:00
Axel Kittenberger
544f6066b7
write pid of forked process
2017-01-09 13:13:05 +01:00
Axel Kittenberger
3f78514273
fix exclusion tests
2017-01-09 11:43:23 +01:00
Axel Kittenberger
288f09ad01
a
2017-01-09 11:14:23 +01:00
Axel Kittenberger
e21a2184ba
preparing 2.2.1
2017-01-05 11:54:29 +01:00
Axel Kittenberger
0c5e2c707e
new rsync control is no longer recursive, fixing excludes
2017-01-05 11:31:29 +01:00
Axel Kittenberger
b7c4fe437c
typo
2017-01-05 10:29:38 +01:00
Axel Kittenberger
ccae4ac142
trying delete-missing-args
2017-01-05 10:02:16 +01:00
Axel Kittenberger
12d4f43d0f
realtive paths do not start with a slash
2017-01-04 11:24:55 +01:00
Axel Kittenberger
c08719ce00
Preparing 2.2.0, removing manpage from 'clean' target
2017-01-04 10:59:01 +01:00
Axel Kittenberger
4909dd3b2c
fixing racecondition in default.rsyncssh
2017-01-03 15:30:13 +01:00
Axel Kittenberger
83c6436e84
typo
2016-12-22 15:15:17 +01:00
Axel Kittenberger
16919a893e
do not replace active delays
2016-12-22 14:59:18 +01:00
Axel Kittenberger
62923459f4
Actually stack when toDelete,stack
2016-12-22 13:55:59 +01:00
Axel Kittenberger
98c83a7fbf
typo
2016-12-21 16:38:04 +01:00
Axel Kittenberger
8e1a85a12d
Splitted Delay combination log from logging about it.
2016-12-21 16:29:29 +01:00
Axel Kittenberger
837a3cd927
Fixed Delay changes potentially not reflect on Event layer. Fixed test exitcode
2016-12-21 13:11:55 +01:00
Axel Kittenberger
9e647f8113
objectifying queues
2016-12-14 16:29:33 +01:00
Axel Kittenberger
d8b565ae02
fixing encapsulated delays
2016-12-14 14:25:20 +01:00
Axel Kittenberger
4005c2899b
encapuslating Delay
2016-12-14 09:02:51 +01:00