Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

cPanel Mail account backup

Discussion in 'E-mail Discussion' started by wchavarriad, Jul 31, 2018.

  1. wchavarriad

    wchavarriad Member

    Joined:
    Jul 31, 2018
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Costa Rica
    cPanel Access Level:
    Website Owner
    good afternoon,
    I need your help, I've searched for documentation but I still can not find what I'm need
    1. Back up the email accounts that I created in CPanel, their passwords and settings.
    2. Install a CPanel from scratch.
    3. Recover from the backup the email accounts you had before.

    How can I do this? your help please
     
  2. Shood

    Shood Well-Known Member

    Joined:
    Aug 12, 2015
    Messages:
    55
    Likes Received:
    10
    Trophy Points:
    83
    Location:
    Middle East
    cPanel Access Level:
    Root Administrator
    Hello @wchavarriad
    Email accounts and their passwords stored in two folders in cPanel, Home Directory:
    home/etc
    home/mail
    Backup them from old cPanel and recover it to the new cPanel, you'll get them exactly as its old definition
    Hope this helps
     
  3. wchavarriad

    wchavarriad Member

    Joined:
    Jul 31, 2018
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Costa Rica
    cPanel Access Level:
    Website Owner
    @Shood thanks alot... i will try this and tell here if it works!!!!
     
  4. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,137
    Likes Received:
    223
    Trophy Points:
    173
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @wchavarriad

    @Shood is correct please let us know if you run into any issues!


    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. wchavarriad

    wchavarriad Member

    Joined:
    Jul 31, 2018
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Costa Rica
    cPanel Access Level:
    Website Owner
    Works!!! but you have another situation, the mail account does not appear in the Cpanel email list ... is it possible to change this? if I needed to make some adjustment (change password or some configuration) I could not enter these options from Cpanel
     
  6. wchavarriad

    wchavarriad Member

    Joined:
    Jul 31, 2018
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Costa Rica
    cPanel Access Level:
    Website Owner
    Works!!! but you have another situation, the mail account does not appear in the Cpanel email list ... is it possible to change this? if I needed to make some adjustment (change password or some configuration) I could not enter these options from Cpanel
     
  7. Shood

    Shood Well-Known Member

    Joined:
    Aug 12, 2015
    Messages:
    55
    Likes Received:
    10
    Trophy Points:
    83
    Location:
    Middle East
    cPanel Access Level:
    Root Administrator
    Hi @wchavarriad
    Grate that it worked! but how did you knew that it worked while it doesn't appear in Email Accounts list?
    However, try to Add Email Account from cPanel and refresh
     
  8. wchavarriad

    wchavarriad Member

    Joined:
    Jul 31, 2018
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Costa Rica
    cPanel Access Level:
    Website Owner
    to check the operation I did a small test of sending and receiving emails and everything worked correctly .... when I tried to enter Cpanel's mail the recovered account is not listed ... how could I correct it?
     
  9. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,137
    Likes Received:
    223
    Trophy Points:
    173
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @wchavarriad

    This is most likely due to /home/$user/.cpanel/email_accounts.json not being present. If you add an unrelated email account does the list of the email accounts you moved over appear?

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. wchavarriad

    wchavarriad Member

    Joined:
    Jul 31, 2018
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Costa Rica
    cPanel Access Level:
    Website Owner

    Exactly what I needed, I added the username in the code and effectively added the email in the Cpanel list. Thank you very much ... now I will do the complete restoration and publish here how it works
     
  11. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,137
    Likes Received:
    223
    Trophy Points:
    173
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @wchavarriad

    I'm glad that worked for you! Thank you for letting us know.

    That's a great idea and for anyone reading this later while this is completely ok to do, please keep in mind that this procedure is not something native to cPanel and our support for changes like these may be limited.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice