fix
This commit is contained in:
parent
e49d5b5c39
commit
f64b516402
10
gentoo.sh
10
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() {
|
||||
|
Loading…
Reference in New Issue
Block a user