![]() |
server to server ftp client?
Is there a way to ftp from one server to the next instead of downloading onto local & then ftp back up to next server. I use core ftp, can I do it with this somehow, or do I need to buy another ftp client
|
Depends on your servers to be honest. If you have shell access it should be easy enough to do.
www.CuteFTP.com also has built-in functions to facilitiate this on compatible servers. |
Yep,
You can use "FXP" or more commonly, just login to ssh and ftp from one server to the other like so: shell> ftp theotherserver.com user: somebody password: ******* To learn how to use it, visit the following URL's: This is a windows example, but the commands are the same. http://www.tburke.net/info/misc/cmdline-ftp.htm Heres a good overview: http://www.ucc.ie/doc/other/howtoftp.html Note: The ftp client and server programs already exist on your servers. Also, you could use scp. :-) My personal favorite.... Do it like this: cd into the directory where your source files are... cd /home/someshit then scp -Cpr * [email protected]:/home/somepath/tosomeshit the system will ask you for the password to the other box and voila, it copies. :-) |
Quote:
|
Quote:
ok, now that this parts getting done, now I ned to learn how to move mySql databases without fucking up the info... |
Grab a server here, I will teach you those things and do the inital stuff for you, while at the same time show you how to do it so you learn to be muy chingon. :-)
|
If the versions of mysql are compatible on each server....
you can: cd /var/lib/mysql then use that scp command above I showed you and scp it over to the other server in the same place. On the destination server, first do this: mv /var/lib/mysql /var/lib/mysql_new_original that moves the fresh install data out of the way Next make the directory again: mkdir /var/lib/mysql (make sure the permissions are the same as the original mysql directory) ls -la /var/lib/mysql_new_original will show you the proper permissions. NOTE: before moving it over... stop mysql on both servers... typically: service mysqld stop |
Notice: there *are* better ways to do this via mysqldump and etc, but thats beyond the scope of whats easy to explain. ;-)
|
rsync 4L
|
FlashFXP...
|
Quote:
|
Simply do it through SSH.
tar cfp - SOURCE_DIRECTORY/ | ssh root@your_ip_address cd /DESTINATION_DIRECTORY/ ; tar xf - That'll do the current directory, recurrsive, and maintain all permissions. |
Quote:
|
flash fxp...
|
i use fxp, works great. i even paid for it, i like it so much.
|
| All times are GMT -7. The time now is 11:43 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123