diff --git a/backend/app/service/cronjob_helper.go b/backend/app/service/cronjob_helper.go index 52b0d1ee3..91bd0834e 100644 --- a/backend/app/service/cronjob_helper.go +++ b/backend/app/service/cronjob_helper.go @@ -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 }