4.6. How can I backup my Mailman lists/membership/etc on a regular basis?
You should of course have regular, reliable, and tested site backup procedures for all your data, not just your Mailman lists. However, there are advantages to making and/or distributing backups of your list configurations in other and possibly more flexible and frequent manners than your site backup procedures.
See also FAQ 4.18 at 4.18 How do I backup my lists and their configurations-membership rosters?
J C Lawrence <firstname.lastname@example.org> uses the following approach:
Note: You'll need to have a reasonably recent version of nmh installed as the scripts rely on the MH tools to build a MIME message:
Yeah, there are some hard coded paths in there. Sue me. I never said they were pretty, merely that they worked. Brief explanation:
To use drop them in a cronjob something like:
A sample execution should look something like:
The result will be that every time the cronjob runs it will send you (in this case email@example.com) a message looking something like:
Where the MIME attachment is the tarball constructed by ~/bin/mailman.backup. Edit the value of sendto in mailman.backup if you want them going somewhere else.
Last changed on Tue Jan 9 00:05:07 2007 by Brad Knowles
Converted from the Mailman FAQ Wizard
This is one of many Frequently Asked Questions.