Skip to main content

Restore an Email Account Only

Comments

4 comments

  • cPanelMichael
    Hello :) The following thread should help you get started: Recover accidently deleted email account Thank you.
    0
  • PCZero
    I'll read that Michael. I did find a way to accomplish what I wanted. As soon as I read the other thread I'll come back here to post my method. [COLOR="silver">- - - Updated - - - Michael here is my fix. Feel free to offer me any feedback/comments/opinions as to how valid this method is... I needed to restore an email account and I did not want the client to have to go through the process of recreating the accounts and PWs. Since I have daily off site back ups, I was able to do the following... 1) Extract the etc and mail from the tarball of the user's backup. 2) Upload there two directories to the user's home directory. 3) SSH into the server and go to the user's home directory. 4) Issue the following commands. cp --force -r _restore_mail/etc/ ./ cp --force -r _restore_mail/mail/ ./ chown -R ACCOUNT_NAME:ACCOUNT_NAME etc chown -R ACCOUNT_NAME:ACCOUNT_NAME mail rm -rf _restore_mail 5) Run WHM - Email - Repair Mailbox Permissions This worked for all of the accounts I needed to restore just fine. It rebuilt the accounts with the existing passwords and retained any email that was on the server.
    0
  • cPanelMichael
    Yes, those steps should work if you have to complete the same task again in the future. Thank you.
    0
  • PCZero
    Woo Hoo I actually got one right for a change! I think I will go have a bag of cookies...
    0

Please sign in to leave a comment.