Mounting volume from host to docker image of nexus-does not show new repos

Hi all,
I’ve got a problem and I am not sure what I am expecting is possible.
I started nexus 3.17 (no data) and added npm repositories.

I created the .bak files for it and used this .bak files to create an image of nexus (say newimage).
command used was: docker build --tag <image_name> .
FROM sonatype/nexus3:3.17.0
COPY path-to-bak-files /nexus-data/restore-from-backup/

Now there is data from the current version which I am using to mount as a volume and run the new image.
docker run -d -p 8081:8081 --name <name> -v <path-to-folder-that-represents-data>:/nexus-data newimage

When I go to nexus, the data does show up under maven repos, but npm repos do not exist.!
Any idea if it is possible to retain the data and npm repos?

Sounds like you might not be backing up the database.

Hi @mpiggott: How do I check that or how to fix that?