transfering a real large site via WHM

superiorhost

Well-Known Member
Nov 16, 2001
77
0
306
cPanel Access Level
Root Administrator
Hi,
I have made a few attempts to move a real large site to another server via the WHM transfer account. One cpanel 4.9+ server to another.

The site is over 2 gigs.. can it be transfered over with this function ?

I keep getting this error after a very long time...

Timeout ...
Attemping to package account...
Timeout ...
Attemping to package account...
Timeout ...
Unable to package account

Any suggestions????

Thanks,
TIm L
 

md201

Active Member
Aug 13, 2001
28
0
301
SSH to server and tar the public_html contents of account and then copy file to some other user directory and delete public_html directory this will reduce account size then transfer the account through whm and copy the tar file from source server and untar it in public_html directory on new server. Your site have just been moved.

*cheers*
 
B

bdraco

Guest
[quote:5371bf9e0e][i:5371bf9e0e]Originally posted by superiorhost[/i:5371bf9e0e]

Hi,
I have made a few attempts to move a real large site to another server via the WHM transfer account. One cpanel 4.9+ server to another.

The site is over 2 gigs.. can it be transfered over with this function ?

I keep getting this error after a very long time...

Timeout ...
Attemping to package account...
Timeout ...
Attemping to package account...
Timeout ...
Unable to package account

Any suggestions????

Thanks,
TIm L[/quote:5371bf9e0e]

Older linux systems have a 2gig file size limit. You are probably running into this. As this is a hard limit there is nothing that can really be done about it short of moving the site manually.
 

OECK

Registered
Apr 14, 2003
2
0
151
Having the same problem with a few accounts, though only large ones of about over 300mb, even after changing the timeout period. Perhaps the server specifications on both servers may effect this =/.
 

TheVoice

Well-Known Member
Feb 7, 2002
105
0
316
lower powered servers take longer to copy the site contents and create the archive which can create timeouts very easily. A very simple solution is to do the following:

mv /home/username/public_html /home/usernamepub

This will essentially trick cpanel into thinking there is a smaller site for that user as you have moved the files.

Now copy the site as you would normally using the account copier function then run the following:

mv /home/usernamepub /home/username/public_html

Now login via ssh to the new server and run the following:

rm -rf /home/username/public_html

Now you have to move all the files you didn't transfer over. While in the new server run the following command:

scp -r [email protected]:/home/username/public_html /home/username/public_html

Make sure you replace all the instances of username with the username of the site you want to copy. And replace oldIP with the IP of the old server.

I have used this method many many times to transfer sites that timeout using whm's copier. If you are unconfortable running these commands I am offering to do this for 5 dollars per site on paypal and 15 dollars to transfer a whole server.

If there is an interest I will post a howto for moving sites with large mysql databases that time out.

Hope this helped someone.
 

OECK

Registered
Apr 14, 2003
2
0
151
Yeh did something similar to that, though would have been nice to have settings and other misc data converted also =/.

Cheers though :).
 

gertiebeth

Well-Known Member
Jun 4, 2003
97
0
156
Minnesota, USA
cPanel Access Level
Root Administrator
Originally posted by TheVoice
lower powered servers take longer to copy the site contents and create the archive which can create timeouts very easily. A very simple solution is to do the following:

mv /home/username/public_html /home/usernamepub

This will essentially trick cpanel into thinking there is a smaller site for that user as you have moved the files.

Now copy the site as you would normally using the account copier function then run the following:

mv /home/usernamepub /home/username/public_html

Now login via ssh to the new server and run the following:

rm -rf /home/username/public_html

Now you have to move all the files you didn't transfer over. While in the new server run the following command:

scp -r [email protected]:/home/username/public_html /home/username/public_html

Make sure you replace all the instances of username with the username of the site you want to copy. And replace oldIP with the IP of the old server.

I have used this method many many times to transfer sites that timeout using whm's copier. If you are unconfortable running these commands I am offering to do this for 5 dollars per site on paypal and 15 dollars to transfer a whole server.

If there is an interest I will post a howto for moving sites with large mysql databases that time out.

Hope this helped someone.
I just got a brand new box with cPanel and plan on transferring all the sites from another server that uses Ensim tomorrow. I plan on using the method quoted here as many of my sites are larger than 2 gigs, but I think I may have a problem and I'm hoping someone has run into this already and can help me out...

One of the sites is almost 10 gigs in size, but that is because it has 200 users assigned to it. Will the cPanel site transfer option transfer all of the user accounts as well? And is so (please say it can...) how do I get around the timeouts in the /home/virtual/siteX/fst/home/ directory?

cPanel.net Support Ticket Number:

cPanel.net Support Ticket Number:
 

gertiebeth

Well-Known Member
Jun 4, 2003
97
0
156
Minnesota, USA
cPanel Access Level
Root Administrator
I ended up spiltting all the user accounts and then manually transferring them over. It took me all damn day, but it is now done! :)

cPanel.net Support Ticket Number:
 

Finkinstein

Well-Known Member
Mar 21, 2003
131
0
166
I am interested in how to do it for sites with a large mysql database. Anyone know how.

I'd do it manually, but how do you know where everything goes?

cPanel.net Support Ticket Number:
 

mattboston

Member
Aug 29, 2003
15
0
151
I've been having the same problem. I am trying to use the Copy from one Cpanel server to another. I use the old server IP, old server root PW, client username, admin UN & PW (which are on both servers and part of the wheel group). And just for kicks I've got a real small account (9MB) that I've been trying to move and here's what the results are

Attemping to package account...
Timeout ...
Attemping to package account...
Timeout ...
Attemping to package account...
Timeout ...
Unable to package account
 

mattboston

Member
Aug 29, 2003
15
0
151
ok, I figured it out, i'm running KISS firewall. I guess it's blocking some port other than the standard SSH & CPanel(2083/2087) ports
 

tomarius

Registered
Dec 12, 2003
1
0
151
Teme/AZ
I have problem with Copy an account from another server with account password too

I copied 5 acounts without any problem, but with the last one is finished here 10:40:00 (1.11 MB/s) - `cpmove-username.tmp' saved [293989935] and nothing happend after that

what I have to do?