Commit graph

262 commits

Author SHA1 Message Date
jll2
010449bafa Add option to sort backup directories based on modification time.
By default, ccollect.sh sorts backup directories based on last change
time (ctime).  This adds the option to sort based on modification
time (mtime).

I have updated doc/ccollect.text but it needs some work to simplify
and explain the issue.
2009-06-25 20:35:13 -07:00
jll2
544a7d269e Create rsync_failure_codes option.
User may optionally create a file rsync_failure_codes with a
newline-separated list of rsync return codes that are to be
regarded as complete failure.

If rsync exits with such a code, then the backup will be marked
for deletion during the next ccollect run (if delete_incomplete).

I added documentation for this feature in doc/ccollect.text

In my experience (yours may differ), two rsync exit codes that
belong in this file are 12 and 255.  I have seen 12 result from
ssh errors and 255 result from a kernel module conflict.  In both
cases, the resulting backups were empty.  Without the
rsync_failure_codes option, such errors cause good backups to be
deleted, as per c_interval, leaving behind the new empty backups.

In the long run, we may want a different and more comprehensive
method for analyzing rsync errors.  In the short run, I find this
option necessary.
2009-06-24 17:01:14 -07:00
jll2
142fd24fc8 Add ARM to GNU/Linux architecture list
I run ccollect nightly on a Thecus N2100 running Debian-ARM.

The Linksys NSLU2 also runs an ARM processor and I have lightly tested
ccollect on that under SlugOS.
2009-06-22 12:54:06 -07:00
Nico Schottelius
10d420614c [DOC] give some hints on how to hack ccollect
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-06-20 21:00:21 +02:00
Nico Schottelius
02264020f5 add changes for the next release
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-06-10 09:56:13 +02:00
Nico Schottelius
27c838163a add macosx as tested
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-02-04 16:28:57 +01:00
Nico Schottelius
bf22075407 update todo and changes
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-02-02 12:16:04 +01:00
Nico Schottelius
0516749a0c update changes
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-02-02 12:10:56 +01:00
Nico Schottelius
582018adbb alpha/netbsd added
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-01-13 11:58:45 +01:00
Nico Schottelius
c704d7d9b8 +nc
Signed-off-by: Nico Schottelius <nico@denkbrett.schottelius.org>
2008-08-19 15:25:46 +02:00
Nico Schottelius
05544bf02f begin integration of linux restore
Signed-off-by: Nico Schottelius <nico@denkbrett.schottelius.org>
2008-07-23 18:05:35 +02:00
Nico Schottelius
218f846479 finished description for freebsd
Signed-off-by: Nico Schottelius <nico@denkbrett.schottelius.org>
2008-07-23 11:39:01 +02:00
Nico Schottelius
ba61d0b6ce continue freebsd restore
Signed-off-by: Nico Schottelius <nico@denkbrett.schottelius.org>
2008-07-23 11:29:44 +02:00
Nico Schottelius
7cc669ba0a begin to structure it
Signed-off-by: Nico Schottelius <nico@tr.schottelius.org>
2008-07-04 13:35:52 +02:00
Nico Schottelius
45d8560110 beginn restore doc
Signed-off-by: Nico Schottelius <nico@tr.schottelius.org>
2008-07-04 15:22:28 +02:00
Nico Schottelius
26b8df4825 begin to make tools more modular in makefile
Signed-off-by: Nico Schottelius <nico@denkbrett.schottelius.org>
2008-06-25 11:38:24 +02:00
Nico Schottelius
cfe5433e7a todo for 0.7.4
Signed-off-by: Nico Schottelius <nico@denkbrett.schottelius.org>
2008-06-13 12:07:43 +02:00
Nico Schottelius
6af6c8d229 more changes for 0.7.1
Signed-off-by: Nico Schottelius <nico@denkbrett.schottelius.org>
2008-06-13 12:04:22 +02:00
Nico Schottelius
ca408a22cc add hint: ssh access required for remote_host
Signed-off-by: Nico Schottelius <nico@denkbrett.schottelius.org>
2008-06-13 11:46:07 +02:00
Nico Schottelius
40cef5f7a4 update changes/todo
Signed-off-by: Nico Schottelius <nico@denkbrett.schottelius.org>
2008-06-13 11:30:36 +02:00
Nico Schottelius
5caad132b5 add hint: prevent backup deletion for unreachable hosts
Signed-off-by: Nico Schottelius <nico@denkbrett.schottelius.org>
2008-06-13 11:18:44 +02:00
Nico Schottelius
8f2af0e466 update changes for 0.7.1
Signed-off-by: Nico Schottelius <nico@denkbrett.schottelius.org>
2008-06-13 11:14:39 +02:00
Nico Schottelius
d5c7b57b09 makefile / hinweise für tools/
Signed-off-by: Nico Schottelius <nico@denkbrett.schottelius.org>
2008-06-03 14:16:11 +02:00
Nico Schottelius
5775bdb28d todo for 0.7.1 2008-06-03 14:13:55 +02:00
Nico Schottelius
2dc80fa971 more changes 2008-04-26 13:14:19 +02:00
Nico Schottelius
ca5c9fc5fd Describe delete_incomplete
Signed-off-by: Nico Schottelius <nico@denkbrett.schottelius.org>
2008-04-26 13:08:50 +02:00
Nico Schottelius
2627af97ad Todo for 0.8.0
Signed-off-by: Nico Schottelius <nico@denkbrett.schottelius.org>
2008-04-26 13:06:27 +02:00
Nico Schottelius
741650f926 add freebsd to supported os
Signed-off-by: Nico Schottelius <nico@denkbrett.schottelius.org>
2008-04-26 13:01:54 +02:00
Nico Schottelius
e8fc763b5c Begin changes for 0.7.1
Signed-off-by: Nico Schottelius <nico@denkbrett.schottelius.org>
2008-04-26 12:58:30 +02:00
Nico Schottelius
6ea6e23df0 restructure changes list
Signed-off-by: Nico Schottelius <nico@denkbrett.schottelius.org>
2008-04-26 12:57:20 +02:00
Nico Schottelius
036575df9d minor notice changes 2008-03-17 11:42:06 +01:00
Nico Schottelius
0c141187bf Add hints to tools and add another gpl3 header 2008-03-17 08:57:59 +01:00
Nico Schottelius
5a7d12d254 really mark the german documentation as outdated 2008-03-17 08:30:07 +01:00
Nico Schottelius
8597f011f9 updated manpage for ccollect_analyse_logs 2008-03-17 08:29:02 +01:00
Nico Schottelius
e6fe61aa0e Update documentation for 0.7.0 2008-03-15 10:38:36 +01:00
Nico Schottelius
f8e36a89a8 outdate the german documentation 2008-03-14 17:56:04 +01:00
Nico Schottelius
d15a13dac8 add braindumps 2008-03-14 17:54:29 +01:00
Nico Schottelius
6fe776d7a7 update changes 2008-03-14 09:15:26 +01:00
Nico Schottelius
4487f89fb1 update manpages 2008-03-10 08:32:51 +01:00
Nico Schottelius
65c329e892 and also something todo for 0.7.3 2008-03-10 08:30:43 +01:00
Nico Schottelius
95e33b844d move todos to new version 2008-03-09 23:28:51 +01:00
Nico Schottelius
33471a3c24 update ccollect_delete_source.sh to 0.7 style
- and update manpages to the new names
- on the way home from duebendorf - rapperswil - bellinzona - giubiasco -
  zuerich - gossau!
2008-03-09 23:06:18 +01:00
Nico Schottelius
213c15297c rename 2008-03-07 23:14:13 +01:00
Nico Schottelius
f91c51d5fb remove cinit fragments 2008-03-07 23:01:27 +01:00
Nico Schottelius
d44c3cabc5 add gpl3 header template 2008-03-07 18:05:15 +01:00
Nico Schottelius
bb08cd3208 update changes 2008-03-07 17:54:24 +01:00
Nico Schottelius
55edd60758 rename manpages 2008-03-07 17:54:04 +01:00
Nico Schottelius
923b3a387a add hints for 0.6.3 2008-03-04 23:01:34 +01:00
Nico Schottelius
4d4ba36e68 Add todo for 0.6.3 2007-08-27 19:24:48 +02:00
Nico Schottelius
be207d7520 update date and version 2007-08-27 19:15:35 +02:00
Nico Schottelius
57a9cf489e Changes for 0.6.2 2007-08-27 19:13:59 +02:00
Nico Schottelius
ab482026f2 More todo 2007-08-27 19:13:51 +02:00
Nico Schottelius
a4cc7c0779 Update changes for 0.6.2 2007-08-27 18:59:26 +02:00
Nico Schottelius
7511d3f783 Fix typo 2007-08-20 18:27:50 +02:00
Nico Schottelius
2cbfdf5bd5 Add section about ccollect-logwrapper in the manual 2007-08-20 18:20:31 +02:00
Nico Schottelius
b007d346eb Update documentation for ccollect-logwrapper 2007-08-20 18:09:48 +02:00
Nico Schottelius
916e0cb2ff Add manpage for the logwrapper 2007-08-20 18:07:10 +02:00
Nico Schottelius
e4969a390a Update changelog, documentation and fix ccollect-logwrapper.sh 2007-08-20 17:45:06 +02:00
Nico Schottelius
2a45844e1c Also warn if there's a mostly impossible error 2007-08-20 17:29:24 +02:00
Nico Schottelius
8bce8d8620 something with
being tired. working too much :/
2007-08-18 00:15:48 +02:00
Nico Schottelius
fd6a50a36b with -tcp1 need to head -n1, not tail -n1 anymore 2007-08-17 23:50:40 +02:00
Nico Schottelius
2c80eab8e1 Include intelligent cloning 2007-08-17 23:31:45 +02:00
Nico Schottelius
e71146dbbf Create destination on real path 2007-08-17 15:45:21 +02:00
Nico Schottelius
caa6e9f023 Add pdf support 2007-08-17 11:23:32 +02:00
Nico Schottelius
d61f7e1fda Minor corrections in documentation 2007-08-17 10:48:33 +02:00
Nico Schottelius
194787e2d2 Add manpage for list_ccollect_intervals 2007-08-17 10:13:14 +02:00
Nico Schottelius
bb4a870852 add example for hostkeysalias 2007-08-17 00:23:17 +02:00
Nico Schottelius
e5010b0d06 less todo 2007-08-17 00:21:32 +02:00
Nico Schottelius
0161529e1c Cleanup exit calls 2007-08-17 00:19:53 +02:00
Nico Schottelius
f609fbc25c Add ssh port hint 2007-08-17 00:11:48 +02:00
Nico Schottelius
2c38ea503f Update todo for 0.6.1 2007-08-17 00:10:08 +02:00
Nico Schottelius
73501e8963 finished 0.5.3 todos 2007-08-16 23:52:36 +02:00
Nico Schottelius
e8044b6f79 Using source names or interval in pre_/post_exec scripts 2007-08-16 23:50:55 +02:00
Nico Schottelius
abb408a9b2 Add explanation for delete_incomplete 2007-08-16 23:46:57 +02:00
Nico Schottelius
31b90624c8 Add How can I prevent missing the right time to enter my password? to faq 2007-08-16 23:38:25 +02:00
Nico Schottelius
326dbc52e3 Add incompatibilties 2007-08-16 22:40:19 +02:00
Nico Schottelius
951a88c736 Change license to GPLv3 2007-08-16 22:23:33 +02:00
Nico Schottelius
27d9e2e429 Update todos - part 1 2007-08-16 21:39:54 +02:00
Nico Schottelius
43ca90a2f2 Update changes for 0.6 2007-08-16 21:38:51 +02:00
Nico Schottelius
11a2b5a6ba things todo for 0.6.1 2007-08-16 20:58:53 +02:00
Nico Schottelius
6054ee5369 Tooooooooodooo 2007-08-16 20:06:26 +02:00
Nico Schottelius
3da1d2a02c Updated changes for 0.6. 2007-08-16 20:01:45 +02:00
Nico Schottelius
bfc637bdb2 Update main manpage 2007-08-16 19:59:54 +02:00
Nico Schottelius
97c56b247e Add manpage for delete_ccollect_source 2007-08-16 19:57:00 +02:00
Nico Schottelius
23bc864626 Minor modifications on manpage 2007-08-16 19:56:42 +02:00
Nico Schottelius
6a891bc2b8 Add manpage for add_ccollect_source 2007-08-16 19:43:37 +02:00
Nico Schottelius
0962090138 more todo for me in 0.6 2007-08-16 18:53:37 +02:00
Nico Schottelius
ed91b488da Change rsync_options to one argument per line 2007-08-14 15:31:49 +02:00
Nico Schottelius
c042479097 Add much more timing information
And empty $@ and $#, which we'll reuse later.
2007-08-14 15:26:20 +02:00
Nico Schottelius
dc7d5d614b Reorder: first check if we should take all sources, then execute pre-exec 2007-08-14 14:41:36 +02:00
Nico Schottelius
965c3e37f7 More todo for netstream 2007-08-14 14:29:17 +02:00
Nico Schottelius
e87a7a5db1 More todo 2007-08-07 07:49:50 +02:00
Nico Schottelius
2138967b19 Add hints from tonnerre 2007-06-22 11:22:09 +02:00
Nico Schottelius
8b99b05dfd Add running on netbsd 2007-06-22 11:19:15 +02:00
Nico Schottelius
fb6749098f Update netstream requirements 2007-06-22 11:17:14 +02:00
Nico Schottelius
242d3e62b9 Todo for netstream 2007-06-22 11:09:05 +02:00
Nico Schottelius
10870c4ce1 More doc on logwrapper 2007-06-22 11:08:48 +02:00
Nico Schottelius
ca8918d2c0 Add initial logwrapper documentation 2007-06-08 10:42:18 +02:00
Nico Schottelius
26d61c8c2c Cosmetic changes (I) 2007-03-13 08:22:47 +01:00
Nico Schottelius
f1d1d2b048 notify on unlisted platforms 2007-02-25 18:31:47 +01:00