Commit graph

63 commits

Author SHA1 Message Date
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
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
Darko Poljak
de720ecfe9 If renaming oldest bak dir fails then fallback to removing it 2019-10-17 11:53:46 +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
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
Darko Poljak
a63e16efc5 Use better expansion and parameter setting 2018-09-23 11:42:09 +02:00
Darko Poljak
b47a828af0 Add source name tag in log line 2018-09-22 20:47:14 +02:00
Darko Poljak
420dc3fe7f Add source name tag in log line 2018-09-20 16:08:00 +02:00
Darko Poljak
eeccc0b260 Release 2.3 2018-02-02 07:57:41 +01:00
Darko Poljak
fc0b86005c Fix parallel mode deadlock when MAX_JOBS > number of sources. 2018-01-30 09:48:43 +01:00
Darko Poljak
e504d1f42b Release 2.2 2017-09-03 22:29:13 +02:00
Darko Poljak
04bf9aff39 Bugfix: empty rsync_options line causes destroying source. (#8)
Bugfix: empty rsync_options line causes destroying source.
2017-09-03 20:00:54 +02:00
Darko Poljak
89a82ba55e Release 2.1 2017-03-22 10:24:18 +01:00
Darko Poljak
fbe17cae44 Improve logging: stdout, file, syslog options. 2017-03-19 08:10:41 +01:00
Darko Poljak
6dca5c638d Release 2.0. 2016-09-26 17:27:33 +02:00
Darko Poljak
3049849ea6 Remove testing stuff. 2016-08-10 17:14:31 +02:00
Darko Poljak
a18a00e773 Drop SIMULATE stuff. 2016-08-10 17:12:18 +02:00
Darko Poljak
01c36fc699 Check that MAX_JOBS is positive integer or empty using grep. 2016-08-08 15:56:19 +02:00
Darko Poljak
1df57c8154 Turn simulation off. 2016-07-21 12:16:34 +02:00
Darko Poljak
902a7d667e Introduce -j option and deprecate -p option. 2016-07-21 12:15:37 +02:00
Darko Poljak
86d5628577 Implement per source locking. 2016-06-13 13:40:32 +02:00
5356370233 Creating version 1.0 2015-10-10 19:05:39 +02:00
977c7e9c1f Added "Error: " prefix in _exit_err()
All stdout generated with the _exit_err() function gets a prefix:
"Error: " for better usability.
2015-09-06 16:35:53 +02:00
Nico Schottelius
e2ca223432 indent with 4 spaces
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-29 10:17:21 +02:00
Nico Schottelius
ca45e8429b minor cleanups/year change
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-28 19:03:51 +02:00
Nico Schottelius
dc67c929cf begin doc and version modifications for 0.9
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-20 23:43:41 +02:00
Nico Schottelius
a729e05132 adjust version
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 09:00:51 +01:00
Nico Schottelius
61f715515f Merge remote branch 'origin/master' 2011-02-02 08:53:48 +01:00
Nico Schottelius
d67b35da2c go back to sourcedir, so destination can be unmounted
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 08:52:49 +01:00
Nico Schottelius
349a4845c0 Merge branch 'master' of git.schottelius.org:/home/services/git/cLinux/ccollect 2011-01-17 16:49:36 +01:00
Nico Schottelius
f7f6b4d885 date++
Signed-off-by: Nico Schottelius <nico@yoda.schottelius.org>
2011-01-15 21:19:27 +01:00
Nico Schottelius
bdd6b15397 add version information
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-01-15 20:14:59 +01:00
Nico Schottelius
9bd09f24a2 remove directory create code: rsync does that itself
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-01-15 02:47:25 +01:00
Nico Schottelius
d04972026f fix selecting removal backups code
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-01-15 02:44:37 +01:00
Nico Schottelius
7b65687da5 simplify backup removal code
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-01-15 02:41:22 +01:00
Nico Schottelius
aaf43af0d9 fix count of backups
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-01-15 02:37:14 +01:00
Nico Schottelius
4675bf864c rewrite get incomplete backups code
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-01-15 02:35:49 +01:00