Help - Search - Members - Calendar
Full Version: the bestway transfer large website to the new one
The Planet Forums > Control Panels > cPanel/WHM
joshua39
guys, i read lots of instruction of moving a site from one server to another server.
but i still dont know what's the best way to do it.

what should I do if the site is so BIG.. 2 gig files and then 1.2 gig database (mysql)

for your information both server using cpanel
Shortfork
QUOTE
Originally posted by joshua39
guys, i read lots of instruction of moving a site from one server to another server.
but i still dont know what's the best way to do it.

what should I do if the site is so BIG.. 2 gig files and then 1.2 gig database (mysql)

for your information both server using cpanel
Not totally sure of the layout of Cpanel but if I personally were going to move that much stuff from one box to another,

at command line in the old box,

tar cvfz whateveryouwanttonameit.tar /path/to/your/public/web/folder/nameoffolder/

mv whateveryouwantomaneittar /path/to/your/public/web/folder/nameoffolder/whateveryouwanttonameit.tar

cd /path/to/your/public/web/folder/nameoffolder/

chown oldserveradminname:oldserveradminname

then log into your new box, cd to the folder one level up from your new web folder...

wget http://domainname.ext/whateveryouwanttonameit.tar

rm publicwebfoldername

tar xvfz whateveryouwanttonameit.tar

mv whateveryouwanttonameit whatthepublicwebfolderisnamedonnewserver

chown -R newadminname:newadminname whateverthe publicwebfolderisonnewserver

That works for me... hope it's not too confusing...

Shortzz
joshua39
how about the database ? (mysql)
Shortfork
QUOTE
Originally posted by joshua39
how about the database ? (mysql)
that'd be the standard mysqldump command string... though, not looking at my cheat sheet at the moment, I can't remember it..

search for mysqldump and you should find it..

Shortzz
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.