Commit graph

258 commits

Author SHA1 Message Date
Nico Schottelius
b13ed10eaf add start script from thorsten
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-05-27 17:11:32 +02:00
Nico Schottelius
43bba003b2 more cleanups
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2010-04-09 21:06:24 +02:00
Nico Schottelius
63686c3598 more changes for the next release
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2010-03-26 09:37:25 +01:00
Nico Schottelius
72034cb042 add hints on pre_exec error handling
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2010-03-26 09:36:22 +01:00
Nico Schottelius
ca9106054b update version in the documentation
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-02 07:46:39 +01:00
Nico Schottelius
44442a09c9 todo for the version after the next version
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-02 07:45:51 +01:00
Nico Schottelius
9c47412991 integrate pdf support for documents soon
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 16:21:21 +01:00
Nico Schottelius
0b8e6409cf more changes for the upcoming release
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 16:18:36 +01:00
Nico Schottelius
e508ef052f reorder operating systems in documentation
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 14:25:06 +01:00
Nico Schottelius
8ae649c761 update release checklist
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 14:22:08 +01:00
Nico Schottelius
5d0a3c73d2 begin to cleanup the todo list
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 14:20:24 +01:00
Nico Schottelius
e18c9fa94d remove old todos, create new todo list
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 14:18:28 +01:00
Nico Schottelius
49ef5871bc remove old braindumps
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 14:10:30 +01:00
Nico Schottelius
afe732a69f more changes for the next version
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 14:04:27 +01:00
Nico Schottelius
8b01949f4b begin to claeunp the restorign document
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 13:44:43 +01:00
Nico Schottelius
e1ccba4f57 update documentation with all exported variables
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 13:36:50 +01:00
Nico Schottelius
7d1669827a and... even more changes.. this will be a great one
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-31 10:19:03 +01:00
Nico Schottelius
c314f284a2 export destination_* for usage in post_exec in documentate it
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-31 10:18:23 +01:00
Nico Schottelius
375f9ebafe add some more notes on post-configuring ccollect
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-31 10:10:09 +01:00
Nico Schottelius
cf62a0fada even more changes for the next version
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-31 10:01:58 +01:00
Nico Schottelius
67aead1db2 more changes for the next release
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-30 10:19:44 +01:00
Nico Schottelius
1c8a0808a6 and more stuff for the next release
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-25 19:37:36 +01:00
Nico Schottelius
e8a977720f one more bugfix for the next release
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-25 15:44:16 +01:00
Nico Schottelius
9d94beec68 more changes for the next version
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-25 15:27:11 +01:00
Nico Schottelius
5d41dea79d update manpage of ccollect: update argument order
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-12 08:04:22 +02:00
Nico Schottelius
59f880ea86 [DOC] fix typo
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-08-21 13:06:01 +02:00
Nico Schottelius
1f84f87888 changes for the next version
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-08-21 13:05:49 +02:00
Nico Schottelius
26f4ae777b prepare release 0.8
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-08-20 17:36:09 +02:00
Nico Schottelius
b749a05473 a bugfix into the next release
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-08-20 09:46:38 +02:00
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