mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-26 08:46:28 +08:00
fix: 解决网站备份路径问题 (#1604)
This commit is contained in:
parent
885e3b60f0
commit
44ca529027
1 changed files with 0 additions and 1 deletions
|
|
@ -427,7 +427,6 @@ func (u *CronjobService) handleWebsite(cronjob model.Cronjob, backup model.Backu
|
|||
record.FileDir = strings.TrimPrefix(backupDir, localDir+"/")
|
||||
}
|
||||
record.FileName = fmt.Sprintf("website_%s_%s.tar.gz", website.PrimaryDomain, startTime.Format("20060102150405"))
|
||||
paths = append(paths, fmt.Sprintf("%s/%s", record.FileDir, record.FileName))
|
||||
if err := handleWebsiteBackup(&website, backupDir, record.FileName); err != nil {
|
||||
return paths, err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue