[Mailman-Users] move a mailman instance to a new server (andnewversion)

Mark Sapiro msapiro at value.net
Tue Nov 20 18:17:37 CET 2007


Manlio Perillo wrote:

>Mark Sapiro ha scritto:
>> Manlio Perillo wrote:
>> 
>>> In /var/lib there are a lot of pickle serialized data.
>> 
>> 
>> Directly in /var/lib/ as in /var/lib/*.pck or in some subdirectories?
>> 
>
>/var/lib/mailman/lists/<list>/*.pck


They are the list configuration and membership (config.pck)
the 'backup' list configuration and membership (config.pck.last)
The list's pending confirmations (pending.pck)
The lists moderator requests (request.pck)

The var/lib/mailman/lists/* tree is what needs to be moved in order to
move lists from one server to another.

Also you need to move the heldmsg*.pck (or heldmsg*.txt if you set
HOLD_MESSAGES_AS_PICKLES = No) that are in mailman's data/ directory
(/var/lib/mailman/data/ ?) and the archives in
/var/lib/mailman/archives/*

These steps or variants thereof are outlined in the list posts
referenced by the FAQ
<http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq03.004.htp>.



>> Are they current? Are they group owned by 'mailman'?
>> 
>
>What do you mean by 'current'? Yes they are owned by list.


I meant were their timestamps recent or old, but now that we know what
files you're talking about, that question isn't relevant.


>What I would like to know if it is safe to load these files with a 
>different mailman version (ad a different version of Python).


It is safe to move them to a more recent Mailman version and mailman
will update them as needed for the new version as they are accessed.
It may be a problem to move them to an older Mailman version, but that
is not the case here.

A different Python version should not be a problem as long as Mailman
runs on the new installation.

-- 
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