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!

Would this work for a site migration?

Discussion in 'General Discussion' started by secwrd, Jan 10, 2005.

  1. secwrd

    secwrd Member

    Joined:
    Jan 18, 2004
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    151
    I have tried the WHM move account for sites on an Ensim server but it always fails, I think because they are so large, so I will need to move them manually, however, I've never done that, anyone who says, is this a good way to do it?:

    1. on old server go to /home/domain.com/var/www/html

    2. tar up the entire contents of above dir

    3. wget file to new server in /home/user_name/public_html

    4. untar the tar file from old server

    5. chown -R user:nuser /home/user/public_html/*

    If it has no database just a lot of files, that should work right? (Ihope)

    Thanks.
     
  2. Promethyl

    Promethyl Well-Known Member

    Joined:
    Mar 27, 2004
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    156
    Seems like you're missing a shiteload...

    Do this... set it to backup to the harddisk, select only thr account you need, and kick off backup.

    (You can find the command to backup in crontab -l whilst logged in as root.)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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