From: Rodrigo Campos Date: Thu, 25 Nov 2010 14:07:24 +0000 (-0300) Subject: Print the backup start time for each host X-Git-Url: https://git.llucax.com/software/bacap.git/commitdiff_plain/18dd956085ae52ff407fc05e8d744976f7f91cc5 Print the backup start time for each host This can be useful when the backup takes a lot more time that the expected to finish and we don't know which host(s) caused the long delay. Signed-off-by: Rodrigo Campos --- diff --git a/bacap b/bacap index c7cdeab..1f6f9cb 100755 --- a/bacap +++ b/bacap @@ -114,7 +114,7 @@ do current_dir="$host_backup_path/`readlink \"$current_link\"`" extra_flags= plog "-----------------------------------------------------------------" - plog "Backup for host $host" + plog "Backup for host $host started at `date '+%Y-%m-%d %H:%M:%S'`" plog "-----------------------------------------------------------------" plog "Source: $src" plog "Destination: $dst"