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.

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:
    1
    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:
    6
    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.)
     
Loading...

Share This Page