Results 1 to 3 of 3

Thread: How to restore a specific mail box on the domain from a cpanel backup

  1. #1
    Member
    Join Date
    Jun 2012
    Posts
    8
    cPanel/WHM Access Level

    Root Administrator

    Default How to restore a specific mail box on the domain from a cpanel backup

    Accidently deleted mail box of an email account , how can we retrieve that specific mail box of a email account as we have the daily backup from cpanel without disturbing the existing mails
    Please let me know how to retrieve it

  2. #2
    Member
    Join Date
    Aug 2010
    Location
    /proc
    Posts
    346
    cPanel/WHM Access Level

    Root Administrator

    Default Re: How to restore a specific mail box on the domain from a cpanel backup

    Hello,

    Try the following steps,

    1. Extract the backup of the particular user and cd to the extracted folder ( tar -xvzf cpmove-user.tar.gz )

    2. There you can see a homedir.tar file; now untar it ( tar -xvf homedir.tar )

    3. When untar is over, you can see a "mail" directory.

    4. switch to it and you can see the domain.com directory; cd to it and list the files / directroies

    5. Now you can see your mail user's email box. Copy it and paste it to /home/user/mail/domain/.com/

    6. Make sue a symlink is created /home/user/mail/ to that email folder. You can refer other email account and see those symlinks for reference.

    6. Try to send a test mail.

    7. Done!

    Thank you.

  3. #3
    Member
    Join Date
    Jun 2012
    Posts
    8
    cPanel/WHM Access Level

    Root Administrator

    Default Re: How to restore a specific mail box on the domain from a cpanel backup

    Hello

    Let me just check as you posted and come back as domain is sizing around 40GB

Similar Threads

  1. Spam Box Login Error on a Specific Domain...
    By z3usy in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 02-26-2006, 08:52 PM
  2. I Cannot Restore My Domain From The Cpanel Backup.
    By dsouth in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 10-09-2004, 12:09 PM
  3. I Cannot Restore My Domain From The Cpanel Backup.
    By dsouth in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 10-09-2004, 10:43 AM
  4. Backup Config Files (not needed to restore specific accounts)
    By isputra in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 04-01-2004, 04:54 AM
  5. how to restore a mail box
    By miami_g in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 07-03-2002, 10:46 AM