Commit graph

279 commits

Author SHA1 Message Date
Nico Schottelius
56879ed9fb even more changes
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-07-29 09:24:50 +02:00
Nico Schottelius
cf1459251e specifiy, which options can be used as defaults
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-07-29 09:22:42 +02:00
Nico Schottelius
48e181674a Documentation updates and introduce new section 'Default options'
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-07-29 09:16:51 +02:00
Nico Schottelius
3431646fba update document version to 0.8
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-07-29 08:49:05 +02:00
Nico Schottelius
ab74059c77 Documentate changes from 0.7 to 0.8
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-07-29 08:46:22 +02:00
Nico Schottelius
aeb3ff6d89 john also introduced default option support
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-07-29 08:42:25 +02:00
Nico Schottelius
852155a4db Update changes list: +6 changes
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-07-29 08:33:59 +02:00
Nico Schottelius
ba11374c6f DOC: cosmetic changes
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-07-28 17:09:56 +02:00
Nico Schottelius
2b890b0316 Merge commit 'john/updates'
Fixed alot of conflicts due to parallel work, but it looks very good now!

Conflicts:
	ccollect.sh
2009-07-24 09:09:16 +02:00
Nico Schottelius
e136b132e6 update changes list
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-07-24 08:59:13 +02:00
Nico Schottelius
017b80f59b more todo (thanks goes to D-Tick)
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-07-19 19:29:06 +02:00
Nico Schottelius
19bc94a756 [DOC] correct destination examples
Thanks, D-Tick.

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-07-08 16:08:08 +02:00
Nico Schottelius
31ef31801e only consider directories as sources
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-07-01 18:03:51 +02:00
Nico Schottelius
65a7badd4d changes for the next version
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-07-01 12:43:22 +02:00
Nico Schottelius
de6a7893fc [DOC] Move German documentation to old/ (unmaintained)
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-07-01 10:03:00 +02:00
Nico Schottelius
194148b5b3 update url of homepage
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-07-01 10:00:18 +02:00
jll2
dd7a047408 Add option quiet_if_down.
If a source is not connectable, ccollect.sh issues a series of error
messages such as:

$ ccollect.sh  "int 1" dummy
2009-06-25-21:04:14: ccollect 0.7.1: Beginning backup using interval int 1
[dummy] 2009-06-25-21:04:14: Beginning to backup
[dummy] ssh: connect to host Ha port 20: No route to host
[dummy] rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
[dummy] rsync error: unexplained error (code 255) at io.c(600) [receiver=3.0.5]
[dummy] 2009-06-25-21:04:17: Error: source Ha:/tmp is not readable. Skipping.
2009-06-25-21:04:17: Finished

If you expect the source to be up, you want to see these messages.
However, for a notebook computer or other portable machine, it may be
normal for it to be disconnected.  If quiet_if_down is specified for
that source, then the ssh and rsync errors are suppressed and the
"Error:" prefix is removed from the "skipping" message:

$ ccollect.sh  "int 1" dummy
2009-06-25-21:03:33: ccollect 0.7.1: Beginning backup using interval int 1
[dummy] 2009-06-25-21:03:34: Beginning to backup
[dummy] 2009-06-25-21:03:37: Source Ha:/tmp is not readable. Skipping.
2009-06-25-21:03:37: Finished

I considered the alternative implementation of adding the logic to
ccollect_analyse_logs.sh to enable it to separate rsync messages
generated the initial connection test from messages generated by
rsync used for an actual backup data transfer.  Adding this approach
to ccollect.sh appeared much simpler.
2009-06-25 21:34:42 -07:00
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