MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / ComposeRecover

Method ComposeRecover

agent/app/service/backup_compose.go:107–109  ·  view source on GitHub ↗
(req dto.CommonRecover)

Source from the content-addressed store, hash-verified

105}
106
107func (u *BackupService) ComposeRecover(req dto.CommonRecover) error {
108 return handleComposeRecover(req, nil)
109}
110
111func handleComposeBackup(req dto.CommonBackup, parentTask *task.Task, recordID uint, backupDir, fileName string) error {
112 composeCtx, err := newComposeBackupContext(req, backupDir, fileName)

Callers

nothing calls this directly

Calls 1

handleComposeRecoverFunction · 0.85

Tested by

no test coverage detected