Re: Syncing the mirrors

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



On Tue, Feb 2, 2010 at 1:53 PM, Hannes Rist <hrist@xxxxxxxxxx> wrote:
> Ionut Biru wrote:
>>
>> On 02/02/2010 07:53 PM, Damjan Georgievski wrote:
>>>>>
>>>>> There's also the problem that some mirrors (most of the ones I've
>>>>> tried) sync the package database before syncing all the packages.
>>>>
>>>> Actually, syncing the db last is not going to improve things: if some
>>>> packages get deleted, they won't be found when updating against the
>>>> old db.
>>>
>>> - download new packages
>>> - update db
>>> - delete old packages
>>>
>>
>> now tell us how do this order with rsync.
>
> the debian mirror scripts have such a staged setup with 2 rsync runs, might
> wanna have a look at them mirror.debian.org somewhere here.
> http://www.debian.org/mirror/ftpmirror 'how to mirror' it's explained there.

from http://www.debian.org/mirror/ftpmirror#how
...
* MUST perform a 2-stage sync
...
Rationale: if archive mirroring is done in a single stage, there will
be periods of time
during which the index files will reference files not yet mirrored.
...
Sounds pretty good, Hannes.
-- 
Andrew Antle
<andrew dot antle at gmail dot com>


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux