mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-19 08:19:15 +08:00
fix: 应用恢复后自动同步数据库 (#1816)
This commit is contained in:
parent
c7e7629d85
commit
e4462c06fe
@ -202,6 +202,7 @@ func handleAppRecover(install *model.AppInstall, recoverFile string, isRollback
|
||||
global.LOG.Errorf("handle recover from sql.gz failed, err: %v", err)
|
||||
return err
|
||||
}
|
||||
_ = NewIMysqlService().LoadFromRemote("local")
|
||||
}
|
||||
|
||||
if err := handleUnTar(tmpPath+"/app.tar.gz", fmt.Sprintf("%s/%s", constant.AppInstallDir, install.App.Key)); err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user