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> .
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?