June 1, 2007
rsync: copying from one server to another
I have around 600 mb’s of html/php files I need to copy from one server to another. I can either download all of them and then re-upload, or figure out how to get the two servers to talk directly to each other. ftp doesnt offer recursive copying of subdirectories, but if my destination server supports ssh and my source server ftp, I could use this script (which needs the Korn shell). Luckily both servers have rsync installed (thank you linux!) and allow me ssh access so I ran this command on the destination server:
rsync is a very useful utility which functions excellently when used for backup. It uses an algorithm to determine what parts of a file have changed, and only sends the changed parts across (optionally compressed) which is a great bandwidth saver.
I also could have created a tar archive and copied that across (using ftp or rsync):
ftpsync is a perl script which syncronises a local directory tree with a remote one.
At some point I’ll probably get around to automating full site backups using rsync.
Technorati Tags: rsync
Comments(2)
Roger Saner is a web platform developer (using 

Underage teenage porn pics.
Underage porn. Brutal underage fucking porn. Free underage porn pictures. Underage teen porn. Young porn underage between ages 13-16.
Cheapest cialis….
Cialis american pharmacy. Buy cialis phentermine. Buy cialis. Cialis best price buy online. Cialis….