简体   繁体   中英

Migrate from Aptly to jfrog Artifactory

We are currently using Aptly for Debian package management. we want to migrate to Jfrog artifactory.

Tried to setup remote repository in Artifactory. But artifactory supports replication only from another artifactory server.

Exploring options like copying deb files and put it in artifactory file system and recalculate index. Is it possible? any other suggestion?

Note: we have 10 TB(160k) deb packages. Adding one by one would be time consuming.

I don't think there is a direct way to do this however I recommend you to do the following:

  1. Create a remote repository in Artifactory and point it to Aptly
  2. Get the list of packages from Aptly
  3. Send a head request to each package so that the package will land in the remote repository cache
  4. Use a plugin to move the packages from remote repository cache to a local repository. This plugin might be helpful to you

of course, you need to script this process as the data is high.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM