diff --git a/cmd/restic/global.go b/cmd/restic/global.go index c93fb4bce..eded479ad 100644 --- a/cmd/restic/global.go +++ b/cmd/restic/global.go @@ -598,7 +598,7 @@ func innerOpen(ctx context.Context, s string, gopts GlobalOptions, opts options. var be backend.Backend if create { - be, err = factory.Create(ctx, cfg, rt, nil) + be, err = factory.Create(ctx, cfg, rt, lim) } else { be, err = factory.Open(ctx, cfg, rt, lim) }