Flag --hostname has been deprecated, use --host

This commit is contained in:
Jan-Piet Mens 2018-10-14 10:26:53 +02:00
parent 55c40c9bc7
commit 0b3c02345f

View file

@ -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