From 2c6540219306432923ea1e43459eaea777b85b0f Mon Sep 17 00:00:00 2001 From: Eric Lay Date: Sat, 17 Jun 2023 06:54:10 -0500 Subject: [PATCH] backup script --- backup | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backup b/backup index ae461a7..f0a8a02 100755 --- a/backup +++ b/backup @@ -1,7 +1,8 @@ #!/bin/sh # Setting this, so the repo does not need to be given on the commandline: -export BORG_REPO=ez@reposerver:/backup/stinkpad +machine="$( hostnamectl --static )" +export BORG_REPO="ez@reposerver:/backup/$machine" # See the section "Passphrase notes" for more infos. export BORG_PASSPHRASE=''