Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 16 to 25 of 25
  1. #16
    Member
    Join Date
    Oct 2005
    Posts
    29

    Default

    Quote Originally Posted by Chriz1977 View Post
    Hi

    This is how I do it :

    1. Log into the server that your copying the accounts from via SSH

    2. type '/scripts/pkgacct [username]'

    3. type 'scp cpmove-[username].tar.gz root@[NEWSERVERIP]:/home/'

    4. Log into the [NEWSERVER] via SSH

    5. type '/scripts/restorepkg [username]'

    DONE!
    tried this method and worked like a charm for an account of about 3 gb

  2. #17
    Registered User
    Join Date
    Mar 2010
    Posts
    3

    Default Backup help

    Hello gurus, I have a bit complex scenario. Please help

    I have a WHM reseller account with No SSH & root with over 12 GB data and 150 accounts. Now I got a VPS with WHM and root access.

    I want to move all my 150 accounts from Server A to Server B (with SSH).

    I need help and guidance by which I can get the job done with least efforts. I have R1soft backup facility on my Server A and root access on server B.

    If there is any way I can log on to my new server and run a script to get accounts from FTP access of the old server to CP backup restore (complete package & PW) at new server.

    Please help

  3. #18
    Member
    Join Date
    Jul 2005
    Location
    Sticky On Internet
    Posts
    555

    Default

    Quote Originally Posted by apex2010 View Post
    Hello gurus, I have a bit complex scenario. Please help

    I have a WHM reseller account with No SSH & root with over 12 GB data and 150 accounts. Now I got a VPS with WHM and root access.

    I want to move all my 150 accounts from Server A to Server B (with SSH).

    I need help and guidance by which I can get the job done with least efforts. I have R1soft backup facility on my Server A and root access on server B.

    If there is any way I can log on to my new server and run a script to get accounts from FTP access of the old server to CP backup restore (complete package & PW) at new server.

    Please help

    Use copy multiple accounts from another server option in WHM of new server.
    you can search more details on this on this forum, i think not less than 100 threads about the same.
    Learn atleast A word Daily

    7+1 Dedicated Boxes with cPanel...

  4. #19
    Registered User
    Join Date
    Dec 2004
    Location
    Bolivia - Santa Cruz
    Posts
    4

    Default

    My old server does not allow me to copy accounts to the new server. What could be the problem.

  5. #20
    Member
    Join Date
    Nov 2007
    Posts
    5

    Default Re: How To: Transfer Accounts from one server to another!

    Quote Originally Posted by Chriz1977 View Post
    Hi

    This is how I do it :

    1. Log into the server that your copying the accounts from via SSH

    2. type '/scripts/pkgacct [username]'

    3. type 'scp cpmove-[username].tar.gz root@[NEWSERVERIP]:/home/'

    4. Log into the [NEWSERVER] via SSH

    5. type '/scripts/restorepkg [username]'

    DONE!

    Brilliant and perfect advice. Thanks so much.

  6. #21
    Member
    Join Date
    May 2008
    Posts
    16

    Default Re: How To: Transfer Accounts from one server to another!

    Quote Originally Posted by HelloAdam View Post
    Hey,

    Or you could use this method. HOW ever, when trasfering large accounts (anything over 300mb is my limit) you have a higher chance of something going wrong, from a lost packet from old server to new server. This process is longer since it takes each account and extracts them one by one, instead of downloading all the accounts and extracting all the accounts together. Hence the reson the first method is the best...

    From,
    Adam
    I don't know about this. I just transferred over 20 accounts, several over 400mb using the "Copy multiple accounts/packages from another server" in WHM and it was easy and flawless. All MYSQL databases came over fine too. The transfer took about 2 1/2 hours.

  7. #22
    Member
    Join Date
    Jan 2007
    Posts
    29

    Default Re: How To: Transfer Accounts from one server to another!

    Quote Originally Posted by Chriz1977 View Post
    Hi


    3. type 'scp cpmove-[username].tar.gz root@[NEWSERVERIP]:/home/'
    generates error message 'ssh:connect to host [ip address] port 22: connection refused'

  8. #23
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: How To: Transfer Accounts from one server to another!

    Does SSH run on port 22 on the remote machine or some other port? If it is another port, you'd need to do:

    Code:
    scp -P port# cpmove-[username].tar.gz root@[NEWSERVERIP]:/home/
    Where port# is the port number for SSH on the remote machine.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  9. #24
    Member
    Join Date
    Apr 2010
    Posts
    39

    Default Re: How To: Transfer Accounts from one server to another!

    I'm ding pkgacct on a 17 gig account since whm copy function breaks at about 10gigs. But, any ideas on transferring a 150 gig account? I doubt packing the account would be handled by server very well...

  10. #25
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: How To: Transfer Accounts from one server to another!

    If most of the space is due to the user's public_html directory, I would suggest running:

    Code:
    /scripts/pkgacct --skiphomedir username
    Please replace username with the cPanel username of the account. This will skip the /home/username directory contents. After you've packaged the account, you could restore it onto the new machine, then you could rsync over the contents of the /home/username directory instead. rsync is faster and wouldn't require packaging to copy the contents.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads & Tags
Similar threads

  1. Transfer Accounts from another Server
    By vwiley1 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-12-2006, 11:24 AM
  2. problems after accounts transfer on another server
    By marius in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-19-2005, 06:47 AM
  3. Transfer all Accounts to a new server
    By CoolMike in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-14-2004, 09:42 AM
  4. How to transfer accounts to a different server?
    By Ronny in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 04-20-2003, 11:15 AM
  5. Transfer accounts to new server
    By drose25 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-14-2003, 08:50 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube