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.

Fastest Way to move Accounts

Discussion in 'General Discussion' started by binaer, Oct 24, 2005.

  1. binaer

    binaer Well-Known Member

    Joined:
    Jul 6, 2004
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    Hello community

    What's the fastest way to move Accounts from an old box to a new box? Is this the WHM-Feature (Copy accounts) or another?

    kind regards
    binaer
     
  2. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    475
    Likes Received:
    1
    Trophy Points:
    18
    transfer accounts in WHM
     
  3. apogee

    apogee Well-Known Member

    Joined:
    Nov 8, 2004
    Messages:
    107
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Europe
    cPanel Access Level:
    DataCenter Provider
    use rsync and copy all files
     
  4. binaer

    binaer Well-Known Member

    Joined:
    Jul 6, 2004
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    what is "all files"? ;)
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I'd personally recommend taking a full cPanel backup and then copy the tarballs over to the new server and then restore them. That way is more stable and reliable that using the account transfer procedure. Using rsync is a very bad idea unless you want to have to create a lot of things by hand on the new server first and then have to fix file ownerships - which is neither reliable or a stable way to do it.
     
  6. tahunga

    tahunga Registered

    Joined:
    Mar 19, 2003
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    How to?

    Make a full backup of an account from it's cpanel to a local folder then upload into the new server... but... do I have to create first an new account on the new server with the same domain name?.... and then upload to the new account... and from the new account process to restore the backup file..? :confused:
     
  7. sh4ka

    sh4ka Well-Known Member

    Joined:
    May 12, 2005
    Messages:
    442
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    US
    cPanel Access Level:
    DataCenter Provider
    Just copy all backup tarballs from your backup directory (/backup/cpbackup/daily weekly or monthly, as fresh as you want) to the new server using SCP command, then configure backups on the new server, create a directory at /backup/cpbackup/ANY_FOLDER and put your tarballs there. Last step, run "Restore Multiple Backups" and restore all backups from the folder you created... , that's all, after the restore process all account should be recreated and completely restored in the new server ;)
     
  8. binaer

    binaer Well-Known Member

    Joined:
    Jul 6, 2004
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    why, I should not use the "Account function"? Is there any thing? How much does it takes longer than the "Backup-Restore"-Procedure? I think, that's not the thing...

    Backup/Restore, I think, is a Bad idea when I want to use the actual Datas...
     
  9. panayot

    panayot Well-Known Member

    Joined:
    Nov 18, 2004
    Messages:
    125
    Likes Received:
    0
    Trophy Points:
    16
    Transfer account will be best as it will fetch latest file/database updates. What I do is start a transfer of multiple accounts and watch the progress. When each account is trasfered and created successfuly on the new server, I immediately change dns so that it points to the new server. (you can either change name servers at the domain or change the ip-s in your old servers's dns server). You could also reduce one day beforehand the dns refresh of your current server, so that old ip-s dont get cached for a long time in dns servers around the internet.

    I would suppose that this way is as quick as the backups method because they both involve the same operations like dups, gzipping, etc.
     
  10. binaer

    binaer Well-Known Member

    Joined:
    Jul 6, 2004
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    can I start multiple Account Transfers parallel?
     
  11. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    No, backup restore is not a bad idea, it's generally regarded as the best way to move accounts.

    The transfer procedure is fine if you have small sites to move, but anything that is quite large could result in network timeouts and the forums are littered with such problems.
     
  12. baci

    baci Registered

    Joined:
    Oct 26, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Help

    I have the tar full backup that has everything in it from my site, php stuff to mysql stuff.

    How do I put it onto my new server and make it as if it was my old one?

    P.S. I no longer have the old server, I have servral of the tars though. I don't know where to find servral functions you mention, such as "run "Restore Multiple Backups""

    help, thanks!
     
  13. markhard

    markhard Well-Known Member

    Joined:
    Apr 22, 2004
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    16
    incase i want to transfer 300+ websites (about 10GB of disk space), what if i open whm from shell? so i ssh to my new server then open whm using text based browser like 'links'.

    does it will help reducing the networks timeouts problem?
     
  14. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    AFAIK, that won't work, and if it did, it wouldn't make any difference as the same mechanism is still being used. Backup and restore is still the most reliable method to use.
     
  15. markhard

    markhard Well-Known Member

    Joined:
    Apr 22, 2004
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    16
    so i just configure backup via WHM? and then ftp all tar.gz files to the new server and restore it?

    does backup and restore all accounts in server can be done via SSH?
     
  16. markhard

    markhard Well-Known Member

    Joined:
    Apr 22, 2004
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    16
    how to get the latest backup of all accounts on the server? via SSH, WHM?
     
  17. markhard

    markhard Well-Known Member

    Joined:
    Apr 22, 2004
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    16
    restore backup via SSH

    we can run backup all accounts from SSH using:

    /scripts/cpbackup --force

    my question is: how to restore all accounts from daily/weekly/monthly backup from SSH?
     
Loading...

Share This Page