Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    Member
    Join Date
    Sep 2005
    Posts
    23

    Default How do you do a manual cpanel trasnfer?

    I want to trasnfer a cpanl account to another server which has cpanel but the account is about 4gb and because of LFS (large file support) it crashes when it gets to 2gb.

    So how do i do a manually trasnfer of that account, i only want the databases and content trasnfered.

  2. #2
    Member
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    1,050

    Default

    You can copy a account from shell. Do the following :-
    1) Login to server1
    2) Execute the command :- /scripts/pkgacct username
    A cpmove_username.tar.gz file will be created under /home. Copy the file on Server2 using Ftp or scp
    3) scp cpmove_username.tar.gz IP_of_server2://home
    3) Login to server2.
    4) Move the .tar.gz file in /home
    5) /scripts/restorepkg username

  3. #3
    Member
    Join Date
    Sep 2005
    Posts
    23

    Default

    WIll it stop trasnfering at 2gb because of LFS?

  4. #4
    Member
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    675

    Default

    SCP should move files over 2 gigs in size however you might be better off using rsync instead to do the large transfer.
    Upload Guardian 2.0 - Sign up for our early beta
    ServerProgress - Server security, consulting and assistance

  5. #5
    Member
    Join Date
    Sep 2005
    Posts
    23

    Default

    is this the program: http://rsync.samba.org/

    which server would i install that on and is it hard to use and install?
    Last edited by Bidybag; 04-24-2006 at 04:13 PM.

  6. #6
    Member
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    1,050

    Default

    I suggest you to use 'scp' first as it will do the needful for you. Incase if it fails, then install rsync on Server2.

    It not that hard to install RSYNC. Download the .tar.gz file on your server and do the following :-
    wget the .tar file
    Untar the file :- tar -zxf file.tar.gz
    cd rsync-xxxx
    ./configure
    make
    make install


    Also refer the below url's :-
    http://rsync.samba.org/ftp/rsync/rsync.html

  7. #7
    Member brianoz's Avatar
    Join Date
    Mar 2004
    Location
    Melbourne, Australia
    Posts
    1,117
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Might be simpler to move some stuff out of the home directory, or move databases out of the way, then do a cpanel transfer to copy the account and settings and transfer the large files separately. I've done that to good effect in the past.

  8. #8
    Member
    Join Date
    Jan 2004
    Location
    Roswell, GA
    Posts
    363

    Talking

    Apache isn't built to handle files larger than 2GB, until version 2.2 that is.

  9. #9
    Member brianoz's Avatar
    Join Date
    Mar 2004
    Location
    Melbourne, Australia
    Posts
    1,117
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    On re-reading I realized my previous post might not have been really clear, so here goes in trying to clarify.

    Let's say you go to /home/bigone and do a du, finding that you have 1Gb of files in public_html/bigfiles. I'd move /home/bigone/public_html/bigfiles somewhere else, then tar it up and send it over to the new server. Then I'd check the size of /home/bigone and if it was 500Mb or so, I could then go on and check the databases and do the same thing there. The idea being to reduce the size of what cpanel needs to transfer to be well under 1Gb so it goes faster and works (sometimes cpanel barfs on big transfers, even if they're under the maximum file size, best to keep things well under 1Gb and if that fails, try under 500mb).

    It's still worthwhile using the cpanel transfer as it creates all the email accounts, forwards, ftp users, .htaccess files, etc etc, so is a real time saver there as that's the stuff that takes ages to transfer.

    Cooldude - I guess that Apache limitation may be why the operation is failing, although I'm not sure it's actually through Apache at all? Unless the account tarball is being downloaded via an HTTP GET?

  10. #10
    Member
    Join Date
    Nov 2004
    Posts
    135

    Default

    Quote Originally Posted by Shekhar
    /scripts/pkgacct username
    scp cpmove_username.tar.gz root@IPserver2:/home
    /scripts/restorepkg username

    These commands are very easy. Thankssssss....I got the timeout problem too..
    Last edited by taotoon; 04-28-2006 at 07:09 PM.

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

    Default Try the script.....

    hi,
    have alook at the post of "ramprage" in this thread, his signature has a link to a very popular "cpanel FTP backup script" its a easy one, give it a try.

    see ya,
    mohit
    Learn atleast A word Daily

    7+1 Dedicated Boxes with cPanel...

Similar Threads & Tags
Similar threads

  1. Is it possible to trasnfer cpanel license from old provider to another?
    By EgyKit in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 08-15-2011, 04:01 AM
  2. WHM Trasnfer Problems
    By VapourMike in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 01-20-2004, 11:39 PM
  3. Manual for cpanel
    By AbeFroman in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-20-2002, 01:43 PM
  4. CPanel User Manual
    By Pete in forum Themes and Branding
    Replies: 1
    Last Post: 01-28-2002, 08:20 PM
  5. cpanel manual
    By JeremyL in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-10-2001, 02:22 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube