<div dir="ltr">Thanks Maciej.<div><br></div><div>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.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 10, 2017 at 6:30 AM, Maciej Bliziński via users <span dir="ltr"><<a href="mailto:users@lists.opencsw.org" target="_blank">users@lists.opencsw.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Manori,<br>
<span class=""><br>
On Sun, Dec 10, 2017 at 06:11:40AM +1100, Manori Atapattu via users wrote:<br>
> We have a local mirror setup with a  full copy of opncsw repository.<br>
> I want to know if there's a way to update the local repository with a<br>
> mirror site of our choice - to update the catalog and the packages.<br>
> Or do we need to use rsync to update the local repository with the packages.<br>
<br>
</span>It took me a while to figure out what is it that you're asking about. I looked<br>
at the local mirror instructions[1], and that helped. You probably did something<br>
like:<br>
<br>
rsync -aH --delete rsync://<a href="http://rsync.opencsw.org/opencsw/" rel="noreferrer" target="_blank">rsync.opencsw.org/<wbr>opencsw/</a> /export/mirror/opencsw<br>
<br>
…and you're asking if you can use something else instead of<br>
"rsync://<a href="http://rsync.opencsw.org/opencsw/" rel="noreferrer" target="_blank">rsync.opencsw.org/<wbr>opencsw/</a>". I think you can, but this depends on the<br>
mirror you choose. Depending on the mirror you choose from [2], you might use<br>
FTP, HTTP and/or sync. To discover whether a certain mirror supports rsync or<br>
not, try looking for information on their website, or just try querying it using<br>
rsync. For example, I tried this as a test:<br>
<br>
rsync rsync://<a href="http://ftp.heanet.ie/pub/opencsw/README" rel="noreferrer" target="_blank">ftp.heanet.ie/pub/<wbr>opencsw/README</a> .<br>
<br>
…and it worked.<br>
<br>
Maciej<br>
<br>
[1]: <a href="https://www.opencsw.org/manual/for-administrators/mirror-setup.html" rel="noreferrer" target="_blank">https://www.opencsw.org/<wbr>manual/for-administrators/<wbr>mirror-setup.html</a><br>
[2]: <a href="http://mirror.opencsw.org/status/" rel="noreferrer" target="_blank">http://mirror.opencsw.org/<wbr>status/</a><br>
</blockquote></div><br></div>