diff --git a/pkg/storage/storage.go b/pkg/storage/storage.go index da8fdf5ee..6a9e03d01 100644 --- a/pkg/storage/storage.go +++ b/pkg/storage/storage.go @@ -137,9 +137,6 @@ func New(ctx context.Context, backend *backuppb.StorageBackend, opts *ExternalSt if backend.Local == nil { return nil, errors.Annotate(berrors.ErrStorageInvalidConfig, "local config not found") } - if opts.SkipCheckPath { - return &LocalStorage{base: backend.Local.Path}, nil - } return NewLocalStorage(backend.Local.Path) case *backuppb.StorageBackend_S3: if backend.S3 == nil {