Whats the best way to move large files from one server to another.

cdrake

Member
Feb 5, 2004
19
0
151
I got a new dedicated server. I have tried using cpanels Copy account function but it keeps timing out because the site is so large. What is the best way for me to move the site to the new server? I really dont want to have to download the entire site and upload it through cpanels backup feature. It would take forever seeing as how the site is 10 GB.

Is there any other way of doing this?

Thanks
Carey D.
 

ttk_2k

Well-Known Member
Jan 22, 2005
45
0
156
I suggest you tar the file on your old server, and log into SSH on your new server and wget it. :)
 

ttk_2k

Well-Known Member
Jan 22, 2005
45
0
156
The 'wget' is a way to download a file from Internet to your local server, so if you run that command on your server via SSH, you'll download a file from any other place of the Internet.

'tar' means to compress files in to a compressed file, normally like 'filename.tar.gz', in order to make sure you don't lose file permissions and structures, you'd better use this command to 'tar' your entire directory:

Code:
tar cvzfp DIRECTORY.tar.gz /home/USERNAME
(make sure to change above capitalized words into your own)

and when you 'wget' files on to your new server use such like "wget http://DOMAIN.com/DIRECTORY.tar.gz", you'll have to use this way to uncompress it, then a site got easily moved:

Code:
tar -xzvf DIRECTORY.tar.gz
Best luck!
 

GOT

Get Proactive!
PartnerNOC
Apr 8, 2003
1,755
316
363
Chesapeake, VA
cPanel Access Level
DataCenter Provider
Using SCP will not handle all the ins and outs of setting everything up.

I would try using cPanel to make a complete backup file, then download that manually, then upload it to the new server.

I presume you do not have shell access to the old server, correct?

If you do, then you can have cPanel make the backup, which stores the backup in your directory structure,m then use scp to copy it to the new one.

If you are in a shared environment though, not sure how they are going to feel about your moving a 10 GB file at all.

You can contact me if you want some specific help on this. I have moved a number of large sites in some creative ways.
 

cdrake

Member
Feb 5, 2004
19
0
151
I do have shell access on the old server. I am moving from one dedi to another. I was able to use scp to tranfser. Thanks for all your help!
 

ehpmahesh

Well-Known Member
Jul 3, 2004
74
0
156
I transfered entire server from one DC to another DC using WHM with out any problem. You can use "Copy an account from another server with account password" option from WHM to transfer your domain. If it is not working then scp is better option to do this. But scp will not copy all your packages bandwidth limit and account details which is created by cpanel while creating a account.
 

ramprage

Well-Known Member
Jul 21, 2002
651
0
166
Canada
You can always try an FTP FXP transfer if the servers support it. basically it transfers using FTP from one server to another directly without you having to download it locally.