fine tuning and logging
This commit is contained in:
parent
8e138819a6
commit
bc36f5a2b7
@ -92,7 +92,9 @@ func RestorePaths(repository string, snapshotId string) ([]byte, error) {
|
||||
return []byte{}, err
|
||||
}
|
||||
cmd := exec.Command(resticExec, "restore", "-r", repository, snapshotId, "--target", "/")
|
||||
return cmd.CombinedOutput()
|
||||
output, err := cmd.CombinedOutput()
|
||||
log.V(1).Info("restic restore output", "output", string(output))
|
||||
return output, err
|
||||
}
|
||||
|
||||
func DeleteSnapshot(snapshot string) error {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user