mirror of https://github.com/1Panel-dev/1Panel
fix: 应用恢复后自动同步数据库 (#1816)
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…
Reference in New Issue