From f64b516402af4470246b55a3d300309fec536281 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 1 Sep 2024 21:25:48 +0000 Subject: [PATCH] fix --- gentoo.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gentoo.sh b/gentoo.sh index 67df496..8d49345 100644 --- a/gentoo.sh +++ b/gentoo.sh @@ -129,14 +129,14 @@ autoLogin() { osSnapshots() { echo mkdir $2 - echo "[Creating new OS snapshot to $2/$3.tgz]" + echo "[Creating new OS snapshot to $1/$2.tgz]" echo echo - NEW_TAR_EXCLUDES="$TAR_EXCLUDES --exclude=/minio --exclude=$TARGET/* --exclude=/var/lib/docker " + NEW_TAR_EXCLUDES="$TAR_EXCLUDES --exclude=/var/lib/gitea --exclude=/minio --exclude=/var/lib/akkoma --exclude=/var/lib/pleroma --exclude=$TARGET/* --exclude=/var/lib/docker " echo - rm -f $2/$3.tgz - time tar cpzvf $2/$3.tgz $NEW_TAR_EXCLUDES / - chown $USER:$USER $2/$3.tgz + rm -f $1/$2.tgz + time tar cpzvf $1/$2.tgz $NEW_TAR_EXCLUDES / + chown $USER:$USER $1/$2.tgz } homeBackup() { @@ -169,7 +169,7 @@ osBackup() { echo echo "Aborting Install, $TARGET/@$ROOT_MAPPER_NAME/usr/bin/bash not found!" echo - echo + echo exit 1 fi