Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Moving Site to Another Server

Discussion in 'General Discussion' started by flashweb, Sep 15, 2004.

  1. flashweb

    flashweb Well-Known Member

    Mar 13, 2003
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    I want to move a web site from one cpanel server to another.

    I tryed the WHM account transfer, but it fails with Timeout ...

    The site have serveral sub domains, have total size of 15 GB.

    Can any one tell me how to backup this account alone, that is similar to /scripts/cpbackup but this this site. Once i backup, i can move the user.tar.gz file to new server and restore it.

    I don not want to move the existing backup file in /backup as its not uptodate.

    I just want to generate a fresh backup for this site alone, then move to new server.

    Is there any other easy way to do ?


    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. dschott

    dschott Member

    May 18, 2004
    Likes Received:
    Trophy Points:
    ima assume you have something resembling root access if so get on a ssh client and type along

    btw you need apache still working for this... and after you tar the file move it to a active site so you can wget it

    _____on the old server____________

    cd /home
    tar -cf site.tar <foldername>
    mv site.tar /home/<activesite>/www

    ____on the new server_________

    cd /home
    wget <active site url>
    tar xfv site.tar

    that should do it, you may need to remake the account on the new serevr then un pack the contents into it
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice