Alert.png The wiki is deprecated and due to be decommissioned by the end of September 2022.
The content is being migrated to other supports, new updates will be ignored and lost.
If needed you can get in touch with EGI SDIS team using operations @ egi.eu.

Difference between revisions of "MirroringUMD"

From EGIWiki
Jump to navigation Jump to search
Line 38: Line 38:
=== Using rsync ===
=== Using rsync ===


* at the moment we do not offer a rsync server for UDM reposotories
* at the moment we do not offer a rsync server for UMD reposotories

Revision as of 10:07, 14 December 2014


Mirroring of UMD Repositories

We provide some basic information needed in order to mirror UMD repositories

Communication

  • Mailing-lists
    • for announcements (changes, new repos, etc): mirror-egi at egi.eu
    • for discussion: mirror-egi-d at egi.eu or can we suggest FORUM - mirror-egi

Repos size estimates

  • file.txt with "du -hs /<dir_repos>

Export License

Do we need something similar to http://fedoraproject.org/wiki/Infrastructure/Mirroring#Export_Compliance ?

Mirroring

Using lftp

  • Depending on what repositories you want to mirror and the space you have available (see #Repos size estimates you can use something similar:
    • to create the mirror for the first time:

lftp -c mirror --verbose --exclude 'candidate/' --exclude '1/' --exclude '2/' http://repository.egi.eu/sw/production/umd/ ${LOCAL_DIR}

    • to removes any local packages that no longer exist on the source, and only downloads newer package versions from the host mirror:

lftp -c mirror –-only-newer --ignore-time -–delete --exclude 'candidate/' --exclude '1/' --exclude '2/' http://repository.egi.eu/sw/production/umd/ ${LOCAL_DIR}

Using rsync

  • at the moment we do not offer a rsync server for UMD reposotories