From 0a6befd3dd0ca0b4503565d4e40a5bfd691e8a48 Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Sun, 5 Sep 2021 20:47:23 -0500 Subject: [PATCH] Get backup script to actually work --- backup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backup b/backup index a2accb8..ff9eff2 100755 --- a/backup +++ b/backup @@ -10,7 +10,7 @@ name="$(date -u +'%Y-%m-%d')" # repository_dir="$(dirname "${1:-}/gets-removed")" # repository="${repository_dir}/${name}/$(date -u +'%Y-%m')" -repository=/mnt/drive/Backups +repository=/mnt/drive/Backups/ # Set the `bup` directory here so it affects all the `bup` commands. export BUP_DIR="${repository}" @@ -51,4 +51,4 @@ nice -n19 ionice -c3 \ --name="${name}" \ --compress=9 \ -vv \ - "${repository}" + '/'