[arch-general] Syncing the mirrors
Lee Burton
lburton at mrow.org
Wed Feb 3 09:12:05 EST 2010
This order can be accomplished by first running rsync without the delete flag.
Then rsync over the DB.
Then re-run the original rsync with --delete or --delete-after.
You could also google for 'atomic rsync'
First hit is http://www.opensource.apple.com/source/rsync/rsync-35.2/rsync/support/atomic-rsync
As for push mirroring, http://www.debian.org/mirror/push_server is a
decent example
An identity file with
no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty,command="/path/to/mirror/script",from="IPADDRESS"
&"
Is fairly decent..
---
Lee Burton
lburton at mrow.org
301 910 0246
On Tue, Feb 2, 2010 at 12:53, Damjan Georgievski <gdamjan at gmail.com> 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
>
>
>
>
>
>
> --
> damjan
>
More information about the arch-general
mailing list