1

How can I backup and restore mailman list ?

Our server was hacked, We plan to reload OS. We are having mailman list in server.

I'm new to mailman, It's urgent to backup and restore mailman list.

I've googled and checked this serverfault question, They discussed about how to change mailman list from one domain to another one. But here I'm going to just backup and restore.

Please help me to solve this,

Thanks

Kumar
  • 823
  • 3
  • 20
  • 43

1 Answers1

3

It's simple - you just backup the entire directory where mailman lives. Where that is will depend on how it was installed.

There's an instruction with scripts that can be run from cron to daily create a gzipped tarfile and mail it to a given address at the mailman wiki. If you don't have any other backup strategy in place, it may be useful.

Jenny D
  • 27,358
  • 21
  • 74
  • 110
  • I think it's installed by yum. – Kumar Sep 30 '13 at 10:10
  • Regardless of how it's installed, the directory will usually be called `mailman`. You should be able to locate it by doing `find / -name mailman -type d -exec ls -ld {} \;` – Jenny D Sep 30 '13 at 12:00