As par of our housekeeping activities, I have recently removed several repositories from Nexus (maven proxy). However, I have noticed that they are still around and consuming space. From the query I ran, I can see that the repos have been marked for deletion:
If its not running the quartz trigger is probably broken. You could (while nexus is stopped) connect to the database and remove that task which Nexus will re-create on startup.
When you create “compact blob store” you have to set the repository, but what if you delete the entire repository, which task should I run to delete data from deleted repository?
Repository != blob
Deleting repository is not deleting the blob store.
If you have also deleted the blob store, files are staying in NEXUS_DIR/sonatype-work/nexus3/blobs. I have never tested, but in that case, I think you can also delete the directory (just rename it to be sure at the first time).