From 0b3c02345f2142b9f1d0b4fd6f7f523b088e2710 Mon Sep 17 00:00:00 2001 From: Jan-Piet Mens Date: Sun, 14 Oct 2018 10:26:53 +0200 Subject: [PATCH] Flag --hostname has been deprecated, use --host --- bin/backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/backup b/bin/backup index 5010226..43aca01 100755 --- a/bin/backup +++ b/bin/backup @@ -64,7 +64,7 @@ do_local_backup () { /etc/backup/local.pre $TARGET fi - $RESTIC --exclude-file /etc/backup/local.exclude backup --hostname $BACKUP_HOSTNAME $BACKUP_ARGS $BACKUP_DIR + $RESTIC --exclude-file /etc/backup/local.exclude backup --host $BACKUP_HOSTNAME $BACKUP_ARGS $BACKUP_DIR if [[ -x /etc/backup/local.post ]]; then /etc/backup/local.post $TARGET