Forum Moderators: phranque
I need to move a website with a lot of large images to a new server. It would be a great time saver if I could transfer the site from the current server directly to the new server....bypassing my pc. Is there a script I can install on one server or the other that can do this? I've tried to find one with no luck. I appreciate any help.
Thanks!
1) Use tar + (s)ftp. tar wraps up an entire directory (including its sub directories) similar to what zip does. Then you FTP or SFTP the tar file to the other server. After that, untar it on the new server and it will recreate the directory structure with all the files.
2) scp. Stands for secure copy. Use the -r flag to copy directories recursively.
3) rsync.
As always, check the man pages and test first.