Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Jul 2008
    Posts
    254

    Smile Transfer to another server

    The faster and better way to do that?

    Some files and a big database.

    How can i do it fast from cpanel to cpanel?

    Thank you

  2. #2
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Lightbulb

    If you are simply migrating and existing Cpanel server to a new server, you can much more rapidly transfer the contents of your server using RSYNC.

    This is a basic rundown of how I typically do it ....

    1. Install Cpanel on the new machine and try to match the software installed as closely as possible in terms of the same versions (Cpanel, MySQL, Apache, PHP, etc)

    2. Rsync over the contents of your accounts and system settings

    3. Globally replace the IP and hostname information in all files

    4. Run "/scripts/upcp --force" to more seamlessly smooth out everything
    that can get a little mixed up when you merge two systems.

    Done properly, you can move the entire server over to a new server in
    a small fraction of the time it normally takes to use the normal Cpanel tools
    in either WHM or from the /scripts/pkgacct tool in SSH.

    The above methods only work for cpanel to cpanel transfers though where you are moving the contents of an established server to a new machine.

    The next best thing would be to run the previous mentioned "/scripts/pkgacct (login)" against all accounts and then rsync the cpmove files to the new server where you would run the conterpart "/scripts/unpkgacct". This method is typically faster than using the web interface in WHM and more tolerant to handling sites with larger files.

    If you are converting from a competing control panel or uncomfortable working in the shell environment, my best recommendation would be to use the multiple site transfer tools in WHM.




    3. Run "/scripts/upcp --force"

  3. #3
    Member
    Join Date
    Jul 2008
    Posts
    254

    Default

    Thank you great info

  4. #4
    Registered User
    Join Date
    Jul 2006
    Posts
    2

    Default

    Quote Originally Posted by Spiral View Post
    If you are simply migrating and existing Cpanel server to a new server, you can much more rapidly transfer the contents of your server using RSYNC.

    This is a basic rundown of how I typically do it ....

    1. Install Cpanel on the new machine and try to match the software installed as closely as possible in terms of the same versions (Cpanel, MySQL, Apache, PHP, etc)

    2. Rsync over the contents of your accounts and system settings

    3. Globally replace the IP and hostname information in all files

    4. Run "/scripts/upcp --force" to more seamlessly smooth out everything
    that can get a little mixed up when you merge two systems.

    Done properly, you can move the entire server over to a new server in
    a small fraction of the time it normally takes to use the normal Cpanel tools
    in either WHM or from the /scripts/pkgacct tool in SSH.

    The above methods only work for cpanel to cpanel transfers though where you are moving the contents of an established server to a new machine.

    The next best thing would be to run the previous mentioned "/scripts/pkgacct (login)" against all accounts and then rsync the cpmove files to the new server where you would run the conterpart "/scripts/unpkgacct". This method is typically faster than using the web interface in WHM and more tolerant to handling sites with larger files.

    If you are converting from a competing control panel or uncomfortable working in the shell environment, my best recommendation would be to use the multiple site transfer tools in WHM.




    3. Run "/scripts/upcp --force"
    2. can you give us a command which you use to rsync all neccessary content from one server to another?

    3. also give us list of files where we need to replace old IP with new one.

    thanks.

  5. #5
    Registered User
    Join Date
    Sep 2009
    Posts
    3

    Default

    Hello,

    Please give me the answers of above question.


    Regards,
    Rehan

  6. #6
    Registered User
    Join Date
    Sep 2009
    Posts
    3

    Default

    Hello,

    Can any body tell me that what is the rsync command to move backup from one server to another server.

    Regards,
    Rehan

Similar Threads & Tags
Similar threads

  1. Server-to-server IMAP account transfer
    By AndrewGe in forum New User Questions
    Replies: 2
    Last Post: 09-28-2009, 08:46 AM
  2. Email transfer from backup server to main server
    By jamina1 in forum E-mail Discussions
    Replies: 2
    Last Post: 01-11-2009, 10:01 PM
  3. Replies: 2
    Last Post: 10-14-2005, 04:13 PM
  4. cPanel accounts, server to server transfer
    By AndyB78 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-31-2003, 02:26 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube