Hello, another (more complicated) technique we used in the past to synchronize: - In Artifactory create a remote repository pointing to your Nexus instance (e.g nexus-remote). - On the nexus machine, walk the repository you want to migrate: find /opt/nexus/repositories/releases -type f | sed 's, /opt/nexus/repositories/releases,http://ARTIFACTORY_HOST:8081/artifactory/nexus-remote,' | xargs curl -X HEAD - By means of this all files from nexus are now pulled into Artifactory. - Wait for all files being indexed in Artifactory's lucene index. - Make Nexus readonly and repeat the find-pipeline. - Move the whole content of nexus-remote in Artifactory to libs-release-local, only metadata (e.g. the repository) has to be changed. - You may use copy instead of move as well, as Artifactory will only duplicate the modified metadata. - You may refine the second find run by only selecting files newer than the first find run.
Regards Mirko -- http://illegalstateexception.blogspot.com/ https://github.com/mfriedenhagen/ https://bitbucket.org/mfriedenhagen/ On Thu, Jan 31, 2013 at 2:08 PM, merejy <[email protected]> wrote: > Wonderful, I'll try to do so :-) > > Thank you! > > > On Thu, Jan 31, 2013 at 10:48 AM, Baruch Sadogursky-2 [via Artifactory] > <[hidden email]> wrote: >> >> Mirko, you rock. We need to somehow sync the mailing list with >> stackoverflow to give you the well deserved credit for the wonderful job you >> do for the community. >> Meanwhile the best I can do is to say "Thank you"! >> >> Baruch. >> >> -- >> Developer Advocate >> JFrog Ltd >> www.jfrog.com >> +972544954353 >> @jbaruch >> >> >> On Thu, Jan 31, 2013 at 11:44 AM, Mirko Friedenhagen <[hidden email]> >> wrote: >>> >>> rsync the hosted repositories to your Artifactory Machine and import them >>> :-). Should this succeed, clean data in Artifactory, make Nexus readonly, >>> rsync diffs and import again. >>> >>> Regards Mirko >>> -- >>> Sent from my mobile >>> >>> On Jan 31, 2013 10:33 AM, "merejy" <[hidden email]> wrote: >>>> >>>> Hi, >>>> >>>> I'd like to migrate from Nexus to Artifactory, especially the hosted >>>> repositories which contain artifacts. >>>> >>>> Is there a walkthrough to guide me through this process? I'd love to see >>>> something similar to this[1], but in the other direction :-) >>>> >>>> I'm wondering how I can do a copy from a Nexus hosted repository to an >>>> Artifactory one. I'd like to avoid proxying so I can shut down my >>>> instance >>>> of Nexus. >>>> >>>> Regards, >>>> Jérémy >>>> >>>> [1] >>>> >>>> http://www.sonatype.com/people/2010/08/how-to-migrate-repositories-from-artifactory-to-nexus/ >>>> >>>> >>>> >>>> -- >>>> View this message in context: >>>> http://forums.jfrog.org/Migrate-from-Nexus-to-Artifactory-tp7578535.html >>>> Sent from the Artifactory - Users mailing list archive at Nabble.com. >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Everyone hates slow websites. So do we. >>>> Make your web apps faster with AppDynamics >>>> Download AppDynamics Lite for free today: >>>> http://p.sf.net/sfu/appdyn_d2d_jan >>>> _______________________________________________ >>>> Artifactory-users mailing list >>>> [hidden email] >>>> https://lists.sourceforge.net/lists/listinfo/artifactory-users >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Everyone hates slow websites. So do we. >>> Make your web apps faster with AppDynamics >>> Download AppDynamics Lite for free today: >>> http://p.sf.net/sfu/appdyn_d2d_jan >>> _______________________________________________ >>> Artifactory-users mailing list >>> [hidden email] >>> https://lists.sourceforge.net/lists/listinfo/artifactory-users >>> >> >> >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_d2d_jan >> _______________________________________________ >> Artifactory-users mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/artifactory-users >> >> >> ________________________________ >> If you reply to this email, your message will be added to the discussion >> below: >> >> http://forums.jfrog.org/Migrate-from-Nexus-to-Artifactory-tp7578535p7578537.html >> To unsubscribe from Migrate from Nexus to Artifactory, click here. >> NAML > > > > ________________________________ > View this message in context: Re: Migrate from Nexus to Artifactory > > Sent from the Artifactory - Users mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_jan > _______________________________________________ > Artifactory-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/artifactory-users > ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan _______________________________________________ Artifactory-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/artifactory-users
