Rsync In Asterisk

eyasterisk

Joined
Apr 3, 2007
Messages
6
Likes
0
Points
0
#1
Hi

Does anyone know if rsync is supported in Elastix. Would be able to sync the Elastix repository using the rsync command. Please advise
 

galexander

Joined
Nov 24, 2008
Messages
15
Likes
0
Points
0
#2
*BUMP*

this would be very useful and reduce bandwidth usage and stress on your server.
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#3
rsync is indeed supported by Centos(the underlying OS of elastix)
it is not installed by default but

yum install rsync

will change that fact.

If you want a local copy of the repository then wget would be more appropriate. Yum is the chosen update manager in Centos and really quite efficient, so I suggest you just use that, as reinventing the wheel is a usually a waste of time.
 

galexander

Joined
Nov 24, 2008
Messages
15
Likes
0
Points
0
#4
I understand and indeed I use yum, I like it.

I want to mirror your repository! And wget is most certainly not more well suited than rsync for this -- wget cannot delete the old files that will disappear from your repository.

Thanks for your consideration.
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#5
galexander:

I understand, in that case I would suggest it would be polite to ask the repository maintainer for that permission and if they agree I'm sure they would work with you in a formal fashion.
 

rafael

Joined
May 14, 2007
Messages
1,454
Likes
1
Points
0
#6
This still beta, but you can test this:

Try to rsync://repo.elastix.org/elastix from 20:00-06:00 (GMT -5) That would rsync all the versions of the Elastix and it is: http://repo.elastix.org

If you want to have cooperate with a public mirror for the project, please contact me via email to see how you can help us. (rbonifaz[at]elastix.org)

In the meanwhile we already have new mirrors you can test that are being sync with the default one:

http://repo-es.elastix.org/elastix
http://repo-us-tx.elastix.org/elastix
http://repo.utpl.edu.ec/elastix

Best Regards,

Rafael
 

rafael

Joined
May 14, 2007
Messages
1,454
Likes
1
Points
0
#7

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#8
And It's nice and fast, all md5sum returns agreed with the last repo update i did, no problems.
 

rafael

Joined
May 14, 2007
Messages
1,454
Likes
1
Points
0
#9
great, thanks for the feedback :)
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#10
Good move Rafael/Palosanto, thanks!


But it seems there are some directories, that I would expect, if they should be there at all,at least to be re-entrant, they seem to be broken links.

. ./mirror/1.[53]/1.[53]/ are full of structure, but empty of content.
{edit]
well, that seems fixed now!
I added --delete:

rsync -avrt --progress --stats --delete rsync://rsync0.elastix.org/elastix/ /var/www/html/mirror

maybe I fixed my own screwups :unsure:

[/edit]

and I notice, so is

. ./mirror/1.6/

(I guess we wait for that?)

Would it be lazy of me to ask for an elastix_local.repo.template to suit the mirror?, could that be added to root?

Regards

Dick


As a quibble some of the permissions seem a little permissive . . .

(I'll shut up now)
 

rafael

Joined
May 14, 2007
Messages
1,454
Likes
1
Points
0
#11
Can you make the template and we could included in the next release of Elastix ;)

About the missing directories I am checking now with developers why is this happening.

The other thing we wan't to do, but not sure yet is to manage a mirror list. So that we can use this mirror via http and the one in Spain. Just like CentOs does it.

Regards,

Rafael
 

Caifo

Joined
May 26, 2012
Messages
1
Likes
0
Points
0
#12
Is there any rsync repository still working? I'm trying to setup a local mirror, and the rsync server seems to be down.

Any help on this?

Thanks!
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,886
Members
17,564
Latest member
Mai Tuyen
Top