From 981d4f04c8c66946d4a81da61d0c6c035a166d52 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Mon, 3 May 2021 12:36:10 +0200 Subject: Mention the name of the backup in report_backup Currently, multiple backups on the same host are hard to identify, so print out the repo name instead of the hostname (which is visible in the From header anyway). --- lifeboat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lifeboat b/lifeboat index b8724fc..11148f9 100755 --- a/lifeboat +++ b/lifeboat @@ -27,7 +27,7 @@ report_backup() { cat <<-EOF | sendmail "$recipient" From: Lifeboat - Subject: lifeboat: backup for $(hostname) on $(date) + Subject: lifeboat: backup for $repo on $(date) X-Report: lifeboat $(run_backup 2>&1) -- cgit v1.2.3-2-gb3c3