Moving Site

Discussion in 'Site & Server Administration' started by usf, Feb 10, 2010.

Thread Status:
Not open for further replies.
  1. #1
    hello,

    I am wanted to move my complete site from one server to another via cPanel/whm. How can I do this perfectly. My site size is 21GB. Is there any way to directly move it to other server. I take a full back up. But when i try to download it it held at 3.99GB. is there any simple solution to move site from one server to another?
     
    usf, Feb 10, 2010 IP
  2. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #2
    Hello there. Do you have root access on both servers? What I would suggest, is the rsync the backup file from the old server to the new one, then use the WHM Restore Accounts feature to restore the account on the new server.
     
    RHS-Chris, Feb 10, 2010 IP
  3. usf

    usf Active Member

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #3
    i have full access of root. but i don't know the proper method. please tell me with detail.

    Thanks very much
     
    usf, Feb 10, 2010 IP
  4. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #4
    Create your full backup. It gets placed in the users home directory. Now, from the old server, run the following command, of course, changing the details as needed:

    rsync -avze ssh /home/user/backup.tar.gz root@newserverip:/root
    Code (markup):
    This will copy the file to the new server, to the root directory. It will ask your for the root password for the new server once you run the command. Once the file has been copied over, you can restore it using WHM.

    Chris
     
    RHS-Chris, Feb 10, 2010 IP
    sawz likes this.
  5. usf

    usf Active Member

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #5
    Thank you very much. I do this successfully.

    Thanks A Lot.
     
    usf, Feb 10, 2010 IP
  6. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #6
    Glad to hear it worked for you :)

    Chris
     
    RHS-Chris, Feb 10, 2010 IP
Thread Status:
Not open for further replies.