fix
This commit is contained in:
parent
e49d5b5c39
commit
f64b516402
12
gentoo.sh
12
gentoo.sh
@ -129,14 +129,14 @@ autoLogin() {
|
|||||||
osSnapshots() {
|
osSnapshots() {
|
||||||
echo
|
echo
|
||||||
mkdir $2
|
mkdir $2
|
||||||
echo "[Creating new OS snapshot to $2/$3.tgz]"
|
echo "[Creating new OS snapshot to $1/$2.tgz]"
|
||||||
echo
|
echo
|
||||||
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
|
echo
|
||||||
rm -f $2/$3.tgz
|
rm -f $1/$2.tgz
|
||||||
time tar cpzvf $2/$3.tgz $NEW_TAR_EXCLUDES /
|
time tar cpzvf $1/$2.tgz $NEW_TAR_EXCLUDES /
|
||||||
chown $USER:$USER $2/$3.tgz
|
chown $USER:$USER $1/$2.tgz
|
||||||
}
|
}
|
||||||
|
|
||||||
homeBackup() {
|
homeBackup() {
|
||||||
@ -169,7 +169,7 @@ osBackup() {
|
|||||||
echo
|
echo
|
||||||
echo "Aborting Install, $TARGET/@$ROOT_MAPPER_NAME/usr/bin/bash not found!"
|
echo "Aborting Install, $TARGET/@$ROOT_MAPPER_NAME/usr/bin/bash not found!"
|
||||||
echo
|
echo
|
||||||
echo
|
echo
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user