Commit graph

85 commits

Author SHA1 Message Date
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
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
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
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
27c838163a add macosx as tested
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-02-04 16:28:57 +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
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
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
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
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
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
0c141187bf Add hints to tools and add another gpl3 header 2008-03-17 08:57:59 +01:00
Nico Schottelius
e6fe61aa0e Update documentation for 0.7.0 2008-03-15 10:38:36 +01:00
Nico Schottelius
be207d7520 update date and version 2007-08-27 19:15:35 +02:00
Nico Schottelius
2cbfdf5bd5 Add section about ccollect-logwrapper in the manual 2007-08-20 18:20:31 +02:00
Nico Schottelius
e4969a390a Update changelog, documentation and fix ccollect-logwrapper.sh 2007-08-20 17:45:06 +02:00
Nico Schottelius
bb4a870852 add example for hostkeysalias 2007-08-17 00:23:17 +02:00
Nico Schottelius
f609fbc25c Add ssh port hint 2007-08-17 00:11:48 +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
8b99b05dfd Add running on netbsd 2007-06-22 11:19:15 +02:00
Nico Schottelius
f1d1d2b048 notify on unlisted platforms 2007-02-25 18:31:47 +01:00
Nico Schottelius
e2706e6403 Add tested platforms 2007-02-25 18:29:33 +01:00
Nico Schottelius
9bc8d266f2 Minor docu update 2007-01-27 18:28:57 +01:00
Nico Schottelius
50c75ccf43 Several minor changes 2006-10-31 07:58:00 +01:00
Nico Schottelius
bf4433ad63 Hint: source specific intervals 2006-10-26 10:30:14 +02:00
Nico Schottelius
82a6e8df8d Document changes for 0.5.2
Update example section in documentation
2006-10-22 00:11:21 +02:00
Nico Schottelius
673d46ce39 Changes for release 2006-10-19 14:52:06 +02:00
Nico Schottelius
e64e2655de Remove the 0.4.2 note
also begin to integrate systems without wget
2006-10-15 23:39:43 +02:00
Nico Schottelius
5b62a92aad Changes for 0.5 2006-10-15 21:28:10 +02:00
Lina Boelling
bb7dd035b5 Fix broken English by Nico
Thanks ettercat ;-)
2006-10-13 11:52:32 +02:00
Nico Schottelius
22465abdb5 Added size comparing in quickstart 2006-06-17 00:28:30 +02:00
Nico Schottelius
a06a5afebf Changes for 0.4.2 2006-06-17 00:19:59 +02:00
Nico Schottelius
df9cba0502 [bugfix] relative $CCOLLECT_CONF
When the path to the cconfig-dir is specified relative in $CCOLLECT_CONF,
ccollect will fail at the second backup run.
2006-06-17 00:12:38 +02:00
Nico Schottelius
466220823b Update doc, preperation for 0.4.2 2006-06-16 23:24:07 +02:00
Nico Schottelius
061b1b4ae2 Small change to minute/hour format was wrong in corrected documentation 2006-06-15 23:48:05 +02:00
Nico Schottelius
8fd52561c1 English correction
Many thanks to Lina -ettercat- Boelling
2006-06-15 23:46:30 +02:00
Nico Schottelius
a524a9e7a3 too late 2006-06-15 23:45:33 +02:00
Nico Schottelius
c6d18d4699 Fixed some borken English 2006-06-13 13:25:09 +02:00
Nico Schottelius
d327a1bf64 Added more date information 2006-04-29 00:30:02 +02:00