diff --git a/backend/app/service/snapshot.go b/backend/app/service/snapshot.go index 8b616a9b0..cf6c3f0fe 100644 --- a/backend/app/service/snapshot.go +++ b/backend/app/service/snapshot.go @@ -216,6 +216,7 @@ func (u *SnapshotService) HandleSnapshot(isCronjob bool, logPath string, req dto if err != nil { return "", err } + _ = snapshotRepo.Update(snap.ID, map[string]interface{}{"status": constant.StatusWaiting}) snapStatus, _ = snapshotRepo.GetStatus(snap.ID) if snapStatus.ID == 0 { snapStatus.SnapID = snap.ID