From 90fed6868eedf7300b546cd74ef711ec94df3916 Mon Sep 17 00:00:00 2001 From: locker98 Date: Sat, 6 Apr 2024 21:49:11 -0400 Subject: [PATCH] added hostname to backup file name --- backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup b/backup index fcac484..077f808 100755 --- a/backup +++ b/backup @@ -5,7 +5,7 @@ if [ $# -ne 1 ]; then fi -BACKUP_LOCATION="${1}backup-$(date +%Y-%m-%d).tar" +BACKUP_LOCATION="${1}backup-${HOSTNAME}-$(date +%Y-%m-%d).tar" echo $BACKUP_LOCATION