From e4462c06fefabb1f198a6b7e8b1d145f44235194 Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Thu, 3 Aug 2023 10:42:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=BA=94=E7=94=A8=E6=81=A2=E5=A4=8D?= =?UTF-8?q?=E5=90=8E=E8=87=AA=E5=8A=A8=E5=90=8C=E6=AD=A5=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=BA=93=20(#1816)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/service/backup_app.go | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/app/service/backup_app.go b/backend/app/service/backup_app.go index 2b3ede959..6e235e2d1 100644 --- a/backend/app/service/backup_app.go +++ b/backend/app/service/backup_app.go @@ -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 {