calvinnguyen
Fri 12th Mar '04, 3:25am
I get successful to backup by follow this command
mysqldump --opt -upoorguy -p poorguys > /home/asian/dump.sql
my /path/to is.../home/asian/
At step Two when I do the command prompt type:
cd /home/asian/
what is yourbackupdirectory? I really don't know yourbackupdirector location
So far I fail, Step Two - Transfer to new server
Telnet/SSH into machine1, and from the command prompt type the following:
cd /path/to/yourbackupdirectory
Then type
ftp MACHINE2
Replace MACHINE2 with the host name (eg. www.example.com ) or IP address (eg. 192.168.0.0 ) of your new server. This should open a connection and ask for your username/password, then it should say ftp>
Type the following, hitting enter after each line:
bin
cd /path/to/newdirectory
put dump.sql
Can anyone explan more details or give example so I can understand this step.
mysqldump --opt -upoorguy -p poorguys > /home/asian/dump.sql
my /path/to is.../home/asian/
At step Two when I do the command prompt type:
cd /home/asian/
what is yourbackupdirectory? I really don't know yourbackupdirector location
So far I fail, Step Two - Transfer to new server
Telnet/SSH into machine1, and from the command prompt type the following:
cd /path/to/yourbackupdirectory
Then type
ftp MACHINE2
Replace MACHINE2 with the host name (eg. www.example.com ) or IP address (eg. 192.168.0.0 ) of your new server. This should open a connection and ask for your username/password, then it should say ftp>
Type the following, hitting enter after each line:
bin
cd /path/to/newdirectory
put dump.sql
Can anyone explan more details or give example so I can understand this step.