Recreate delete repository with existing blobstore

I deleted a maven releases hosted repository from Nexus, but we still have the blobstore.
I created a new maven hosted repository, and connected it to the blobstore.
But how do I get the artifacts back? The repository is empty.

This does not work on Nexus 3.38

No such luck it seems

Is there any way I can retrieve the artifacts from the blobstore? That way I could upload them to a new repository.

Correct, those instructions are for Nexus 2. You might try running the “Repair - Reconcile component database from blob store” task. It might re-create the database entries matching the blobs from disk.