Update a local mirror

Manori Atapattu atapattu4 at gmail.com
Sat Dec 9 22:51:08 CET 2017

Thanks Maciej.

Does that mean we always have to use rsync to update the local repository.
I'm unsure if our security policy allows  us to use rsync.

On Sun, Dec 10, 2017 at 6:30 AM, Maciej Bliziński via users <
users at lists.opencsw.org> wrote:

> Hi Manori,
> On Sun, Dec 10, 2017 at 06:11:40AM +1100, Manori Atapattu via users wrote:
> > We have a local mirror setup with a  full copy of opncsw repository.
> > I want to know if there's a way to update the local repository with a
> > mirror site of our choice - to update the catalog and the packages.
> > Or do we need to use rsync to update the local repository with the
> packages.
> It took me a while to figure out what is it that you're asking about. I
> looked
> at the local mirror instructions[1], and that helped. You probably did
> something
> like:
> rsync -aH --delete rsync://rsync.opencsw.org/opencsw/
> /export/mirror/opencsw
> …and you're asking if you can use something else instead of
> "rsync://rsync.opencsw.org/opencsw/". I think you can, but this depends
> on the
> mirror you choose. Depending on the mirror you choose from [2], you might
> use
> FTP, HTTP and/or sync. To discover whether a certain mirror supports rsync
> or
> not, try looking for information on their website, or just try querying it
> using
> rsync. For example, I tried this as a test:
> rsync rsync://ftp.heanet.ie/pub/opencsw/README .
> …and it worked.
> Maciej
> [1]: https://www.opencsw.org/manual/for-administrators/mirror-setup.html
> [2]: http://mirror.opencsw.org/status/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/users/attachments/20171210/9dd8b5ca/attachment.html>

More information about the users mailing list