Commit Graph

773 Commits

Author SHA1 Message Date
skybeam 1cc921ad86 Interval value of 0 to skip interval for speicific sources.
Update documentation to specify that intervals with value 0 are valid to skip an interval explicitly for a given source.
2023-01-15 23:32:27 +00:00
skybeam ebded3049a Update 'ccollect' 2023-01-15 22:31:02 +00:00
skybeam cdd34a3416 Allow interval per source to be overwritten to 0 to skip the source in this interval.
This change allows to overwrite an interval to 0 for a specific source in order to skip it for this interval.
This is useful if you have default intervals configured and you would like to skip certain sources for specific intervals.
2023-01-14 21:57:24 +00:00
Darko Poljak b50b3f64dc Update gitignore 2020-11-25 16:21:44 +01:00
Darko Poljak 40dbfbd3a3 Fix test: also count 'current' symlink 2020-11-25 16:20:28 +01:00
Darko Poljak 7d298d2b51 ++changelog 2020-11-25 16:17:29 +01:00
poljakowski 3687267dd7 Merge branch 'fix-current-symlink' into 'master'
Improve 'current' symlink to backup destinations

See merge request ungleich-public/ccollect!16
2020-11-25 16:15:27 +01:00
Jun Futagawa 2ca7598593 Improve 'current' symlink to backup destinations 2020-11-25 11:24:37 +09:00
Darko Poljak 08cb857664 Release 2.10 2020-08-26 08:36:43 +02:00
Darko Poljak 309d8dc773 ++changelog 2020-05-25 17:52:23 +02:00
poljakowski fabdefad82 Merge branch 'master' into 'master'
Add 'current' symlink to backup destinations

See merge request ungleich-public/ccollect!15
2020-05-25 17:51:13 +02:00
Steffen Zieger 616b1d9e3e Add 'current' symlink to backup destinations 2020-05-25 16:16:32 +02:00
Darko Poljak 7a7dec7751 Release 2.9 2020-05-25 12:05:35 +02:00
Darko Poljak 28dec3694a ++changelog 2020-05-24 17:29:29 +02:00
poljakowski 59b50e7f4b Merge branch 'ungleich-master-patch-28394' into 'master'
make rsync return code available in post_exec

See merge request ungleich-public/ccollect!14
2020-05-24 17:28:31 +02:00
Steffen Zieger a261ef841e make rsync return code available in post_exec 2020-05-24 16:40:04 +02:00
Darko Poljak 109b70ea76 gitlab runner should have necessary tools 2019-12-02 09:29:02 +01:00
Darko Poljak 5341de86fb Release 2.8 2019-11-26 06:10:17 +01:00
Darko Poljak 987277f1cf Update Makefile
Simplify and generalize.
2019-11-25 20:52:48 +01:00
Darko Poljak 589fed6107 ++changelog 2019-11-25 14:41:41 +01:00
Darko Poljak 61ab45fc65 Fix excluding destination dir from removal
Touch can lead to wrong ls order, and destination dir gets selected for
removal.
Use grep -v to exclude, instead of touch.
2019-11-25 14:38:17 +01:00
Darko Poljak 6c24e8a7d3 Fix quoting in tests 2019-11-25 13:44:10 +01:00
Darko Poljak 42bd1afb09 Fix quoting in tests 2019-11-25 13:35:22 +01:00
Darko Poljak 9ed5912461 Improve unit tests 2019-11-25 08:42:42 +01:00
Darko Poljak 5ce3fddf62 Define gitlab CI 2019-11-24 23:01:34 +01:00
Darko Poljak 8f5d9b2c97 Add unit testing 2019-11-15 08:29:46 +01:00
Darko Poljak 401dd4fa8e Fix path with spaces in eval 2019-11-15 08:29:46 +01:00
Darko Poljak f818f011e3 Release 2.7 2019-11-14 19:20:16 +01:00
poljakowski c9eef21e43 Merge branch 'bugfix/shellcheck' into 'master'
Fix shellcheck reported issues

See merge request ungleich-public/ccollect!13
2019-11-14 19:17:50 +01:00
Darko Poljak a5e565b5d6 Add shellcheck makefile target 2019-11-14 19:16:11 +01:00
Darko Poljak 2cefdaa1a5 Fix shellcheck reported issues 2019-11-12 19:26:25 +01:00
Darko Poljak 74e3b26790 Release 2.6 2019-11-12 17:55:15 +01:00
poljakowski dcc72aebf7 Merge branch 'performance/speed-up-removal' into 'master'
Improve performance

See merge request ungleich-public/ccollect!12
2019-11-12 17:50:41 +01:00
Darko Poljak de720ecfe9 If renaming oldest bak dir fails then fallback to removing it 2019-10-17 11:53:46 +02:00
Darko Poljak e44dede92f ++changelog 2019-10-17 09:05:55 +02:00
Darko Poljak 7701bdb0a8 Use destination dir basename 2019-10-17 08:06:13 +02:00
Darko Poljak c39205d308 Exclude destintion dir from listing for last dir 2019-10-17 08:03:12 +02:00
Darko Poljak 2788de47b8 Improve log line 2019-10-17 07:52:53 +02:00
Darko Poljak 1e18e71b9d Use oldest backup as destination dir without deletion 2019-10-17 07:42:31 +02:00
Darko Poljak 51dcf4a02f Use hidden empty directory for deletion 2019-10-17 06:55:20 +02:00
Darko Poljak 702cdf931e Use hidden directory for deletion 2019-10-17 06:52:51 +02:00
Darko Poljak bfb3c6338c _techo instead of very verbose 2019-10-16 15:50:54 +02:00
Darko Poljak 30abef474d Delete in background and finally wait for children 2019-10-16 14:03:13 +02:00
Darko Poljak ca6d06c2c3 Add more verbose logging 2019-10-10 10:54:56 +02:00
Darko Poljak 1628ce58c7 Replace rm with faster rsync --delete with empty src dir 2019-10-05 10:48:19 +02:00
Darko Poljak 10dcf076a9 Release 2.5 2019-05-01 14:38:35 +02:00
poljakowski 086c95f98d Merge branch 'bugfix/subshell_exit' into 'master'
exit in case of subshell error

See merge request ungleich-public/ccollect!11
2019-05-01 14:32:06 +02:00
Darko Poljak 2725a1ced4 github -> code.ungleich.ch 2019-04-26 14:47:21 +02:00
Darko Poljak 835e21c56c exit in case of subshell error 2019-04-26 14:03:01 +02:00
Darko Poljak 71eabe2f23 Release 2.4 2018-09-25 21:14:55 +02:00