Commit 4e442c05 authored by ale's avatar ale

Merge branch 'snapshot_cache' into 'master'

Snapshot cache

See merge request !2
parents 24bfaddb d944d8a2
Pipeline #4933 passed with stages
in 7 minutes and 17 seconds
......@@ -187,8 +187,9 @@ func (r *resticRepository) getSnapshotID(ctx context.Context, rctx RuntimeContex
// Legacy compatibility: query restic using the dataset ID.
data, err := rctx.Shell().Output(ctx, fmt.Sprintf(
"%s snapshots --no-cache --no-lock --json %s",
"%s snapshots %s --no-lock --json %s",
resticBackupTags(backup, ds),
if err != nil {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment