Thanks!

2010/11/20 Bangladeshi CentOS Mirror Maintainer [BD-SERVERS.NET] <centos-org@bauani.org>
Hi 

You can do it with rsync itself. Here is the script attach with this email (text attachment name CentOS-5-Only-Mirror.sh.txt ). I have to make it attachment, as it was breaking the line on my compose window. 

Anyway, You can just use rsync to update all the things. 

Cheers. 

On Sat, Nov 20, 2010 at 7:06 PM, Brivaldo Junior <condector@gmail.com> wrote:
Humm,

I understand... here is my script (with some modifications):

#!/bin/bash
rsync -avzH --delete msync.centos.org::CentOS/5 /var/www/mirror/centos/
rsync -avzH --delete msync.centos.org::CentOS/5.5 /var/www/mirror/centos/

cd /var/www/mirror/centos/
rm -f timestamp.txt*
rm -f TIME*
rm -f RPM-GPG-KEY-CentOS-5*


regards,
Brivaldo Jr


2010/11/20 Bangladeshi CentOS Mirror Maintainer [BD-SERVERS.NET] <centos-org@bauani.org>

Hi 

Looks nice. But it seems you are using 'Wget' or something to update the special files / folder. 

Normally when 'wget' download any file and file with same name exist on target directory, it will add incremental value after the file it just downloaded.  

Just add any command to remove old file before downloading new file, not renaming. At your mirror: 


and 


and


Is totally unnecessary file and carry no value at all!

On your Sync Scrip, add a command to remove the file and download the new fresh file, the script check mirror status from CentOS will find your mirror 'Fresh'. 

If you share us the script / command for sync the mirror, it will help us to give you final solution to be a good mirror. 

I hope you understand my word. 

Kindly

Ahamed Bauani  
http://blog.bauani.org/


On Sat, Nov 20, 2010 at 2:48 AM, Brivaldo Junior <condector@gmail.com> wrote:
Updating:


Initial Sync - OK (5.5)
Host: http://centos.ufms.br/

City: Campo Grande
State: Mato Grosso do Sul
Country: Brazil
Bandwith: 155Mb (full and upgrading to 3Gb)
Name of Organization: Federal University of Mato Grosso do Sul (Brazilian Portuguese: Universidade Federal de Mato Grosso do Sul)
Contact: brivaldo.junior@ufms.br (my personal contact: condector@gmail.com)
Update Frequency: 4x Daily
Add support for special files
Increment link to 5.


Now It's okay right?


Regards,
Brivaldo Jr


2010/11/18 Ralph Angenendt <ralph.angenendt@gmail.com>

Am 17.11.10 01:38, schrieb Brivaldo Junior:
> Okay, Let´s go!
>
> Initial Sync - OK (5.5)
> Host: http://mirror.pop-ms.rnp.br/centos/
> City: Campo Grande
> State: Mato Grosso do Sul
> Country: Brazil
> Bandwith: 155Mb (full and upgrading to 3Gb)
> Name of Organization: Federal University of Mato Grosso do Sul
> (Brazilian Portuguese: Universidade Federal de Mato Grosso do Sul)
> Contact: brivaldo.junior@ufms.br <mailto:brivaldo.junior@ufms.br> (my
> personal contact: condector@gmail.com <mailto:condector@gmail.com>)
> Update Frequency: Daily
>
> Need another info?

As said: You are missing a few files. Then: Having 5.5/ is not enough,
there needs to be at least a 5/ which can just link to 5.5 - but without
that the mirror won't work.

And: Please try to update more frequently, because otherwise your mirror
might be flagged as outdated, depending on when our checking script
comes around. Running rsync twice or three times daily doesn't really
generate that much more traffic.

Regards,

Ralph

>
> Thanks!
> Brivaldo Jr
>
>
> Please alert the CentOS-mirror mailing list if anything about the server
> changes like location, available bandwidth, frequency of updates, etc.
>
> 2010/11/16 Nyamul Hassan <nyamul@gmail.com <mailto:nyamul@gmail.com>>
>
>     On Wed, Nov 17, 2010 at 02:06, Brivaldo Junior <condector@gmail.com
>     <mailto:condector@gmail.com>> wrote:
>
>         How can I insert into mirror list?
>
>         Other thing... Only latest CentOS are mirrored.
>
>
>         Regards,
>         --
>         Brivaldo A. S. Junior
>
>
>     Did you read:
>     http://www.centos.org/modules/tinycontent/index.php?id=22
>
>     <http://www.centos.org/modules/tinycontent/index.php?id=22>That
>     tells you what info you need to provide to the CentOS Master Mirror
>     Admins on this list to get listed.
>
>     Regards
>     HASSAN
>
>
>     _______________________________________________
>     CentOS-mirror mailing list
>     CentOS-mirror@centos.org <mailto:CentOS-mirror@centos.org>
>     http://lists.centos.org/mailman/listinfo/centos-mirror
>
>
>
>
> --
> Brivaldo A. S. Junior
> Analista de Tecnologia da Informação
> Divisão de Redes    -        NIN/UFMS
>
>
>
> _______________________________________________
> CentOS-mirror mailing list
> CentOS-mirror@centos.org
> http://lists.centos.org/mailman/listinfo/centos-mirror

_______________________________________________
CentOS-mirror mailing list
CentOS-mirror@centos.org
http://lists.centos.org/mailman/listinfo/centos-mirror



--
Brivaldo Junior



_______________________________________________
CentOS-mirror mailing list
CentOS-mirror@centos.org
http://lists.centos.org/mailman/listinfo/centos-mirror




--
Regards & Besh Wishes

Noor Ahamed Bauani
Chief Technology Advisor
Dhaka Wireless
http://www.dhaka-wireless.net/
An IPv6 Ready ISP in Bangladesh, Need an IPv6 Connectivity? Just Knock us!
HP: +880-1818-BAUANI (SMS Only, No Direct Call Please)
-----------------------------------------------------------------------------------------------------------------
Give Me Sunshine, Give Me Some Rain, Give Me a Chance to Grow up Again

_______________________________________________
CentOS-mirror mailing list
CentOS-mirror@centos.org
http://lists.centos.org/mailman/listinfo/centos-mirror




--
Brivaldo Junior



_______________________________________________
CentOS-mirror mailing list
CentOS-mirror@centos.org
http://lists.centos.org/mailman/listinfo/centos-mirror




--
Regards & Besh Wishes

Noor Ahamed Bauani
Chief Technology Advisor
Dhaka Wireless
http://www.dhaka-wireless.net/
An IPv6 Ready ISP in Bangladesh, Need an IPv6 Connectivity? Just Knock us!
HP: +880-1818-BAUANI (SMS Only, No Direct Call Please)
-----------------------------------------------------------------------------------------------------------------
Give Me Sunshine, Give Me Some Rain, Give Me a Chance to Grow up Again

_______________________________________________
CentOS-mirror mailing list
CentOS-mirror@centos.org
http://lists.centos.org/mailman/listinfo/centos-mirror




--
Brivaldo Junior