From: Michael Shigorin <mike@osdn.org.ua> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] Как устроен ftp.altlinux.org Date: Wed, 21 Nov 2007 15:56:45 +0200 Message-ID: <20071121135645.GU7439@osdn.org.ua> (raw) In-Reply-To: <200711201634.00557.ivanov@cg.ru> [-- Attachment #1: Type: text/plain, Size: 1401 bytes --] On Tue, Nov 20, 2007 at 04:34:00PM +0300, Максим Иванов wrote: > Пытаюсь для удобства создать локальное зеркало > ftp.altlinux.org. По пути возникла пара вопросов: Если что, я (избирательно) зеркалю. > - В Server варианте все файлы в репозитариях являются > симлинками на содержимое вышестоящего каталога files, в > Desktop же один и тот же файл часто лежит в трех экземплярах - > в files,в classic и main. Понятно что на сервере это возможнно > и хардлинки, но мне как желающему регулярно rsync'ать зеркало > совсем не хочется иметь тройную нагрузку на канал и кошелек. Для меня работает (время киевское) такой вариант: 55 00 * * * /usr/bin/rsync -qaH --delete --delete-after rsync.altlinux.org::ALTLinux/4.0/Server/ /var/ftp/pub/Linux/ALT/4.0/Server/ 05 01 * * * /usr/bin/rsync -qaH --delete --delete-after rsync.altlinux.org::ALTLinux/4.0/Desktop/ /var/ftp/pub/Linux/ALT/4.0/Desktop/ 25 05 * * * /usr/bin/rsync -qaH --delete --delete-after rsync.altlinux.org::ALTLinux/4.0/branch/ /var/ftp/pub/Linux/ALT/4.0/branch/ 45 05 * * * /usr/bin/rsync -qaH --delete --delete-after rsync.altlinux.org::ALTLinux/4.0/ /var/ftp/pub/Linux/ALT/4.0/ Канала на то, чтоб можно было игнорировать (точнее, раз в пятилетку обработать руками, а не тоже скриптом, когда-то написанным для Sisyphus/) -- давно хватает. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ [-- Attachment #2: rsync-all.sh --] [-- Type: application/x-sh, Size: 1579 bytes --]
prev parent reply other threads:[~2007-11-21 13:56 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-11-20 13:34 Максим Иванов 2007-11-20 13:44 ` Vitaly Ostanin 2007-11-20 13:56 ` Artem Zolochevskiy 2007-11-20 13:45 ` Mykola S. Grechukh 2007-11-21 13:56 ` Michael Shigorin [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20071121135645.GU7439@osdn.org.ua \ --to=mike@osdn.org.ua \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git