Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Jan 2007
    Location
    Folsom, California
    Posts
    4

    Default How to copy large account from another cpanel server

    I want to copy an account to a new server.
    The problem is, the account is large. The zipped backup file is 3.9Gb
    The complete account is 8Gb

    From what I've read, thats too big to use the standard
    "Copy an account from another server" script in WHM

    Is that true? - I've neven moved an account over 600Mb

    If that is so, how could I get cpanel to copy the account
    in exactly the same way, but not actually transfer all the
    files (I would want it to do everything else including
    duplicating the ftp accounts and databases.

    The main things I'm interested in getting are all the
    complex and time consuming things like databases and ftp accounts.

    Is there a way?
    I've seen the PHP cpanel API - will that work?
    - or should I just try the account copy?

  2. #2
    Member rhenderson's Avatar
    Join Date
    Apr 2005
    Location
    Oklahoma
    Posts
    742

    Default

    Make a cpanel backup of the account you want to move. Ftp that backup to /home or /root on the new server, (We usually log into ssh then from /root open ftp, then ftp to the site where the backup is and get backup.tar.gz) then go to WHM Main >> Backup >> Restore a Full Backup/cpmove file and type in the username.

    This should take care of the data and FTP and MySQL. I have seen it skip add-on domains.
    Regards,
    Randy
    Affordable Web Hosting
    _________________________

  3. #3
    Registered User
    Join Date
    Jan 2007
    Location
    Folsom, California
    Posts
    4

    Default

    Thanks
    I think there only one problem with that idea
    The gzipped tarfile of the whole account is 8Gb
    so won't the cpanel backup be close to the same?
    As far as I know, you can't ftp a file over 1Gb

  4. #4
    Member
    Join Date
    Mar 2004
    Posts
    21

    Default

    I have moved a 13GB account from one CPanel server to another. I used ssh and scp to move the backup file.

  5. #5
    Member
    Join Date
    Mar 2006
    Posts
    1,215

    Default

    The most efficient way is to split your file into multiple smaller files.
    you can then upload several threads simultaneously and save some
    time if the upload speed is throttled.

    anyway... dont forget to do checksum and compare it after you
    join it back.

    example...

    split -b 500000000 backup.tar.gz backup.tar.gz

    (this will split your backup into 500 meg parts with the backup name and
    suffix of gzaa, gzab etc etc)

    on the destination server join them back with the cat command.

    cat backup.tar.gz?? > backup.tar.gz

    (that will combine it back)

    then do your md5sum to be sure its clean.

    cheers!!

  6. #6
    Member
    Join Date
    Nov 2005
    Posts
    147

    Default

    Hey,

    Check out this link,
    http://forums.cpanel.net/showthread.php?t=60637

    From,
    Adam
    cPanel Customer since November 2005
    ---
    - 7 Servers running cPanel/WHM

    Tutorials I have made:
    - Transfer accounts from one server to another

  7. #7
    Registered User
    Join Date
    Jan 2007
    Location
    Folsom, California
    Posts
    4

    Default

    Thank you.
    I really appreciate all the info.
    I will let you know how it goes.

    Alan.

  8. #8
    Registered User
    Join Date
    Jan 2007
    Location
    Folsom, California
    Posts
    4

    Default

    I transferred a 2Gb account - still preparing the 10Gb account

    This is what I did:
    Both are cpanel, in the same data centre
    On the new machine, I selected
    Main >> Transfers >> Copy an account from another server with account password

    This let the originating machine package the account and all the dbs abd ftp accounts, mail etc.
    The account was too big to transfer, so cPanel splits it into 100Mb parts
    Cpanel actually transferred the whole thing to the new server, using FTP
    Thats where it failed, so I just used

    Main >> Backup >> Restore a Full Backup/cpmove file

    - and it was perfect

    So last night, I did the same on the newsblaze.com (10Gb ) account.
    cPanel split the data into 94 100Mb parts, but it failed to ftp them to the new machine
    So thats where I am now, ftping the parts.

    I used scp - it was really good. 5MB/second and around 20 seconds per part.


    Alan
    Last edited by scally; 01-13-2007 at 03:59 PM. Reason: adding updated info

Similar Threads & Tags
Similar threads

  1. Replies: 13
    Last Post: 01-29-2010, 12:11 AM
  2. hoe to copy large files from one folder to another in cpanel??
    By cool999 in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 01-27-2010, 04:05 PM
  3. cpanel copy an account from another server doesn't copy full dns zone
    By boatdesign in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-17-2007, 01:26 PM
  4. Best Way to copy a very large site to a new server
    By dlewis23 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 05-25-2007, 12:12 PM
  5. Copy Account from Another Server - not working in cpanel 5 b
    By chatcircuit in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-06-2002, 02:24 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube