feat: 增加从快照恢复功能

feat: 增加升级备份与恢复
This commit is contained in:
ssongliu
2023-01-09 22:55:10 +08:00
committed by ssongliu
parent e3a15e88d7
commit e7af9de9ed
56 changed files with 12385 additions and 315 deletions

View File

@@ -3,9 +3,10 @@ package server
import (
"encoding/gob"
"fmt"
"time"
"github.com/1Panel-dev/1Panel/backend/init/app"
"github.com/1Panel-dev/1Panel/backend/init/business"
"time"
"github.com/1Panel-dev/1Panel/backend/cron"
"github.com/1Panel-dev/1Panel/backend/init/cache"
@@ -34,7 +35,7 @@ func Start() {
gob.Register(psession.SessionUser{})
cache.Init()
session.Init()
gin.SetMode(global.CONF.System.Level)
gin.SetMode("debug")
cron.Run()
business.Init()