mirror of
https://github.com/dataease/dataease.git
synced 2026-05-14 12:22:10 +08:00
fix: 修复 dectl 脚本在回复 MySQL 时可能会出现的无法启动问题
This commit is contained in:
@@ -371,6 +371,7 @@ function restore() {
|
|||||||
mkdir -p $DE_RUNNING_BASE
|
mkdir -p $DE_RUNNING_BASE
|
||||||
fi
|
fi
|
||||||
echo "恢复备份 $target"
|
echo "恢复备份 $target"
|
||||||
|
rm -rf $DE_RUNNING_BASE/data/mysql/*
|
||||||
tar -zxf $target --directory=$DE_RUNNING_BASE
|
tar -zxf $target --directory=$DE_RUNNING_BASE
|
||||||
service dataease start
|
service dataease start
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user