[Mailman-Users] Restoring Mailman after a crash?

Mark Sapiro msapiro at value.net
Sun Nov 18 03:26:42 CET 2007


Mike Avery wrote:
>
>Luckily, I'd been doing weekly backups, so I didn't lose more than a day 
>or two of messages.  I backed up by running tar on the entire mailman 
>directory structure.  And it's all there!
>
>But, now comes the fun part, how do I recreate the mailing lists, the 
>archives, and so on?  Is there a FAQ entry?  If so, I haven't seen it.


If you have the entire mailman tree, that's it. Just restore it and
start Mailman.

The lists are all in Mailman's lists/ directory and the archives are
all in Mailman's archives/private/ directory. There are also symlinks
in archives/public/ for lists with public archives. The caveat here is
make sure the backup/restore process restores symlinks and not files
to archives/public/. If you wind up with files there, it's best to
just remove them and let Mailman recreate the symlinks which it will
do if you just access the list (say in the web admin interface).

The thread at
<http://mail.python.org/pipermail/mailman-users/2007-January/055208.html>
linked from
<http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq03.004.htp>
is one of many discussions of what files have to be moved to move
lists/archives from one installation to another and is thus applicable
to restoring files.

There ar also a couple of FAQ articles on backing up lists
<http://www.python.org/cgi-bin/faqw-mm.py?query=backup+my&querytype=simple&casefold=yes&req=search>

-- 
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list