aboutsummaryrefslogtreecommitdiffstats
path: root/alpine-backup
diff options
context:
space:
mode:
Diffstat (limited to 'alpine-backup')
-rwxr-xr-xalpine-backup2
1 files changed, 2 insertions, 0 deletions
diff --git a/alpine-backup b/alpine-backup
index 22af5a5..cf05943 100755
--- a/alpine-backup
+++ b/alpine-backup
@@ -9,6 +9,8 @@ else
exit 1
fi
+mkdir -p "$BACKUP_LOCATION" "$BACKUP_CACHE"
+
# set the suffix of backup files when ecryptions is enabled
[ -n "$ENCRYPTION" ] && export SUFFIX=".$ENCRYPTION"