Mirror a repository
Using repositor.io to mirror a repository
First you have to create a configuration file. The installation already has created an example file for you in /etc/rex/repositorio.conf. Just open the file in an editor and add the repositories you want to mirror.
Currently repositor.io supports Yum, Apt, Yast and plain HTTP mirrors. If you want to contribute please visit our Github repository.
Now you can run the mirror command to start the mirror process:
$ repositorio --mirror --repo=repository-name
repositorio will download the repository into the head branch. If you want to create a tag of a tested state you can do this with the tag command:
$ repositorio --repo=repository-name --tag=production