Need some help transferring site to new VPS

Discussion in 'Site & Server Administration' started by sbongo, Dec 22, 2006.

  1. #1
    Im going to buy a VPS plan at servint.However,im not sure how do i transfer.I have consulted their customer service officer and they told me some tutorials which is on WHM and i dont understand and i dont have a WHM,i only have a cpanel.

    How do i transfer the sites?

    Using FTP to download every files and upload it again?

    It would take ages :(
     
    sbongo, Dec 22, 2006 IP
  2. netfreehost

    netfreehost Peon

    Messages:
    136
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Login to WHM as root, then use "Copy an account from another server with account password" link under Transfers menu item. This will copy the site from remote server if it use cpanel control panel.
     
    netfreehost, Dec 22, 2006 IP
  3. mondala

    mondala Active Member

    Messages:
    144
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    65
    #3
    I use servint and they are great,,, you may only have cpanel now but once you get signed up with servint, you will then have whm and netfreehost's steps will work great for copying your existing cpanel site.
     
    mondala, Dec 22, 2006 IP
  4. sbongo

    sbongo Peon

    Messages:
    986
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #4
    wow..thanks for the great help,guys :)

    btw,how long does the transfer take?

    will it timeout if its too long?

    I have xxgbs of files so im worried about getting stuck halfway
     
    sbongo, Dec 22, 2006 IP
  5. mondala

    mondala Active Member

    Messages:
    144
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    65
    #5
    Yes, you might run into problems with a site that big using the whm copy option.

    Whatever you do, make sure you have file and database backups before starting.

    You could transfer the site manually. (copy files & database , import into your new host)

    Or you could download all of your files, then delete the directories with the majority of your filestorage, then use the whm copy feature... it will setup the account and transfer the databases etc.. then you can reupload your files manually. (If you do not understand this, don't try it... transfer manually instead and servint noc can direct you.)
     
    mondala, Dec 22, 2006 IP
  6. tanfwc

    tanfwc Peon

    Messages:
    579
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #6
    There is a better way to transfer your files over.

    Setup a shell account at your VPS

    useradd user1
    passwd user1
    Code (markup):
    Now you have setup this username 'user1'. Now, login to your cPanel and click on Backup option. Click on the 'Generate/Download a Full Backup', fill in all the information in there.

    Example
    Click Generate Backup and wait for the server to tar your website and dump to your VPS. Depends on the size of your website, wait for around 5 minutes(if your website is 5GB, then wait longer) run this command to see whether your file is still being dump or not.

    Once the file is been transfer to your VPS, move your files to either /root or /home. Then execute the following command to restore the account on your VPS.

    /scripts/restorepkg youroldcpanelusername
    Code (markup):
    Ok, you have done the transfer of data. Now change DNS of your domain name and ask your old host to change the DNS record to point to your new IP address.

    Enjoy
     
    tanfwc, Dec 23, 2006 IP