Forum Moderators: phranque

Message Too Old, No Replies

Moving Website

Is there a script?

         

JoshS

4:26 pm on Dec 15, 2003 (gmt 0)

10+ Year Member



Hi,

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!

divaone

4:32 pm on Dec 15, 2003 (gmt 0)

10+ Year Member



hmmm yeah.. theres a script that will transfer files server to server. i seriously have never had a use for it but i do know you can find it at cgi.resourceindex.com. try searching for ftp or transfer or server.

im sure there are executable progs out there as well.

JoshS

5:05 pm on Dec 15, 2003 (gmt 0)

10+ Year Member



Found one on that site...was hoping to find a free script, though :) Thanks, divaone...I've bookmarked it incase I can't find anything else!

Mardi_Gras

5:09 pm on Dec 15, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I think some FTP programs will do server-to-server transfers. You might want to check out that option.

jamesa

5:25 pm on Dec 15, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Unix to Unix? Got shell? No script necessary. Here's a few ways you can look into:

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.