From 18dd956085ae52ff407fc05e8d744976f7f91cc5 Mon Sep 17 00:00:00 2001 From: Rodrigo Campos Date: Thu, 25 Nov 2010 11:07:24 -0300 Subject: [PATCH] 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 --- bacap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.43.0