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.

Need to move all sites from one server to another

Discussion in 'General Discussion' started by avara, May 27, 2002.

  1. avara

    avara Well-Known Member

    Joined:
    Oct 28, 2001
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    We want to move ALL SITES hosted on an older server to a new one (like an upgrade). While I know WHM has an account copier feature, I assume it would be better to do it manually.

    So which files would I need to copy to complete the upgrade from the older server, to the new one? It is important that EVERYTHING is copied, including shopping carts, mailman lists, email accounts, etc!
     
  2. avara

    avara Well-Known Member

    Joined:
    Oct 28, 2001
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    Anybody?

    I would like a complete list of items which would need to be copied, along with any other things that would have to be done.
     
  3. bdraco

    bdraco Guest

    [quote:23fe70341a][i:23fe70341a]Originally posted by avara[/i:23fe70341a]

    Anybody?

    I would like a complete list of items which would need to be copied, along with any other things that would have to be done.[/quote:23fe70341a]

    It probably would be best to use WHM then just copy of the contents of /var/cpanel to the new server after you are done to keep the reseller permissions. Also, you probably want to move your ssl crts from /usr/share/ssl as well.
     
  4. jstayton

    jstayton Member

    Joined:
    Sep 22, 2001
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Hi Urban,

    Below is a list of files that need to be moved to the new server...

    [quote:1da4e4d716]sftp root@ipaddress
    get /etc/file

    /etc/group
    /etc/domainalias
    /etc/domainips (change ips)
    /etc/localdomains
    /etc/named.conf (add the key from the 7.1 file as well as controls)
    /etc/shadow (this will make root password same as old one)
    /etc/passwd
    /etc/proftpd.conf (change ips)
    /etc/userdomains
    /etc/proftpd (dir)
    /etc/valiases (dir)
    /etc/vfilters (dir)
    /etc/ssl (dir) AND/OR /usr/local/ssl (dir)
    /var/cpanel (dir)
    /var/lib/mysql (dir) (stop mysql first)
    /var/named (dir)
    /var/spool/cron (dir)
    /usr/local/apache/conf/httpd.conf (change ips) (just copy virtualhost's from old file)
    /usr/local/cpanel/3rdparty/mailman/lists (dir)
    /usr/local/cpanel/3rdparty/mailman/archives (dir)
    /usr/local/cpanel/base/frontend (dir)
    /usr/local/frontpage (dir) (don't copy 'currentversion@' or 'version4.0')
    /home (dir)
    /usr/ips (optional only copy if using the same ips)

    restart all services[/quote:1da4e4d716]
     
  5. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Spain
    Also make sure you keep hard and symlinks as such.
     
Loading...

Share This Page