diff --git a/cmd/restic/cmd_prune.go b/cmd/restic/cmd_prune.go index 46d62460b..7918b2294 100644 --- a/cmd/restic/cmd_prune.go +++ b/cmd/restic/cmd_prune.go @@ -720,6 +720,9 @@ func doPrune(ctx context.Context, opts PruneOptions, gopts GlobalOptions, repo r "https://github.com/restic/restic/issues/new/choose\n", plan.keepBlobs) return errors.Fatal("internal error: blobs were not repacked") } + + // allow GC of the blob set + plan.keepBlobs = nil } if len(plan.ignorePacks) == 0 {