aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Müller2021-05-03 12:36:10 +0200
committerWolfgang Müller2021-05-03 12:36:10 +0200
commit981d4f04c8c66946d4a81da61d0c6c035a166d52 (patch)
tree6861e23e271edb145b1e227e65ec51b37c87a8b1
parentbda62ea8ad3a0956af167987a7878c7a36304e2a (diff)
downloadlifeboat-981d4f04c8c66946d4a81da61d0c6c035a166d52.tar.gz
Mention the name of the backup in report_backup0.3.1
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).
Diffstat (limited to '')
-rwxr-xr-xlifeboat2
1 files changed, 1 insertions, 1 deletions
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 <lifeboat@$(hostname -f)>
- Subject: lifeboat: backup for $(hostname) on $(date)
+ Subject: lifeboat: backup for $repo on $(date)
X-Report: lifeboat
$(run_backup 2>&1)