I’m new to Nexus Repository Manager and I’m trying to find some ways to mirror (hosted or proxy) Zimbra Collaboration Server repositories.
According to the Zimbra repository documentation (Zimbra Collaboration repository - Zimbra :: Tech Center), to mirror Zimbra repo one needs to sync them using AWS CLI s3 sync. For example:
aws s3 sync s3://repo.zimbra.com/rpm/889 /var/repositories/rpm/889 --no-sign-request --delete
I’ve tried to create a yum proxy repo, but it was not able to get Zimbra packages even using the URL https://repo.zimbra.com. I’ve noticed that when I access this URL it loads a XML with S3 paths. Is this not compatible?
I’ve managed to succeed with yum hosted repository, but I had to download the RPM files from Zimbra s3 bucket and then upload them to my repo . Is there any way to make it easier? I mean, I would like to download the RPMs directly to the repository and build the metadata, updating it after syncing again with AWS CLI.
Fabio S. Schmidt