This commit is contained in:
Your Name 2024-09-01 21:25:48 +00:00
parent e49d5b5c39
commit f64b516402

View File

@ -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() {