Nexus3 Disaster Recovery (N3DR) is a tool that is capable of downloading all artifacts from a Nexus3 server and to migrate them to another one.
This project is maintained by 030
snap install n3dr
~/snap/n3dr/current/.n3dr/config.yml
Check the downloaded artifacts:
sudo ls /tmp/snap.n3dr/tmp/n3dr/download<some number, e.g.: 082028764>
sudo cp -r /tmp/snap.n3dr/tmp/n3dr/download<some number, e.g.: 082028764> /home/${USER}/n3dr-backup
sudo chown $USER:$USER -R /home/${USER}/n3dr-backup
Note: if the snap package is used to upload artifacts, one has to ensure that
the folder resides in the /home/$USER folder. Otherwise a:
lstat <repository-name>: no such file or directory
issue could occur.