The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WHM backup does NOT restore mailman lists

Discussion in 'E-mail Discussions' started by Aiki-boy, Dec 3, 2004.

  1. Aiki-boy

    Aiki-boy Member

    Joined:
    Aug 14, 2003
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
  2. Aiki-boy

    Aiki-boy Member

    Joined:
    Aug 14, 2003
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  3. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    What was the ticket number? This is not a known issue on the dev side.
     
  4. 10101

    10101 Well-Known Member

    Joined:
    Sep 4, 2003
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    16
    cpanel backup also doenst restore horde address books.
     
  5. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    That IS a known issue.
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Why is this thread sticky?
     
  7. Faldran

    Faldran Well-Known Member

    Joined:
    May 28, 2002
    Messages:
    136
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  8. jnagro

    jnagro Active Member

    Joined:
    Jun 28, 2003
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    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!
     
  9. DigitalN

    DigitalN Well-Known Member

    Joined:
    Sep 23, 2004
    Messages:
    420
    Likes Received:
    1
    Trophy Points:
    18
    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.
     
  10. hostingmetro

    hostingmetro Active Member
    PartnerNOC

    Joined:
    May 30, 2003
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    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.
     
  11. jnagro

    jnagro Active Member

    Joined:
    Jun 28, 2003
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    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
     
  12. myusername

    myusername Well-Known Member
    PartnerNOC

    Joined:
    Mar 6, 2003
    Messages:
    691
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    chown -R us.*yourbase*
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Is it a known issue that the copy multiple accounts from another server also forgets about mailman lists?

    (last I checked it also forgets /etc/valiases)
     
  13. cunoodle2

    cunoodle2 Member

    Joined:
    Jun 17, 2004
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    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."
     
  14. SonServers

    SonServers Well-Known Member

    Joined:
    Oct 24, 2001
    Messages:
    94
    Likes Received:
    0
    Trophy Points:
    6
    I restored all accounts from backup last week and the Mailman lists were all restored and working as they should.
     
  15. myusername

    myusername Well-Known Member
    PartnerNOC

    Joined:
    Mar 6, 2003
    Messages:
    691
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    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.
     
Loading...

Share This Page