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.

Backup email

Discussion in 'E-mail Discussions' started by itzhero, Nov 16, 2008.

  1. itzhero

    itzhero Active Member

    Joined:
    Nov 16, 2008
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    I am in the middle of moving servers. On server 1, I have a domain and an addon domain. On server 2, each domain has a separate cPanel account [I have root access to server 2, including whm].

    If I copy over /home/domain1/mail/domain2 on server 1 to /home/domain2/mail on server2, would that work for backing up the emails?

    Is there a way to copy over the logins as well?

    Thank You,
    itzhero
     
  2. rhenderson

    rhenderson Well-Known Member

    Joined:
    Apr 21, 2005
    Messages:
    785
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Oklahoma
    cPanel Access Level:
    Root Administrator
    If I were you....Since you do not have root access to the server that the accounts are currently on, surely you have cPanel access, so I would do a cPanel backup and then copy that to the new server. put the .gz file /root or /home on the new server. Go to WHM on the new server Main >> Backup >> Restore a Full Backup/cpmove file and type in the username, then it will unarchive the file with all the emails, domains and logins ;-)
     
  3. itzhero

    itzhero Active Member

    Joined:
    Nov 16, 2008
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    I could do that, but I'd like the domains to have separate accounts.

    I have jailed ssh access to server 1. Can I somehow manually pull it out of the full backup?

    itzhero
     
  4. rhenderson

    rhenderson Well-Known Member

    Joined:
    Apr 21, 2005
    Messages:
    785
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Oklahoma
    cPanel Access Level:
    Root Administrator
    So are the other domains "Add on Domains"?
     
  5. itzhero

    itzhero Active Member

    Joined:
    Nov 16, 2008
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    Yes, that's correct.


     
  6. rhenderson

    rhenderson Well-Known Member

    Joined:
    Apr 21, 2005
    Messages:
    785
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Oklahoma
    cPanel Access Level:
    Root Administrator
    Sorry I did not realize at first that those accounts on the old server were "add on" domains under cPanel. WHM treats those as parked domains and they do not neccessarily have to have 8 character usernames. I am sure you could create the domain in the new system and rsync the public_html over and restore DB's but I do not know how you could xfer the mail over.

    Good luck with this!!
     
  7. itzhero

    itzhero Active Member

    Joined:
    Nov 16, 2008
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    This is where I am stuck. I can transfer everything else over easily. I'm just wondering if this method that I posted in the initial post would work.
     
  8. rhenderson

    rhenderson Well-Known Member

    Joined:
    Apr 21, 2005
    Messages:
    785
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Oklahoma
    cPanel Access Level:
    Root Administrator
    I guess you could always try one as a test and see if it works. I have some customers that set up their reseller accounts that way because I they not ever look at WHM but we have not tried to convert them over as you are doing.
     
Loading...

Share This Page