ccollect/doc
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
..
braindumps add braindumps 2008-03-14 17:54:29 +01:00
changes add changes for the next release 2009-06-10 09:56:13 +02:00
man minor notice changes 2008-03-17 11:42:06 +01:00
todo update todo and changes 2009-02-02 12:16:04 +01:00
ccollect-DE.text really mark the german documentation as outdated 2008-03-17 08:30:07 +01:00
ccollect-restoring.text +nc 2008-08-19 15:25:46 +02:00
ccollect.text Add option quiet_if_down. 2009-06-25 21:34:42 -07:00
gpl3-header remove cinit fragments 2008-03-07 23:01:27 +01:00
HACKING [DOC] give some hints on how to hack ccollect 2009-06-20 21:00:21 +02:00
logwrapper.text More doc on logwrapper 2007-06-22 11:08:48 +02:00
release-checklist plus date 2006-10-20 00:05:10 +02:00