Operating System: CentOS 5
Processor: Intel Pentium 4 - 3.0 GHz
RAM: 1 GB
Total Disk Space: 120 GB
RAID: None
Bandwidth Quota: 500 GB
My server recently crashed and now I'm reprovisioning a new hard drive.
I paid the 150 USD to have a USB enclosure of the old hard drive.
How do I perform the following?
Export mysql from the websites on the hard drive?
EDIT: I found it.
EXPORT
IMPORTCode:# mysqldump -u username -ppassword database_name > FILE.sql
BUT Where does this stuff get exported to?Code:# mysql -u username -ppassword database_name < FILE.sql
How do I move it from the old hard drive to the new one?
So far I understand I have to mount the hard drive on to my new hard drive.
I can use all the help if anyone has some free hanging around and helping time.Code:mkdir /olddrive mount /dev/sdb3 /olddrive
I figure if I can get help with the first website the other 8 will be no problem...

LinkBack URL
About LinkBacks





Reply With Quote








Bookmarks