WHM backup does NOT restore mailman lists

Aiki-boy

Member
Aug 14, 2003
6
0
151
I did an OS restore, then used the WHM restore backup feature. Now mailman lists are gone - I do not see them on the server or in the restore tar files.

Did I miss something? I have already lost 2 clients over this, and it's looking bad for a couple more.

Help much needed - or are the mailman lists toast?
 

Aiki-boy

Member
Aug 14, 2003
6
0
151
Cpanel support says this is a known bug. I lost 4 clients due to this. I truly wish cpanel would spend 6 months doing bugfixes and nothing else.
 

Faldran

Well-Known Member
May 28, 2002
136
0
316
I had reported the problem with cpmove scripts the other week about mailman not getting restored. My tickets were closed ( I had to manually move them.. yuck ) It does need fixed right away.
 

jnagro

Active Member
Jun 28, 2003
33
0
156
huge problem just being ignored?

no where have i ever even see docs about this untill i myself had to move clients. this needs to be fixed, i need a work around for the moment, and i need it now!
 

DigitalN

Well-Known Member
Sep 23, 2004
420
1
168
You can restore mail lists from the backups that cPanel creates, but you may have to do it manually in a terminal.

The mailman backups (and other dir backups) are in

/$yourbackup/cpbackup/daily/dirs/_usr_local_cpanel_3rdparty_mailman.tar.gz

Just extract the _usr_local_cpanel_3rdparty_mailman.tar.gz file and restore the directories/files as required.
 

hostingmetro

Active Member
PartnerNOC
May 30, 2003
40
0
156
That is correct if you backup locally to the same system on a backup drive. But if you backup via remote ftp, it does not create a "dirs" directory with those files:

_usr_local_cpanel_3rdparty_mailman.tar.gz
_etc_ssl.tar.gz
_usr_share_ssl.tar.gz
_etc_vdomainaliases.tar.gz
_var_log_bandwidth.tar.gz
_usr_local_frontpage.tar.gz
_var_spool_cron.tar.gz
_var_cpanel.tar.gz
_etc_vfilters.tar.gz
_var_named.tar.gz
_etc_proftpd.tar.gz
_etc_valiases.tar.gz

I have confirmed it as I have servers that are backed up locally and remote.
I have a custom script that backs up the above directories to remote ftp. I thought this was known already to people that use the remote ftp option.

If you select this option:

Backup Config Files (not needed to restore specific accounts)

then when you save it, you get this:

Only accounts can be backed up over ftp. The configuration file backup option has been turned off.
 

jnagro

Active Member
Jun 28, 2003
33
0
156
thanks, that looks okay, unfortunatly the news came too late, the backups had already rolled over, we only saved the client tarball from the old server. thanks anyway though
 

cunoodle2

Member
Jun 17, 2004
15
0
151
I am aware that cpanel does miss some of these things. In addition normal backups for the user do not backup mailman's mailing lists. I set up crons now to automatically copy the mail man mailing list into the users root directory. Here is just a basic cron. It only takes a few seconds to write...

#!/bin/sh
# First copy all of the files over for the list of userdomain.com
cp -R -p --reply=yes /usr/local/cpanel/3rdparty/mailman/lists/userdomain.com/ /home/username/ >> /dev/null 2>&1

# Then change the permissions to username so that he can access the files
chown -R username.username /home/username/userdomain.com/ >> /dev/null 2>&1

I am sure that there is a way to set up a cron to work on all domains. I just check it like once per week or so and ad any other users that are not in my cron job. Then when cpanel does the backups it will copy everything in ther users root directory...thus allowing you to always be able to restore from there and also your users can access their lists which makes them feel "warm and fuzzy."
 

SonServers

Well-Known Member
Oct 24, 2001
94
0
306
I restored all accounts from backup last week and the Mailman lists were all restored and working as they should.
 

myusername

Well-Known Member
PartnerNOC
Mar 6, 2003
693
1
168
chown -R us.*yourbase*
cPanel Access Level
DataCenter Provider
Twitter
Did anyone have a ticket in bugzilla on this?

It now is reported that it does copy horde address books. So if there is not a bugzilla ID here then someone please make one or I will check back in a week or so and do so myself.