makefile / hinweise für tools/

Signed-off-by: Nico Schottelius <nico@denkbrett.schottelius.org>
This commit is contained in:
Nico Schottelius 2008-06-03 14:16:11 +02:00
parent 5775bdb28d
commit d5c7b57b09
3 changed files with 31 additions and 3 deletions

View file

@ -397,8 +397,7 @@ while [ "${i}" -lt "${no_sources}" ]; do
# #
# Check whether to delete incomplete backups # Check whether to delete incomplete backups
# #
if [ -f "${c_incomplete}" if [ -f "${c_incomplete}" -o -f "${CDEFAULTS}/${f_incomplete}" ]; then
-o -f "${CDEFAULTS}/${f_incomplete}]; then
DELETE_INCOMPLETE="yes" DELETE_INCOMPLETE="yes"
fi fi

View file

@ -1,7 +1,7 @@
ccollect - Installing, Configuring and Using ccollect - Installing, Configuring and Using
============================================ ============================================
Nico Schottelius <nico-ccollect__@__schottelius.org> Nico Schottelius <nico-ccollect__@__schottelius.org>
0.7, for ccollect 0.7.0, Initial Version from 2006-01-13 0.7.1, for ccollect 0.7.1, Initial Version from 2006-01-13
:Author Initials: NS :Author Initials: NS
@ -746,6 +746,29 @@ is made (i.e. report only mode)"
This hint was reported by Daniel Aubry. This hint was reported by Daniel Aubry.
Testing for host reachabilty
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you want to test whether the host you try to backup is reachable, you can use
the following script as source specific pre-exec:
--------------------------------------------------------------------------------
#!/bin/sh
# ping -c1 -q `cat "/etc/ccollect/sources/$name/source" | cut -d"@" -f2 | cut -d":" -f1`
--------------------------------------------------------------------------------
This hint was reported by Daniel Aubry.
Easy check for errors
~~~~~~~~~~~~~~~~~~~~~
If you want to see whether there have been any errors while doing the backup,
you can run `ccollect` together with `ccollect_analyse_logs.sh`:
--------------------------------------------------------------------------------
$ ccollect | ccollect_analyse_logs.sh e
--------------------------------------------------------------------------------
F.A.Q. F.A.Q.
------ ------

View file

@ -1,6 +1,12 @@
- remove basename - remove basename
-> include config from cconf! -> standard! -> include config from cconf! -> standard!
14:15 <telmich> also alle tools/ccollect_*
14:15 <dev-zero> mach mal n besseres Makefile :)
14:15 <telmich> hatte die extra deswegen umbenannt
14:15 <telmich> nehme ich mal als hinweis für 0.7.1
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------