* Re: [Sysadmins] Как лучше организовать backup? @ 2008-08-18 13:31 ` Michael Shigorin 2008-08-20 8:14 ` Anton Kvashin 0 siblings, 1 reply; 2+ messages in thread From: Michael Shigorin @ 2008-08-18 13:31 UTC (permalink / raw) To: ALT Linux Community general discussions; +Cc: sysadmins On Mon, Aug 18, 2008 at 03:28:29PM +0300, Dmitriy Kruglikov wrote: > > Есть рабочий почтовый сервер. Есть sysadmins@ :) > > Задача: нужно периодически бекапить почтовые ящики > > пользователей с рабочего сервера на резервный, чтобы в случае > > проблем с основным сервером быстренько стартонуть на > > резервном postfix, а пользователи ничего бы и не заметили. Вы точто погуглили "backup MX" и сознательно решили делать именно так, а не как обычно? (с "как обычно" есть нюансы с антиспамом -- или одинаковый на обоих MX-ах, или могут быть неприятные эффекты) > Для начала нужно усвоить одну ма-а-а-аленькую мысль: > Почтовые ящики пользователей не имеют ни какого отношения к > postfix... Ещё как имеют, если включить в "postfix" тот delivery agent, который он дёргает для доставки в ящик. > Я бы поверил слову "Cyrus-IMAP", например ... Это вторая часть вопроса. У меня пока ощущение, что первую просто пытаются решить, не зная про обычную практику :) А бэкапить -- rsync, вестимо. Только похоже, что root@ плюс PermitRootLogin without-password в sshd_config (как в 4.0 по умолчанию), чтоб не изобретать ещё и схемы синхронизации для каждого пользователя (хотя...). -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Sysadmins] Как лучше организовать backup? 2008-08-18 13:31 ` [Sysadmins] Как лучше организовать backup? Michael Shigorin @ 2008-08-20 8:14 ` Anton Kvashin 0 siblings, 0 replies; 2+ messages in thread From: Anton Kvashin @ 2008-08-20 8:14 UTC (permalink / raw) To: sysadmins Michael Shigorin пишет: >>> Задача: нужно периодически бекапить почтовые ящики >>> пользователей с рабочего сервера на резервный, чтобы в случае >>> проблем с основным сервером быстренько стартонуть на >>> резервном postfix, а пользователи ничего бы и не заметили. - heartbeat+drbd -- drbd "держит" конфигурацию, ящики/базу пользователей. - запустить второй MTA (разгрузит основной, будет принимать почту в случае выхода из строя). Оба MTA работают с одной базой учетных записей, доставляют почту на один POP3/IMAP сервер, который при поломке может унести с собой часть непрочитанной почты (если конечно не вынести/бэкапить спул в отдельное хранилище). Пока не будет POP3/IMAP сервера, MTA будет складывать почту в свой спул. Не забываем про базу учетных записей. - организовать shadow-доставку в один ящик всей почты (с оглядкой на почтовый трафик и нагрузку), бэкапить/менеджерить его, потом скормить новой почтовой системе > Вы точто погуглили "backup MX" и сознательно решили делать именно > так, а не как обычно? (с "как обычно" есть нюансы с антиспамом -- > или одинаковый на обоих MX-ах, или могут быть неприятные эффекты) sa-learn умеет бэкапить/ресторить bayes, или работать с одним антиспамом по сети. >> Для начала нужно усвоить одну ма-а-а-аленькую мысль: >> Почтовые ящики пользователей не имеют ни какого отношения к >> postfix... > > Ещё как имеют, если включить в "postfix" тот delivery agent, > который он дёргает для доставки в ящик. MTA обычно интересен вопрос существования учетной записи, чтобы запускать MDA для своих ящиков. >> Я бы поверил слову "Cyrus-IMAP", например ... > > Это вторая часть вопроса. У меня пока ощущение, что первую > просто пытаются решить, не зная про обычную практику :) > > А бэкапить -- rsync, вестимо. Только похоже, что root@ > плюс PermitRootLogin without-password в sshd_config > (как в 4.0 по умолчанию), чтоб не изобретать ещё и схемы > синхронизации для каждого пользователя (хотя...). не забываем про мета-данные, cyrus-imap умеет бэкапить мета-данные (список ящиков, quota, ACL) из коробки. -- Anton Kvashin ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-08-20 8:14 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2008-08-18 13:31 ` [Sysadmins] Как лучше организовать backup? Michael Shigorin 2008-08-20 8:14 ` Anton Kvashin
ALT Linux sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git