From 2a45844e1c2afcff6dc6d1b2ca61812a5f44a0f8 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 20 Aug 2007 17:29:24 +0200 Subject: [PATCH] Also warn if there's a mostly impossible error --- ccollect.sh | 3 ++- doc/todo/0.6.1 | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ccollect.sh b/ccollect.sh index 048f051..d699963 100755 --- a/ccollect.sh +++ b/ccollect.sh @@ -467,7 +467,8 @@ while [ "${i}" -lt "${no_sources}" ]; do _exit_err "Creating ${destination_dir} failed. Skipping." # absulte now, it's existing - abs_destination_dir="$(cd "${destination_dir}" && pwd -P)" + abs_destination_dir="$(cd "${destination_dir}" && pwd -P)" || \ + _exit_err "Changing to newly created ${destination_dir} failed. Skipping." # # added marking in 0.6 (and remove it, if successful later) diff --git a/doc/todo/0.6.1 b/doc/todo/0.6.1 index f92d5ac..99a17eb 100644 --- a/doc/todo/0.6.1 +++ b/doc/todo/0.6.1 @@ -5,6 +5,11 @@ - do not delete_incomplete, when there's only one backup left! - .ccollect-marker is deleted by rsync at the beginning! - fix marking +- add logwrapper +- add loganalyser + speedup is + error codes + vanished files (see netstream)!!! Done: - Improve finding backup from another interval: @@ -15,3 +20,4 @@ Done: not needed: - think about 'prefer_same_interval' / 'prefer_latest' +