[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Setting up push syncing with a Debian mirror

On 07/12/2014 08:26 AM, Robin Kipp wrote:
Hi all,
I am currently running a Debian (Wheezy) server which is hosted in a professional datacenter. The datacenter is located in Germany, and is directly connected to major backbones. As I do have loads of unused bandwidth and disk space, I’d like to contribute to Debian’s infrastructure by hosting and maintaining an Aptitude mirror.
I’ve already set this up using the ftpsync scripts, and manual syncing already appears to work. However, I’d like to be able to utilize push syncing, however this requires an upstream mirror to connect to my server via SSH and issue a certain command. Is there any way of setting this up with an upstream mirror? The Debian Wiki page on the topic goes to great lengths in explaining how push syncing works technically, but is rather vague on how to arrange push syncing with an upstream mirror…
If anyone could shed some light on this issue, I’d greatly appreciate that!
Many thanks!
Hi Robin,

Are you listed in the database as an official mirror?

For push syncing you only need to contact the administrator of your current upstream and ask if they are will to push to you. They may or may not depending on bandwidth or other factors. You can always ask a few different admins on a few different systems to find the one that works best for you in regard to speed, connectivity, location, etc.

The instructions on the wiki push page iirc are for the pushing admin. The process is quite simple: the upstream mirror is updated -> it runs a script (runmirrors) that sends a notice (ssh) to your server -> your server contacts that server and mirrors the data.

Best Regards,

Donald Norwood

Reply to: