diff --git a/src/boring-backup b/src/boring-backup index a07e24f..d0d7f63 100755 --- a/src/boring-backup +++ b/src/boring-backup @@ -119,6 +119,8 @@ __iter=1 # iterator # Startup log. date +'Start: %d %b %Y %T %z' log "Backup STARTED" +log -p "Library path: $LIBRARY" +log -p "Log file: $__log_file" log -p "Configuration file: $([ "$__config" ] || echo not specified && echo "$__config")" log "Scripts to process (${__count}): ${__args[@]}" diff --git a/src/lib/handlers/cp.sh b/src/lib/handlers/cp.sh index f5e61ef..bddd085 100644 --- a/src/lib/handlers/cp.sh +++ b/src/lib/handlers/cp.sh @@ -31,6 +31,7 @@ handler::cp() { if [[ "$uri" == "$__main_target" ]]; then : # Do nothing. Source and destination is the same + log "Nothing to do: Source and destination is the same: $__main_target" else # Copy backups to another destination parse_uri "$uri"