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.

Multi server Migration to New Dedicated Server with CPanel + WHM

Discussion in 'Data Protection' started by selvamurali, Jun 13, 2011.

  1. selvamurali

    selvamurali Active Member

    Joined:
    Jan 15, 2009
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Dear folks,

    i face some problem in my hosting.i am expecting here some good solutions....

    1. i have reseller accounts in some reseller hosting providers. NAMED SERVER A
    2. i have only one cloud instance with whm/cpanel with with root access. NAMED : SERVER B
    3. i got new dedicated server WITH WHM/CPAN EL. SERVER C

    NOW I WANT TO ALL HOSTING TO SERVER C=SERVER A+SERVER B
    HOW CAN I MIGRATE TO SERVER C

    i) in SERVER A i have only reseller options. not able to get backup option. only create /modify/suspended rights only

    II) in Server B i have full access

    how can migrate the all data`s in to server C

    pls help which method is best. last one month i seen this forum. there have lot of options.

    can i follow this options

    Instructions:
    1. Log into WHM of your new server and create a new account called "restore", or anything you like for that matter. Remember the FTP address, username ('restore', in this example), and account password. We will need these for later.


    2. Log into the cPanel account you are wanting to transfer on the old server.


    3. Click on "Backup >> Generate/Download a Full Backup".


    4. Once here, select the backup destination to be "Remote FTP Server".


    5. Enter your email address for verification, follwed by all of the FTP account information for "restore", which we created on the new server.

    -Remote Server: new server's address
    -Remote User: restore
    -Remote Password: restore's password
    -Port: 21

    Then, click "Generate Backup". This may take some time to backup the files, depending on how large the account is. You should receive an email provided in the above info once it is complete.


    6. Now, log into SSH on your new server.


    7. Type in the following commands:

    cd /home/restore/public_html

    ls

    After running the list command above (ls), you should see the tar file of the account on the old server. This means that you have successfully sent the file via FTP to your new server.


    8. Now move the tar file to your new server's /home directory with the following command:

    mv tar_file_name /home


    9. Now, log into WHM on your new server and navigate to "Backup >> Restore a Full Backup/cpmove file"

    Once here, you should see the old account's username under "Possible cpmove archives found:".

    If you do not, log back into SSH and be sure that the account's tar file has been moved into /home.


    10. Type in the account name in the text field in WHM, which is proceeded by "Enter the username for the account you wish to restore:".


    11. Click "Restore".


    12. Repeate process for additional accounts.



    That's all there is to it! I have found this way to work alot more sufficiently for moving accounts from one server to another. Hope you all enjoyed!

    this is ok? if i am follow above instructions all datawithut fail can i migrate my server.

    what cpanel team recommend...
    pls help .
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Yes you could go that route, but the extra account is not needed, IMO. You've got at least one account on server C I would assume, and that user is not root, but has lots of space to accept the backups. You don't want to be dropping backup files into a public_html directory either, so create a directory outside public_html. For example /home/selvamur/remotebackups

    On the other servers you would use selvamur's login details and direct the backups to be placed in remotebackups, if you wanted to go that route on the server that you only have Reseller access.
     
  3. selvamurali

    selvamurali Active Member

    Joined:
    Jan 15, 2009
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    cPanel Access Level:
    Root Administrator
    hi thanks i check it

    but its stores two types weekly and monthly. all foldeers have individuals tarz files. not single file
    image /http://malarvanam.in/images/note.png
    pls help
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    This has to be server B rather than server A where you are seeing these files. Server A where you do not have access to the monthly backups cannot possibly show these files. On server A, you will need to use the method indicated to get a backup sent to your other machine so that you can restore the account to server C (if you are migrating the account there). For server B, if you have root SSH access, why even bother doing this if you are migrating it. Use WHM > Transfers area on Server C to connect to Server B to migrate all the accounts.
     
  5. selvamurali

    selvamurali Active Member

    Joined:
    Jan 15, 2009
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    cPanel Access Level:
    Root Administrator
    that image shown server C(destination server). how can i extract that.. pls guide me.
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Guide you how? You've posted your guide above in the first post.
     
  7. selvamurali

    selvamurali Active Member

    Joined:
    Jan 15, 2009
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page