diff --git a/ccollect.sh b/ccollect.sh index 5fa2638..d0c272e 100755 --- a/ccollect.sh +++ b/ccollect.sh @@ -397,8 +397,7 @@ while [ "${i}" -lt "${no_sources}" ]; do # # Check whether to delete incomplete backups # - if [ -f "${c_incomplete}" - -o -f "${CDEFAULTS}/${f_incomplete}]; then + if [ -f "${c_incomplete}" -o -f "${CDEFAULTS}/${f_incomplete}" ]; then DELETE_INCOMPLETE="yes" fi diff --git a/doc/ccollect.text b/doc/ccollect.text index 37de4e8..8b2588c 100644 --- a/doc/ccollect.text +++ b/doc/ccollect.text @@ -1,7 +1,7 @@ ccollect - Installing, Configuring and Using ============================================ Nico Schottelius -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 @@ -746,6 +746,29 @@ is made (i.e. report only mode)" 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. ------ diff --git a/doc/todo/0.7.1 b/doc/todo/0.7.1 index a0af574..f76ba6d 100644 --- a/doc/todo/0.7.1 +++ b/doc/todo/0.7.1 @@ -1,6 +1,12 @@ - remove basename -> include config from cconf! -> standard! +14:15 also alle tools/ccollect_* +14:15 mach mal n besseres Makefile :) +14:15 hatte die extra deswegen umbenannt +14:15 nehme ich mal als hinweis für 0.7.1 + + --------------------------------------------------------------------------------