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' +