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.

can i transfer all my accounts from one server to another ssh

Discussion in 'General Discussion' started by b0072k1, Mar 5, 2005.

  1. b0072k1

    b0072k1 Well-Known Member

    Joined:
    Dec 30, 2004
    Messages:
    133
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Glasgow
    hi, Just wondering could i transfer all my clients accounts from one server to another using ssh as i cant access whm but i can access shh no problems?
     
  2. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    As far as I know, you can't. But either way if you can access SSH as root then WHM should be accessible unless it is broken.
     
  3. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    Yes, you can transfer all of your clients accounts at the prompt. But it is really painful, time consuming and brain draining.

    1. You'll need to gzip the /home directory, then
    2. transfer the zipped file from the old to the new server using scp command.
    3. You'll need to create every account on the new server using the WHM.
    4. Unzip the /home file and replace it with the new /home

    As I said, it is painful and won't yield the results you want/expect, but it is possible.
     
  4. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    Andy, that's good for the home directories, but it does not do mail aliases, mysql, apache settings, etc...

    I do agree very painful way of doing it though.
     
  5. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    Dave, that's why I said the admin need to re-create the accounts using the WHM first and then unzip the /home directory and replace it with the one on the new server.

    He also needs to transfer all DBs and other conf/sys files and do all the work manually.
     
  6. b0072k1

    b0072k1 Well-Known Member

    Joined:
    Dec 30, 2004
    Messages:
    133
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Glasgow
    nm cheers anyway a got the prob fixed well partially
     
  7. junglecat

    junglecat Well-Known Member

    Joined:
    Jul 6, 2004
    Messages:
    168
    Likes Received:
    0
    Trophy Points:
    16
Loading...

Share This Page