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.

Restoring mailman.bak

Discussion in 'General Discussion' started by bumba000, Oct 22, 2014.

  1. bumba000

    bumba000 Member

    Joined:
    Aug 2, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello All,

    So I'm trying to get myself out of a /usr 90% full situation. I'm reviewing this thread http://forums.cpanel.net/f402/full-usr-partition-167918.html#post699642

    and have concerns about restoring the mailman.bak file. I can find no clear answers on how this would be accomplished. If I follow the instructions in the above mentioned link and it doesn't work out, how do I restore the .bak file?

    Thank You,
    John
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Did you verify the Mailman is the source of most of the disk space usage? If so, then the instructions you are referring to are actually referencing a directory:

    This copies the entire mailman directory to "/home/mailman.bak" so you would just move the directory back into place if the change failed.

    Thank you.
     
  3. bumba000

    bumba000 Member

    Joined:
    Aug 2, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    So i would
    cp -R /usr/local/cpanel/3rdparty/mailman /home/mailman.bak
    then if needed I would
    mv /home/mailman.bak /usr/local/cpanel/3rdparty/

    I really have no idea what im doing. copy and paste works best when it works. how do you copy and paste out of a bad situation when you don't know what you've done? :)

    - - - Updated - - -

    I have an email from your staff

    He points me to the above mentioned thread and also recommend increasing partition size.
     
  4. bumba000

    bumba000 Member

    Joined:
    Aug 2, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    sorry to appear to be a complete ass but, your guy emailed me again letting me know that none of the dirs on /usr are excessively full. only normal usage. So it would appear that the partition must be resized. Great. Looks like im 9% away from a server crash or whatever happens next.

    Grabbing coffee now. Gonna sit back and watch the show. I'm clearly not going to be resizing any partitions with my skill set.

    Thanks for the super quick response otherwise.

    John
     
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Could you please post the ticket ID you mention?
     
  6. bumba000

    bumba000 Member

    Joined:
    Aug 2, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    hello fellow pennsylvanian! TiD: 5606277
     
  7. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello! :)

    I've read the ticket, and agree with your Hosting Provider whom you quoted in your first post to the ticket. I believe cPanel Technical Support means the same, in his replies there as well.

    Probably not what you're hoping to hear, but there it is.

    Not sure I'd be sitting back with a hot coffee here, it's time to move.
     
  8. bumba000

    bumba000 Member

    Joined:
    Aug 2, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    So I've enabled backups and disable legacy backups in WHM. I have configured backups and am running the backup now via cmd. I understand that next I will have an OS reload and the apply my backups.

    - - - Updated - - -

    Is there a secure way to post the log file from the backup for someone with some skills to review and let me know if it's going to be a viable backup?? Thank You.
     
  9. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    No need really. That is unless you see something odd in it. If you do, you can post a snip of the odd part here of course. You'll know the odd stuff when you see it.

    TBH, jumping to a new server while the old one is still online, might be easier than backing up and waiting for a reload.

    Be sure to work closely with your Hosting Provider.
     
Loading...

Share This Page